BlockState
s 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
BlockType s 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
BooleanTrait s that are known to exist in
vanilla minecraft. |
EnumTraits |
Represents all possible
EnumTrait s that are known to exist in
vanilla minecraft. |
IntegerTraits |
Represents all possible
IntegerTrait s that are known to exist in
vanilla minecraft. |
BlockState
s 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.