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 fzy$a
named id
intermediary comp_4879
official h
  • Field Details

    • id

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

      static final List<KeyBinding.Category> field_62925
      Mappings:
      Namespace Name Mixin selector
      named field_62925 Lnet/minecraft/client/option/KeyBinding$Category;field_62925:Ljava/util/List;
      intermediary field_62925 Lnet/minecraft/class_304$class_11900;field_62925:Ljava/util/List;
      official i Lfzy$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 Lfzy$a;a:Lfzy$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 Lfzy$a;b:Lfzy$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 Lfzy$a;c:Lfzy$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 Lfzy$a;d:Lfzy$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 Lfzy$a;e:Lfzy$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 Lfzy$a;f:Lfzy$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 Lfzy$a;g:Lfzy$a;
  • Constructor Details

    • Category

      public Category(Identifier identifier)
  • Method Details

    • method_74699

      private static KeyBinding.Category method_74699(String string)
      Mappings:
      Namespace Name Mixin selector
      named method_74699 Lnet/minecraft/client/option/KeyBinding$Category;method_74699(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 Lfzy$a;a(Ljava/lang/String;)Lfzy$a;
    • method_74698

      public static KeyBinding.Category method_74698(Identifier identifier)
      Mappings:
      Namespace Name Mixin selector
      named method_74698 Lnet/minecraft/client/option/KeyBinding$Category;method_74698(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 Lfzy$a;a(Lamj;)Lfzy$a;
    • method_74697

      public Text method_74697()
      Mappings:
      Namespace Name Mixin selector
      named method_74697 Lnet/minecraft/client/option/KeyBinding$Category;method_74697()Lnet/minecraft/text/Text;
      intermediary method_74697 Lnet/minecraft/class_304$class_11900;method_74697()Lnet/minecraft/class_2561;
      official a Lfzy$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