Record Class KeyBinding.Category

java.lang.Object
java.lang.Record
net.minecraft.client.option.KeyBinding.Category
Record Components:
id -
Enclosing class:
KeyBinding

@Environment(CLIENT) public static record KeyBinding.Category(Identifier id) extends Record
Mappings:
Namespace Name
named net/minecraft/client/option/KeyBinding$Category
intermediary net/minecraft/class_304$class_11900
official fzx$a
named id
intermediary comp_4879
official h
  • Field Details

    • id

      private final Identifier id
      The field for the id record component.
    • CATEGORIES

      static final List<KeyBinding.Category> CATEGORIES
      Mappings:
      Namespace Name Mixin selector
      named CATEGORIES Lnet/minecraft/client/option/KeyBinding$Category;CATEGORIES:Ljava/util/List;
      intermediary field_62925 Lnet/minecraft/class_304$class_11900;field_62925:Ljava/util/List;
      official i Lfzx$a;i:Ljava/util/List;
    • MOVEMENT

      public static final KeyBinding.Category MOVEMENT
      Mappings:
      Namespace Name Mixin selector
      named MOVEMENT Lnet/minecraft/client/option/KeyBinding$Category;MOVEMENT:Lnet/minecraft/client/option/KeyBinding$Category;
      intermediary field_62555 Lnet/minecraft/class_304$class_11900;field_62555:Lnet/minecraft/class_304$class_11900;
      official a Lfzx$a;a:Lfzx$a;
    • MISC

      public static final KeyBinding.Category MISC
      Mappings:
      Namespace Name Mixin selector
      named MISC Lnet/minecraft/client/option/KeyBinding$Category;MISC:Lnet/minecraft/client/option/KeyBinding$Category;
      intermediary field_62556 Lnet/minecraft/class_304$class_11900;field_62556:Lnet/minecraft/class_304$class_11900;
      official b Lfzx$a;b:Lfzx$a;
    • MULTIPLAYER

      public static final KeyBinding.Category MULTIPLAYER
      Mappings:
      Namespace Name Mixin selector
      named MULTIPLAYER Lnet/minecraft/client/option/KeyBinding$Category;MULTIPLAYER:Lnet/minecraft/client/option/KeyBinding$Category;
      intermediary field_62557 Lnet/minecraft/class_304$class_11900;field_62557:Lnet/minecraft/class_304$class_11900;
      official c Lfzx$a;c:Lfzx$a;
    • GAMEPLAY

      public static final KeyBinding.Category GAMEPLAY
      Mappings:
      Namespace Name Mixin selector
      named GAMEPLAY Lnet/minecraft/client/option/KeyBinding$Category;GAMEPLAY:Lnet/minecraft/client/option/KeyBinding$Category;
      intermediary field_62558 Lnet/minecraft/class_304$class_11900;field_62558:Lnet/minecraft/class_304$class_11900;
      official d Lfzx$a;d:Lfzx$a;
    • INVENTORY

      public static final KeyBinding.Category INVENTORY
      Mappings:
      Namespace Name Mixin selector
      named INVENTORY Lnet/minecraft/client/option/KeyBinding$Category;INVENTORY:Lnet/minecraft/client/option/KeyBinding$Category;
      intermediary field_62559 Lnet/minecraft/class_304$class_11900;field_62559:Lnet/minecraft/class_304$class_11900;
      official e Lfzx$a;e:Lfzx$a;
    • CREATIVE

      public static final KeyBinding.Category CREATIVE
      Mappings:
      Namespace Name Mixin selector
      named CREATIVE Lnet/minecraft/client/option/KeyBinding$Category;CREATIVE:Lnet/minecraft/client/option/KeyBinding$Category;
      intermediary field_62561 Lnet/minecraft/class_304$class_11900;field_62561:Lnet/minecraft/class_304$class_11900;
      official f Lfzx$a;f:Lfzx$a;
    • SPECTATOR

      public static final KeyBinding.Category SPECTATOR
      Mappings:
      Namespace Name Mixin selector
      named SPECTATOR Lnet/minecraft/client/option/KeyBinding$Category;SPECTATOR:Lnet/minecraft/client/option/KeyBinding$Category;
      intermediary field_62562 Lnet/minecraft/class_304$class_11900;field_62562:Lnet/minecraft/class_304$class_11900;
      official g Lfzx$a;g:Lfzx$a;
  • Constructor Details

    • Category

      public Category(Identifier identifier)
  • Method Details

    • create

      private static KeyBinding.Category create(String name)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/option/KeyBinding$Category;create(Ljava/lang/String;)Lnet/minecraft/client/option/KeyBinding$Category;
      intermediary method_74699 Lnet/minecraft/class_304$class_11900;method_74699(Ljava/lang/String;)Lnet/minecraft/class_304$class_11900;
      official a Lfzx$a;a(Ljava/lang/String;)Lfzx$a;
    • create

      public static KeyBinding.Category create(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/option/KeyBinding$Category;create(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/option/KeyBinding$Category;
      intermediary method_74698 Lnet/minecraft/class_304$class_11900;method_74698(Lnet/minecraft/class_2960;)Lnet/minecraft/class_304$class_11900;
      official a Lfzx$a;a(Lamj;)Lfzx$a;
    • getLabel

      public Text getLabel()
      Mappings:
      Namespace Name Mixin selector
      named getLabel Lnet/minecraft/client/option/KeyBinding$Category;getLabel()Lnet/minecraft/text/Text;
      intermediary method_74697 Lnet/minecraft/class_304$class_11900;method_74697()Lnet/minecraft/class_2561;
      official a Lfzx$a;a()Lxx;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • id

      public Identifier id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component