net.minecraft.world.level.levelgen.placement

public class RandomOffsetPlacement

extends PlacementModifier

ent
net.minecraft.world.level.levelgen.placement.RandomOffsetPlacement
net.minecraft.class_6732
net.minecraft.world.gen.placementmodifier.RandomOffsetPlacementModifier
net.minecraft.world.level.levelgen.placement.RandomOffsetPlacement

Field summary

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

Constructor summary

ModifierConstructor
private (IntProvider xzSpread, IntProvider ySpread)

Method summary

Modifier and TypeMethod
public static RandomOffsetPlacement
a(bso arg0, bso arg1)
of(IntProvider arg0, IntProvider arg1)
method_39657(class_6017 arg0, class_6017 arg1)
of(IntProvider spreadXz, IntProvider spreadY)
public static RandomOffsetPlacement
a(bso arg0)
vertical(IntProvider arg0)
method_39656(class_6017 arg0)
vertically(IntProvider spreadY)
public static RandomOffsetPlacement
b(bso arg0)
horizontal(IntProvider arg0)
method_39658(class_6017 arg0)
horizontally(IntProvider spreadXz)
public Stream<BlockPos>
a_(enp arg0, bam arg1, jh 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)
public PlacementModifierType<?>
b()
type()
method_39615()
getType()