net.minecraft.world.level.levelgen.placement

public class RandomOffsetPlacement

extends PlacementModifier

djo
net.minecraft.world.level.levelgen.placement.RandomOffsetPlacement
net.minecraft.class_6732
net.minecraft.world.gen.placementmodifier.RandomOffsetPlacementModifier
net.minecraft.src.C_183019_
net.minecraft.world.level.levelgen.placement.RandomOffsetPlacement

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RandomOffsetPlacement>
a
CODEC
field_35419
MODIFIER_CODEC
f_191870_
private final IntProvider
c
xzSpread
field_35420
spreadXz
f_191871_
private final IntProvider
d
ySpread
field_35421
spreadY
f_191872_

Constructor summary

ModifierConstructor
private (IntProvider xzSpread, IntProvider ySpread)

Method summary

Modifier and TypeMethod
public static RandomOffsetPlacement
a(ayr arg0, ayr arg1)
of(IntProvider arg0, IntProvider arg1)
method_39657(class_6017 arg0, class_6017 arg1)
of(IntProvider spreadXz, IntProvider spreadY)
m_191879_(C_141052_ p_191880_, C_141052_ p_191881_)
public static RandomOffsetPlacement
a(ayr arg0)
vertical(IntProvider arg0)
method_39656(class_6017 arg0)
vertically(IntProvider spreadY)
m_191877_(C_141052_ p_191878_)
public static RandomOffsetPlacement
b(ayr arg0)
horizontal(IntProvider arg0)
method_39658(class_6017 arg0)
horizontally(IntProvider spreadXz)
m_191891_(C_141052_ p_191892_)
public Stream<BlockPos>
a_(djk arg0, alu arg1, gt arg2)
getPositions(PlacementContext arg0, RandomSource arg1, BlockPos arg2)
method_14452(class_5444 arg0, class_5819 arg1, class_2338 arg2)
getPositions(FeaturePlacementContext arg0, Random arg1, BlockPos arg2)
m_213676_(C_183015_ p_226394_, C_212974_ p_226395_, C_4675_ arg2)
public PlacementModifierType<?>
b()
type()
method_39615()
getType()
m_183327_()