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

public class RandomSpreadStructurePlacement

extends StructurePlacement

dlw
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
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(cxk arg0, dbf arg1, long arg2, int arg3, int arg4)
isPlacementChunk(ChunkGenerator arg0, RandomState arg1, long arg2, int arg3, int arg4)
method_40168(class_2794 arg0, class_7138 arg1, long arg2, int arg3, int arg4)
isStartChunk(ChunkGenerator arg0, NoiseConfig arg1, long arg2, int arg3, int arg4)
m_214090_(C_2118_ p_227014_, C_213138_ p_227015_, long p_227016_, int arg3, int arg4)
public StructurePlacementType<?>
e()
type()
method_40166()
getType()
m_203443_()