Class InSquarePlacement
java.lang.Object
net.minecraft.world.level.levelgen.placement.PlacementModifier
net.minecraft.world.level.levelgen.placement.InSquarePlacement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<InSquarePlacement>
private static final InSquarePlacement
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPositions
(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) static InSquarePlacement
spread()
type()
-
Field Details
-
INSTANCE
-
CODEC
-
-
Constructor Details
-
InSquarePlacement
public InSquarePlacement()
-
-
Method Details
-
spread
-
getPositions
public Stream<BlockPos> getPositions(PlacementContext p_226348_, RandomSource p_226349_, BlockPos p_226350_) - Specified by:
getPositions
in classPlacementModifier
-
type
- Specified by:
type
in classPlacementModifier
-