类 BooleanProperty
- java.lang.Object
-
- net.minecraft.state.property.Property<Boolean>
-
- net.minecraft.state.property.BooleanProperty
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.state.property.Property
Property.Value<T extends Comparable<T>>
-
-
字段概要
字段 修饰符和类型 字段 说明 private ImmutableSet<Boolean>values
-
构造器概要
构造器 限定符 构造器 说明 protectedBooleanProperty(String name)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 intcomputeHashCode()booleanequals(Object o)Collection<Boolean>getValues()Returns all possible values the property can take.Stringname(Boolean bool)static BooleanPropertyof(String name)Optional<Boolean>parse(String name)-
从类继承的方法 net.minecraft.state.property.Property
createValue, createValue, getCodec, getName, getType, getValueCodec, hashCode, method_35307, stream, toString
-
-
-
-
字段详细资料
-
values
private final ImmutableSet<Boolean> values
- Mappings:
Namespace Name Mixin selector official aLcki;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;
-
-
构造器详细资料
-
BooleanProperty
protected BooleanProperty(String name)
- Mappings:
Namespace Name Mixin selector official <init>Lcki;<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
-
-
方法详细资料
-
getValues
public Collection<Boolean> getValues()
Returns all possible values the property can take.
-
of
public static BooleanProperty of(String name)
- Mappings:
Namespace Name Mixin selector official aLcki;a(Ljava/lang/String;)Lcki;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
public Optional<Boolean> parse(String name)
- 指定者:
parse在类中Property<Boolean>- Mappings:
Namespace Name Mixin selector official bLcku;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
public String name(Boolean bool)
- 指定者:
name在类中Property<Boolean>- Mappings:
Namespace Name Mixin selector official aLcki;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
public boolean equals(Object o)
-
computeHashCode
public int computeHashCode()
- 覆盖:
computeHashCode在类中Property<Boolean>- Mappings:
Namespace Name Mixin selector official bLcku;b()Iintermediary method_11799Lnet/minecraft/class_2769;method_11799()Inamed computeHashCodeLnet/minecraft/state/property/Property;computeHashCode()I
-
-