Class CountPlacement
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.RepeatingPlacement
net.minecraft.world.level.levelgen.placement.CountPlacement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<CountPlacement> private final IntProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
count
(RandomSource p_226333_, BlockPos p_226334_) static CountPlacement
of
(int p_191629_) static CountPlacement
of
(IntProvider p_191631_) type()
Methods inherited from class net.minecraft.world.level.levelgen.placement.RepeatingPlacement
getPositions
-
Field Details
-
CODEC
-
count
-
-
Constructor Details
-
CountPlacement
-
-
Method Details
-
of
-
of
-
count
- Specified by:
count
in classRepeatingPlacement
-
type
- Specified by:
type
in classPlacementModifier
-