net.minecraft.world.level.levelgen.structure.placement

public abstract class StructurePlacement

ead
net.minecraft.world.level.levelgen.structure.placement.StructurePlacement
net.minecraft.class_6874
net.minecraft.unmapped.C_dzcnonip
net.minecraft.world.gen.chunk.placement.StructurePlacement
net.minecraft.structure.StructurePlacement
net.minecraft.src.C_203222_
net.minecraft.world.level.levelgen.structure.placement.StructurePlacement

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<StructurePlacement>
b
CODEC
field_36428
f_kxfcknke
TYPE_CODEC
CODEC
f_205036_
private static final int
a
HIGHLY_ARBITRARY_RANDOM_SALT
field_37775
f_dgusoyhh
ARBITRARY_SALT
RANDOM_SALT
f_227021_
private final Vec3i
c
locateOffset
field_37776
f_wxaplaju
locateOffset
locateOffset
f_227022_
private final StructurePlacement$FrequencyReductionMethod
d
frequencyReductionMethod
field_37777
f_wkdyvwzn
frequencyReductionMethod
frequencyReductionMethod
f_227023_
private final float
e
frequency
field_37778
f_eahqxmbz
frequency
frequency
f_227024_
private final int
f
salt
field_37779
f_sfsvsnbr
salt
salt
f_227025_
private final Optional<StructurePlacement$ExclusionZone>
g
exclusionZone
field_37780
f_oorujwkt
exclusionZone
exclusionZone
f_227026_

Constructor summary

ModifierConstructor
protected (Vec3i locateOffset, StructurePlacement$FrequencyReductionMethod frequencyReductionMethod, float frequency, int salt, Optional<StructurePlacement$ExclusionZone> exclusionZone)

Method summary

Modifier and TypeMethod
protected static <S extends StructurePlacement> com.mojang.datafixers.Products$P5<com.mojang.serialization.codecs.RecordCodecBuilder$Mu<S>, Vec3i, StructurePlacement$FrequencyReductionMethod, Float, Integer, Optional<StructurePlacement$ExclusionZone>>
a(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> arg0)
placementCodec(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> arg0)
method_41637(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> arg0)
m_jkdmfdcj(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> arg0)
buildCodec(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> instance)
placementCodec(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> instance)
m_227041_(com.mojang.serialization.codecs.RecordCodecBuilder$Instance<S> p_227042_)
protected Vec3i
f()
locateOffset()
method_41642()
m_qwwedmus()
getLocateOffset()
getLocateOffset()
m_227072_()
protected StructurePlacement$FrequencyReductionMethod
g()
frequencyReductionMethod()
method_41643()
m_sinhinpe()
getFrequencyReductionMethod()
getFrequencyReductionMethod()
m_227073_()
protected float
h()
frequency()
method_41644()
m_xohmwbuz()
getFrequency()
getFrequency()
m_227074_()
protected int
i()
salt()
method_41645()
m_ckmnujaj()
getSalt()
getSalt()
m_227075_()
protected Optional<StructurePlacement$ExclusionZone>
j()
exclusionZone()
method_41646()
m_ptflrtuv()
getExclusionZone()
getExclusionZone()
m_227076_()
public boolean
b(dlf arg0, int arg1, int arg2)
isStructureChunk(ChunkGeneratorStructureState arg0, int arg1, int arg2)
method_41639(class_7869 arg0, int arg1, int arg2)
m_nnxnqcxe(C_jibygqpu arg0, int arg1, int arg2)
shouldGenerate(StructurePlacementCalculator calculator, int chunkX, int chunkZ)
isStructureChunk(ConcentricRingPlacementCalculator concentricRingPlacementCalculator, int x, int z)
m_255071_(C_254614_ p_255959_, int p_256065_, int arg2)
protected abstract boolean
a(dlf arg0, int arg1, int arg2)
isPlacementChunk(ChunkGeneratorStructureState arg0, int arg1, int arg2)
method_40168(class_7869 arg0, int arg1, int arg2)
m_bcoykdyb(C_jibygqpu arg0, int arg1, int arg2)
isStartChunk(StructurePlacementCalculator calculator, int chunkX, int chunkZ)
isPlacementChunk(ConcentricRingPlacementCalculator concentricRingPlacementCalculator, int x, int z)
m_214090_(C_254614_ p_227046_, int p_227047_, int arg2)
public BlockPos
a(csw arg0)
getLocatePos(ChunkPos arg0)
method_41636(class_1923 arg0)
m_ifxfdxky(C_ynrszrtu arg0)
getLocatePos(ChunkPos chunkPos)
getLocatePos(ChunkPos chunkPos)
m_227039_(C_1560_ arg0)
public abstract StructurePlacementType<?>
e()
type()
method_40166()
m_yzmhznzg()
getType()
type()
m_203443_()
private static boolean
a(long arg0, int arg1, int arg2, int arg3, float arg4)
probabilityReducer(long arg0, int arg1, int arg2, int arg3, float arg4)
method_41635(long arg0, int arg1, int arg2, int arg3, float arg4)
m_yxstdjwj(long arg0, int arg1, int arg2, int arg3, float arg4)
defaultShouldGenerate(long seed, int salt, int chunkX, int chunkZ, float frequency)
frequencyReducer(long seed, int salt, int x, int z, float frequency)
m_227033_(long p_227034_, int p_227036_, int p_227037_, int p_227038_, float arg4)
private static boolean
b(long arg0, int arg1, int arg2, int arg3, float arg4)
legacyProbabilityReducerWithDouble(long arg0, int arg1, int arg2, int arg3, float arg4)
method_41638(long arg0, int arg1, int arg2, int arg3, float arg4)
m_buezqkly(long arg0, int arg1, int arg2, int arg3, float arg4)
legacyType3ShouldGenerate(long seed, int salt, int chunkX, int chunkZ, float frequency)
legacyFrequencyReducerWithDouble(long seed, int salt, int x, int z, float frequency)
m_227048_(long p_227049_, int p_227051_, int p_227052_, int p_227053_, float arg4)
private static boolean
c(long arg0, int arg1, int arg2, int arg3, float arg4)
legacyArbitrarySaltProbabilityReducer(long arg0, int arg1, int arg2, int arg3, float arg4)
method_41640(long arg0, int arg1, int arg2, int arg3, float arg4)
m_xsfgcgdv(long arg0, int arg1, int arg2, int arg3, float arg4)
legacyType2ShouldGenerate(long seed, int salt, int chunkX, int chunkZ, float frequency)
legacyArbitrarySaltFrequencyReducer(long seed, int salt, int x, int z, float frequency)
m_227060_(long p_227061_, int p_227063_, int p_227064_, int p_227065_, float arg4)
private static boolean
d(long arg0, int arg1, int arg2, int arg3, float arg4)
legacyPillagerOutpostReducer(long arg0, int arg1, int arg2, int arg3, float arg4)
method_41641(long arg0, int arg1, int arg2, int arg3, float arg4)
m_czumdukv(long arg0, int arg1, int arg2, int arg3, float arg4)
legacyType1ShouldGenerate(long seed, int salt, int chunkX, int chunkZ, float frequency)
legacyPillagerOutpostFrequencyReducer(long seed, int salt, int x, int z, float frequency)
m_227066_(long p_227067_, int p_227069_, int p_227070_, int p_227071_, float arg4)