Class BlockCollection

java.lang.Object
com.pixelmonmod.pixelmon.api.world.BlockCollection

public class BlockCollection extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.world.entity.Entity
     
    final int
     
    final int
     
    final int
     
    final int
     
    final int
     
    final int
     
    final net.minecraft.world.level.Level
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Summary

    Modifier and Type
    Method
    Description
    net.minecraft.core.Holder<net.minecraft.world.level.biome.Biome>
    getBiome(int x, int y, int z)
     
    net.minecraft.world.level.block.Block
    getBlock(int x, int y, int z)
     
    net.minecraft.world.level.block.state.BlockState
    getBlockState(int x, int y, int z)
     
    int
    getHeighestBlock(int x, int z)
     
    int
    getLight(int x, int y, int z)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)