Class BlockCollection
java.lang.Object
com.pixelmonmod.pixelmon.api.world.BlockCollection
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockCollection(net.minecraft.world.entity.Entity cause, net.minecraft.world.level.Level world, int minX, int maxX, int minY, int maxY, int minZ, int maxZ) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.Holder<net.minecraft.world.level.biome.Biome> getBiome(int x, int y, int z) net.minecraft.world.level.block.BlockgetBlock(int x, int y, int z) net.minecraft.world.level.block.state.BlockStategetBlockState(int x, int y, int z) intgetHeighestBlock(int x, int z) intgetLight(int x, int y, int z)
-
Field Details
-
cause
public final net.minecraft.world.entity.Entity cause -
world
public final net.minecraft.world.level.Level world -
minX
public final int minX -
maxX
public final int maxX -
minY
public final int minY -
maxY
public final int maxY -
minZ
public final int minZ -
maxZ
public final int maxZ
-
-
Constructor Details
-
BlockCollection
public BlockCollection(net.minecraft.world.entity.Entity cause, net.minecraft.world.level.Level world, int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
-
-
Method Details
-
getBlock
public net.minecraft.world.level.block.Block getBlock(int x, int y, int z) -
getLight
public int getLight(int x, int y, int z) -
getHeighestBlock
public int getHeighestBlock(int x, int z) -
getBlockState
@Nullable public net.minecraft.world.level.block.state.BlockState getBlockState(int x, int y, int z) -
getBiome
public net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome> getBiome(int x, int y, int z)
-