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

public class RandomSpreadStructurePlacement

extends StructurePlacement

eoi
net.minecraft.world.level.levelgen.structure.placement.RandomSpreadStructurePlacement
net.minecraft.class_6872
net.minecraft.world.gen.chunk.placement.RandomSpreadStructurePlacement
net.minecraft.world.level.levelgen.structure.placement.RandomSpreadStructurePlacement

Field summary

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

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(eoi arg0)
validate(RandomSpreadStructurePlacement arg0)
method_51720(class_6872 arg0)
validate(RandomSpreadStructurePlacement structurePlacement)
public int
a()
spacing()
method_41632()
getSpacing()
public int
b()
separation()
method_41633()
getSeparation()
public RandomSpreadType
c()
spreadType()
method_41634()
getSpreadType()
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)
protected boolean
a(dyv 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)
public StructurePlacementType<?>
e()
type()
method_40166()
getType()