Class SpatialData
java.lang.Object
com.pixelmonmod.pixelmon.api.spawning.util.SpatialData
A collection of information about an area.
-
Field Summary
Modifier and TypeFieldDescriptionnet.minecraft.world.level.block.Block
The base block of the area.int
The diameter of space at the location.Set<net.minecraft.world.level.block.Block>
A list of all distinct blocks within the diameter of the base block. -
Constructor Summary
ConstructorDescriptionSpatialData
(int radius, net.minecraft.world.level.block.Block baseBlock, Set<net.minecraft.world.level.block.Block> uniqueSurroundingBlocks) -
Method Summary
-
Field Details
-
radius
public int radiusThe diameter of space at the location. -
baseBlock
public net.minecraft.world.level.block.Block baseBlockThe base block of the area. -
uniqueSurroundingBlocks
A list of all distinct blocks within the diameter of the base block.
-
-
Constructor Details
-
SpatialData
public SpatialData(int radius, net.minecraft.world.level.block.Block baseBlock, Set<net.minecraft.world.level.block.Block> uniqueSurroundingBlocks)
-