Package net.minecraft.state.property
Class IntProperty
public class IntProperty extends AbstractProperty<Integer>
- Mappings:
Namespace Name official amnintermediary net/minecraft/class_391named net/minecraft/state/property/IntProperty
-
Field Summary
Fields Modifier and Type Field Description private ImmutableSet<Integer>values -
Constructor Summary
Constructors Modifier Constructor Description protectedIntProperty(String name, int min, int max) -
Method Summary
Methods inherited from class net.minecraft.state.property.AbstractProperty
getName, getType, toString
-
Field Details
-
values
- Mappings:
Namespace Name Mixin selector official aLamn;a:Lcom/google/common/collect/ImmutableSet;intermediary field_1543Lnet/minecraft/class_391;field_1543:Lcom/google/common/collect/ImmutableSet;named valuesLnet/minecraft/state/property/IntProperty;values:Lcom/google/common/collect/ImmutableSet;
-
-
Constructor Details
-
IntProperty
- Mappings:
Namespace Name Mixin selector official <init>Lamn;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_391;<init>(Ljava/lang/String;II)Vnamed <init>Lnet/minecraft/state/property/IntProperty;<init>(Ljava/lang/String;II)V
-
-
Method Details
-
getValues
- Mappings:
Namespace Name Mixin selector official cLamo;c()Ljava/util/Collection;intermediary method_1281Lnet/minecraft/class_392;method_1281()Ljava/util/Collection;named getValuesLnet/minecraft/state/property/Property;getValues()Ljava/util/Collection;
-
equals
- Overrides:
equalsin classAbstractProperty<Integer>- Mappings:
Namespace Name Mixin selector official equalsLamj;equals(Ljava/lang/Object;)Zintermediary equalsLnet/minecraft/class_387;equals(Ljava/lang/Object;)Znamed equalsLnet/minecraft/state/property/AbstractProperty;equals(Ljava/lang/Object;)Z
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractProperty<Integer>- Mappings:
Namespace Name Mixin selector official hashCodeLamj;hashCode()Iintermediary hashCodeLnet/minecraft/class_387;hashCode()Inamed hashCodeLnet/minecraft/state/property/AbstractProperty;hashCode()I
-
of
- Mappings:
Namespace Name Mixin selector official aLamn;a(Ljava/lang/String;II)Lamn;intermediary method_1277Lnet/minecraft/class_391;method_1277(Ljava/lang/String;II)Lnet/minecraft/class_391;named ofLnet/minecraft/state/property/IntProperty;of(Ljava/lang/String;II)Lnet/minecraft/state/property/IntProperty;
-
name
- Mappings:
Namespace Name Mixin selector official aLamn;a(Ljava/lang/Integer;)Ljava/lang/String;intermediary method_1276Lnet/minecraft/class_391;method_1276(Ljava/lang/Integer;)Ljava/lang/String;named nameLnet/minecraft/state/property/IntProperty;name(Ljava/lang/Integer;)Ljava/lang/String;
-