Class CountOnEveryLayerPlacement
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.CountOnEveryLayerPlacement
Deprecated.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<CountOnEveryLayerPlacement> Deprecated.private final IntProvider
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static int
findOnGroundYPosition
(PlacementContext pContext, int pX, int pY, int pZ, int pCount) Deprecated.getPositions
(PlacementContext p_226329_, RandomSource p_226330_, BlockPos p_226331_) Deprecated.private static boolean
isEmpty
(BlockState pState) Deprecated.static CountOnEveryLayerPlacement
of
(int pCount) Deprecated.static CountOnEveryLayerPlacement
of
(IntProvider pCount) Deprecated.type()
Deprecated.
-
Field Details
-
CODEC
Deprecated. -
count
Deprecated.
-
-
Constructor Details
-
CountOnEveryLayerPlacement
Deprecated.
-
-
Method Details
-
of
Deprecated. -
of
Deprecated. -
getPositions
public Stream<BlockPos> getPositions(PlacementContext p_226329_, RandomSource p_226330_, BlockPos p_226331_) Deprecated.- Specified by:
getPositions
in classPlacementModifier
-
type
Deprecated.- Specified by:
type
in classPlacementModifier
-
findOnGroundYPosition
private static int findOnGroundYPosition(PlacementContext pContext, int pX, int pY, int pZ, int pCount) Deprecated. -
isEmpty
Deprecated.
-