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

public record RandomSpreadStructurePlacement

implements StructurePlacement

dge
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
private final int
c
spacing
comp_340
spacing
f_204973_
private final int
d
separation
comp_341
separation
f_204974_
private final RandomSpreadType
e
spreadType
comp_342
spreadType
f_204975_
private final int
f
salt
comp_343
salt
f_204976_
private final Vec3i
g
locateOffset
comp_344
locateOffset
f_204977_
public static final com.mojang.serialization.Codec<RandomSpreadStructurePlacement>
a
CODEC
field_36420
CODEC
f_204972_

Constructor summary

ModifierConstructor
public (int spacing, int separation, RandomSpreadType spreadType, int salt)
public (int f_204974_, int f_204975_, RandomSpreadType f_204976_, int f_204977_, Vec3i arg4)

Method summary

Modifier and TypeMethod
public ChunkPos
a(long arg0, int arg1, int arg2)
getPotentialFeatureChunk(long arg0, int arg1, int arg2)
method_40169(long arg0, int arg1, int arg2)
getStartChunk(long seed, int x, int z)
m_204991_(long p_204993_, int arg1, int arg2)
public boolean
a(cqr arg0, long arg1, int arg2, int arg3)
isFeatureChunk(ChunkGenerator arg0, long arg1, int arg2, int arg3)
method_40168(class_2794 arg0, long arg1, int arg2, int arg3)
isStartChunk(ChunkGenerator arg0, long arg1, int arg2, int arg3)
m_212129_(C_2118_ p_212316_, long p_212317_, int arg2, int arg3)
public StructurePlacementType<?>
a()
type()
method_40166()
getType()
m_203443_()
public int
b()
spacing()
comp_340()
spacing()
f_204973_()
public int
c()
separation()
comp_341()
separation()
f_204974_()
public RandomSpreadType
d()
spreadType()
comp_342()
spreadType()
f_204975_()
public int
e()
salt()
comp_343()
salt()
f_204976_()
public Vec3i
f()
locateOffset()
comp_344()
locateOffset()
f_204977_()