Package net.minecraft.state.property
Class BooleanProperty
public class BooleanProperty extends Property<Boolean>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.state.property.Property
Property.Value<T extends Comparable<T>>
-
Field Summary
Fields Modifier and Type Field Description private ImmutableSet<Boolean>
values
-
Constructor Summary
Constructors Modifier Constructor Description protected
BooleanProperty(String name)
-
Method Summary
Methods inherited from class net.minecraft.state.property.Property
createValue, createValue, getName, getType, getValueCodec, hashCode, stream, toString
-
Field Details
-
values
-
-
Constructor Details
-
BooleanProperty
-
-
Method Details
-
getValues
Returns all possible values the property can take. -
of
-
parse
-
name
-
equals
-
computeHashCode
public int computeHashCode()- Overrides:
computeHashCode
in classProperty<Boolean>
-