Interface IDhApiBlockStateWrapper
- All Superinterfaces:
IDhApiUnsafeWrapper
A Minecraft version independent way of handling Blocks.
- Since:
- API 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbyte
Returns the byte value representing theEDhApiBlockMaterial
enum.Returns the full serialized form of the given block as defined by DH's serialization methods.boolean
isAir()
boolean
isLiquid()
boolean
isSolid()
Methods inherited from interface com.seibel.distanthorizons.api.interfaces.IDhApiUnsafeWrapper
getWrappedMcObject
-
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 theEDhApiBlockMaterial
enum.- Since:
- API 3.0.0
- See Also:
-