Class BlockState
java.lang.Object
org.geysermc.geyser.level.block.type.BlockState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionblock()boolean<T extends Comparable<T>>
T<T extends Comparable<T>>
T<T extends Comparable<T>>
TgetValueNullable(Property<T> property) booleanintjavaId()static BlockStateof(int javaId) toString()<T extends Comparable<T>>
BlockState
-
Constructor Details
-
BlockState
-
-
Method Details
-
getValue
-
getValueNullable
-
getValue
-
getValue
-
withValue
- Returns:
- the
BlockStateinstance with the given value.
-
block
-
javaId
public int javaId() -
is
-
toString
-
of
-