net.minecraft.world.level.levelgen.placement

public class HeightRangePlacement

extends PlacementModifier

enj
net.minecraft.world.level.levelgen.placement.HeightRangePlacement
net.minecraft.class_6795
net.minecraft.world.gen.placementmodifier.HeightRangePlacementModifier
net.minecraft.world.level.levelgen.placement.HeightRangePlacement

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<HeightRangePlacement>
a
CODEC
field_35725
MODIFIER_CODEC
private final HeightProvider
c
height
field_35726
height

Constructor summary

ModifierConstructor
private (HeightProvider height)

Method summary

Modifier and TypeMethod
public static HeightRangePlacement
a(emr arg0)
of(HeightProvider arg0)
method_39635(class_6122 arg0)
of(HeightProvider height)
public static HeightRangePlacement
a(eek arg0, eek arg1)
uniform(VerticalAnchor arg0, VerticalAnchor arg1)
method_39634(class_5843 arg0, class_5843 arg1)
uniform(YOffset minOffset, YOffset maxOffset)
public static HeightRangePlacement
b(eek arg0, eek arg1)
triangle(VerticalAnchor arg0, VerticalAnchor arg1)
method_39637(class_5843 arg0, class_5843 arg1)
trapezoid(YOffset minOffset, YOffset maxOffset)
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()