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 IntProviderDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static intfindOnGroundYPosition(PlacementContext context, int xStart, int yStart, int zStart, int layerToPlaceOn) Deprecated.getPositions(PlacementContext context, RandomSource random, BlockPos origin) Deprecated.private static booleanisEmpty(BlockState blockState) Deprecated.static CountOnEveryLayerPlacementof(int count) Deprecated.static CountOnEveryLayerPlacementof(IntProvider count) 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 context, RandomSource random, BlockPos origin) Deprecated.- Specified by:
getPositionsin classPlacementModifier
-
type
-
findOnGroundYPosition
private static int findOnGroundYPosition(PlacementContext context, int xStart, int yStart, int zStart, int layerToPlaceOn) Deprecated. -
isEmpty
Deprecated.
-