Interface IDhApiBlockStateWrapper

All Superinterfaces:
IDhApiUnsafeWrapper

public interface IDhApiBlockStateWrapper extends IDhApiUnsafeWrapper
A Minecraft version independent way of handling Blocks.
Since:
API 1.0.0
  • Method Details

    • isAir

      boolean isAir()
      Since:
      API 1.0.0
    • isSolid

      boolean isSolid()
      Since:
      API 1.0.0
    • isLiquid

      boolean isLiquid()
      Since:
      API 1.0.0
    • getSerialString

      String getSerialString()
      Returns the full serialized form of the given block as defined by DH's serialization methods.
      Since:
      API 3.0.0
    • getMaterialId

      byte getMaterialId()
      Returns the byte value representing the EDhApiBlockMaterial enum.
      Since:
      API 3.0.0
      See Also: