BlockStates such that the values that
are not directly supported by the API can still be represented with a
BlockTrait.See: Description
| Interface | Description |
|---|---|
| BlockTrait<T extends Comparable<T>> |
Represents a possible trait in a
BlockTypes BlockState. |
| BooleanTrait |
Represents a type of
BlockTrait that allows only Boolean of
which two possible values may exist: true and
false. |
| EnumTrait<E extends Enum<E>> |
Represents a type of
BlockTrait that accepts an unknown Enum
set of values. |
| IntegerTrait |
Represents a type of
BlockTrait that accepts Integer based
values, usually with a predefined range. |
| Class | Description |
|---|---|
| BooleanTraits |
Represents all possible
BooleanTraits that are known to exist in
vanilla minecraft. |
| EnumTraits |
Represents all possible
EnumTraits that are known to exist in
vanilla minecraft. |
| IntegerTraits |
Represents all possible
IntegerTraits that are known to exist in
vanilla minecraft. |
BlockStates such that the values that
are not directly supported by the API can still be represented with a
BlockTrait. Common cases where
support only through a BlockTrait is when mods are introduced
to the game, providing custom content and custom states.