Class IntProperty

java.lang.Object
net.minecraft.state.property.AbstractProperty
net.minecraft.state.property.IntProperty
All Implemented Interfaces:
Property

public class IntProperty extends AbstractProperty
Mappings:
Namespace Name
official bew
intermediary net/minecraft/class_2246
named net/minecraft/state/property/IntProperty
  • Field Details

    • values

      private final ImmutableSet values
      Mappings:
      Namespace Name Mixin selector
      official a Lbew;a:Lcom/google/common/collect/ImmutableSet;
      intermediary field_9927 Lnet/minecraft/class_2246;field_9927:Lcom/google/common/collect/ImmutableSet;
      named values Lnet/minecraft/state/property/IntProperty;values:Lcom/google/common/collect/ImmutableSet;
  • Constructor Details

    • IntProperty

      protected IntProperty(String name, int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbew;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_2246;<init>(Ljava/lang/String;II)V
      named <init> Lnet/minecraft/state/property/IntProperty;<init>(Ljava/lang/String;II)V
  • Method Details

    • getValues

      public Collection getValues()
      Mappings:
      Namespace Name Mixin selector
      official c Lbex;c()Ljava/util/Collection;
      intermediary method_9082 Lnet/minecraft/class_2247;method_9082()Ljava/util/Collection;
      named getValues Lnet/minecraft/state/property/Property;getValues()Ljava/util/Collection;
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class AbstractProperty
      Mappings:
      Namespace Name Mixin selector
      official equals Lbes;equals(Ljava/lang/Object;)Z
      intermediary equals Lnet/minecraft/class_2242;equals(Ljava/lang/Object;)Z
      named equals Lnet/minecraft/state/property/AbstractProperty;equals(Ljava/lang/Object;)Z
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractProperty
      Mappings:
      Namespace Name Mixin selector
      official hashCode Lbes;hashCode()I
      intermediary hashCode Lnet/minecraft/class_2242;hashCode()I
      named hashCode Lnet/minecraft/state/property/AbstractProperty;hashCode()I
    • of

      public static IntProperty of(String name, int min, int max)
      Mappings:
      Namespace Name Mixin selector
      official a Lbew;a(Ljava/lang/String;II)Lbew;
      intermediary method_9078 Lnet/minecraft/class_2246;method_9078(Ljava/lang/String;II)Lnet/minecraft/class_2246;
      named of Lnet/minecraft/state/property/IntProperty;of(Ljava/lang/String;II)Lnet/minecraft/state/property/IntProperty;
    • name

      public String name(Integer integer)
      Mappings:
      Namespace Name Mixin selector
      official a Lbew;a(Ljava/lang/Integer;)Ljava/lang/String;
      intermediary method_9077 Lnet/minecraft/class_2246;method_9077(Ljava/lang/Integer;)Ljava/lang/String;
      named name Lnet/minecraft/state/property/IntProperty;name(Ljava/lang/Integer;)Ljava/lang/String;