Package net.minecraft.state.property
Class BooleanProperty
public class BooleanProperty extends Property<Boolean>
- Mappings:
Namespace Name official cikintermediary net/minecraft/class_2746named net/minecraft/state/property/BooleanProperty
-
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 protectedBooleanProperty(String name) -
Method Summary
Methods inherited from class net.minecraft.state.property.Property
createValue, createValue, getName, getType, getValueCodec, hashCode, stream, toString
-
Field Details
-
values
- Mappings:
Namespace Name Mixin selector official aLcik;a:Lcom/google/common/collect/ImmutableSet;intermediary field_12575Lnet/minecraft/class_2746;field_12575:Lcom/google/common/collect/ImmutableSet;named valuesLnet/minecraft/state/property/BooleanProperty;values:Lcom/google/common/collect/ImmutableSet;
-
-
Constructor Details
-
BooleanProperty
- Mappings:
Namespace Name Mixin selector official <init>Lcik;<init>(Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_2746;<init>(Ljava/lang/String;)Vnamed <init>Lnet/minecraft/state/property/BooleanProperty;<init>(Ljava/lang/String;)V
-
-
Method Details
-
getValues
Returns all possible values the property can take.- Specified by:
getValuesin classProperty<Boolean>- Mappings:
Namespace Name Mixin selector official aLciw;a()Ljava/util/Collection;intermediary method_11898Lnet/minecraft/class_2769;method_11898()Ljava/util/Collection;named getValuesLnet/minecraft/state/property/Property;getValues()Ljava/util/Collection;
-
of
- Mappings:
Namespace Name Mixin selector official aLcik;a(Ljava/lang/String;)Lcik;intermediary method_11825Lnet/minecraft/class_2746;method_11825(Ljava/lang/String;)Lnet/minecraft/class_2746;named ofLnet/minecraft/state/property/BooleanProperty;of(Ljava/lang/String;)Lnet/minecraft/state/property/BooleanProperty;
-
parse
- Specified by:
parsein classProperty<Boolean>- Mappings:
Namespace Name Mixin selector official bLciw;b(Ljava/lang/String;)Ljava/util/Optional;intermediary method_11900Lnet/minecraft/class_2769;method_11900(Ljava/lang/String;)Ljava/util/Optional;named parseLnet/minecraft/state/property/Property;parse(Ljava/lang/String;)Ljava/util/Optional;
-
name
- Specified by:
namein classProperty<Boolean>- Mappings:
Namespace Name Mixin selector official aLcik;a(Ljava/lang/Boolean;)Ljava/lang/String;intermediary method_11826Lnet/minecraft/class_2746;method_11826(Ljava/lang/Boolean;)Ljava/lang/String;named nameLnet/minecraft/state/property/BooleanProperty;name(Ljava/lang/Boolean;)Ljava/lang/String;
-
equals
-
computeHashCode
public int computeHashCode()- Overrides:
computeHashCodein classProperty<Boolean>- Mappings:
Namespace Name Mixin selector official bLciw;b()Iintermediary method_11799Lnet/minecraft/class_2769;method_11799()Inamed computeHashCodeLnet/minecraft/state/property/Property;computeHashCode()I
-