Represents a variant of a Minecraft block. @since 1.0
| 11 | * @since 1.0 |
| 12 | */ |
| 13 | public interface BlockState { |
| 14 | /** |
| 15 | * Gets a {@linkplain Holder holder} of a {@linkplain BlockType block type} that this block state belongs to. |
| 16 | * |
| 17 | * @return the block type holder |
| 18 | * @since 1.0 |
| 19 | */ |
| 20 | @NonNull Holder<BlockType> blockType(); |
| 21 | |
| 22 | /** |
| 23 | * Gets a {@linkplain Map map} of properties of this block state. |
| 24 | * |
| 25 | * @return the map |
| 26 | * @since 1.0 |
| 27 | */ |
| 28 | @NonNull Map<String, String> properties(); |
| 29 | } |
no outgoing calls
no test coverage detected