Enum Class EmptyBlockReader

java.lang.Object
java.lang.Enum<EmptyBlockReader>
net.minecraft.world.EmptyBlockReader
All Implemented Interfaces:
Serializable, Comparable<EmptyBlockReader>, Constable, IBlockReader

public enum EmptyBlockReader extends Enum<EmptyBlockReader> implements IBlockReader
  • Enum Constant Details

  • Constructor Details

    • EmptyBlockReader

      private EmptyBlockReader()
  • Method Details

    • values

      public static EmptyBlockReader[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static EmptyBlockReader valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getBlockEntity

      @Nullable public TileEntity getBlockEntity(BlockPos p_175625_1_)
      Specified by:
      getBlockEntity in interface IBlockReader
    • getBlockState

      public BlockState getBlockState(BlockPos p_180495_1_)
      Specified by:
      getBlockState in interface IBlockReader
    • getFluidState

      public FluidState getFluidState(BlockPos p_204610_1_)
      Specified by:
      getFluidState in interface IBlockReader