add opacity to API block state wrapper
This commit is contained in:
+6
@@ -42,6 +42,12 @@ public interface IDhApiBlockStateWrapper extends IDhApiUnsafeWrapper
|
||||
/** @since API 1.0.0 */
|
||||
boolean isLiquid();
|
||||
|
||||
/**
|
||||
* Returns a value between 0 (fully transparent) and 16 (fully opaque).
|
||||
* @since 6.1.0
|
||||
*/
|
||||
int getOpacity();
|
||||
|
||||
/**
|
||||
* Returns the full serialized form of the given block
|
||||
* as defined by DH's serialization methods.
|
||||
|
||||
Reference in New Issue
Block a user