add opacity to API block state wrapper

This commit is contained in:
James Seibel
2026-04-23 07:41:51 -05:00
parent d9f3b31cc5
commit 66bba1c80a
@@ -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.