Interface IDhApiBlockStateWrapper
- All Superinterfaces:
IDhApiUnsafeWrapper
A Minecraft version independent way of handling Blocks.
- Since:
- API 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbyteReturns the byte value representing theEDhApiBlockMaterialenum.Returns the full serialized form of the given block as defined by DH's serialization methods.booleanisAir()booleanisLiquid()booleanisSolid()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 theEDhApiBlockMaterialenum.- Since:
- API 3.0.0
- See Also:
-