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

public class RandomSpreadStructurePlacement

extends StructurePlacement

dwd
net.minecraft.world.level.levelgen.structure.placement.RandomSpreadStructurePlacement
net.minecraft.class_6872
net.minecraft.world.gen.chunk.placement.RandomSpreadStructurePlacement
net.minecraft.src.C_203219_
net.minecraft.world.level.levelgen.structure.placement.RandomSpreadStructurePlacement

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RandomSpreadStructurePlacement>
a
CODEC
field_36420
CODEC
f_204972_
private final int
c
spacing
field_37772
spacing
f_204973_
private final int
d
separation
field_37773
separation
f_204974_
private final RandomSpreadType
e
spreadType
field_37774
spreadType
f_204975_

Constructor summary

ModifierConstructor
public (Vec3i locateOffset, StructurePlacement$FrequencyReductionMethod frequencyReductionMethod, float frequency, int salt, Optional<StructurePlacement$ExclusionZone> exclusionZone, int spacing, int separation, RandomSpreadType spreadType)
public (int spacing, int separation, RandomSpreadType spreadType, int salt)

Method summary

Modifier and TypeMethod
private static com.mojang.serialization.DataResult<RandomSpreadStructurePlacement>
a(dwd arg0)
validate(RandomSpreadStructurePlacement arg0)
method_51720(class_6872 arg0)
validate(RandomSpreadStructurePlacement structurePlacement)
m_285838_(C_203219_ p_286361_)
public int
a()
spacing()
method_41632()
getSpacing()
m_205003_()
public int
b()
separation()
method_41633()
getSeparation()
m_205004_()
public RandomSpreadType
c()
spreadType()
method_41634()
getSpreadType()
m_205005_()
public ChunkPos
a(long arg0, int arg1, int arg2)
getPotentialStructureChunk(long arg0, int arg1, int arg2)
method_40169(long arg0, int arg1, int arg2)
getStartChunk(long seed, int chunkX, int chunkZ)
m_227008_(long p_227010_, int arg1, int arg2)
protected boolean
a(dhh arg0, int arg1, int arg2)
isPlacementChunk(ChunkGeneratorStructureState arg0, int arg1, int arg2)
method_40168(class_7869 arg0, int arg1, int arg2)
isStartChunk(StructurePlacementCalculator arg0, int arg1, int arg2)
m_214090_(C_254614_ p_256050_, int p_255975_, int arg2)
public StructurePlacementType<?>
e()
type()
method_40166()
getType()
m_203443_()