Class PlacementModifier
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
- Direct Known Subclasses:
CarvingMaskPlacement
,CountOnEveryLayerPlacement
,EnvironmentScanPlacement
,HeightmapPlacement
,HeightRangePlacement
,InSquarePlacement
,PlacementFilter
,RandomOffsetPlacement
,RepeatingPlacement
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPositions
(PlacementContext p_226389_, RandomSource p_226390_, BlockPos p_226391_) abstract PlacementModifierType
<?> type()
-
Field Details
-
CODEC
-
-
Constructor Details
-
PlacementModifier
public PlacementModifier()
-
-
Method Details
-
getPositions
public abstract Stream<BlockPos> getPositions(PlacementContext p_226389_, RandomSource p_226390_, BlockPos p_226391_) -
type
-