Package net.minecraft.client.option
Record Class KeyBinding.Category
java.lang.Object
java.lang.Record
net.minecraft.client.option.KeyBinding.Category
- Record Components:
id-
- Enclosing class:
KeyBinding
- Mappings:
Namespace Name named net/minecraft/client/option/KeyBinding$Categoryintermediary net/minecraft/class_304$class_11900official fzx$anamed idintermediary comp_4879official h
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final List<KeyBinding.Category> static final KeyBinding.Categorystatic final KeyBinding.Categoryprivate final IdentifierThe field for theidrecord component.static final KeyBinding.Categorystatic final KeyBinding.Categorystatic final KeyBinding.Categorystatic final KeyBinding.Categorystatic final KeyBinding.Category -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static KeyBinding.Categorystatic KeyBinding.Categorycreate(Identifier id) final booleanIndicates whether some other object is "equal to" this one.getLabel()final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
id
The field for theidrecord component. -
CATEGORIES
- Mappings:
Namespace Name Mixin selector named CATEGORIESLnet/minecraft/client/option/KeyBinding$Category;CATEGORIES:Ljava/util/List;intermediary field_62925Lnet/minecraft/class_304$class_11900;field_62925:Ljava/util/List;official iLfzx$a;i:Ljava/util/List;
-
MOVEMENT
- Mappings:
Namespace Name Mixin selector named MOVEMENTLnet/minecraft/client/option/KeyBinding$Category;MOVEMENT:Lnet/minecraft/client/option/KeyBinding$Category;intermediary field_62555Lnet/minecraft/class_304$class_11900;field_62555:Lnet/minecraft/class_304$class_11900;official aLfzx$a;a:Lfzx$a;
-
MISC
- Mappings:
Namespace Name Mixin selector named MISCLnet/minecraft/client/option/KeyBinding$Category;MISC:Lnet/minecraft/client/option/KeyBinding$Category;intermediary field_62556Lnet/minecraft/class_304$class_11900;field_62556:Lnet/minecraft/class_304$class_11900;official bLfzx$a;b:Lfzx$a;
-
MULTIPLAYER
- Mappings:
Namespace Name Mixin selector named MULTIPLAYERLnet/minecraft/client/option/KeyBinding$Category;MULTIPLAYER:Lnet/minecraft/client/option/KeyBinding$Category;intermediary field_62557Lnet/minecraft/class_304$class_11900;field_62557:Lnet/minecraft/class_304$class_11900;official cLfzx$a;c:Lfzx$a;
-
GAMEPLAY
- Mappings:
Namespace Name Mixin selector named GAMEPLAYLnet/minecraft/client/option/KeyBinding$Category;GAMEPLAY:Lnet/minecraft/client/option/KeyBinding$Category;intermediary field_62558Lnet/minecraft/class_304$class_11900;field_62558:Lnet/minecraft/class_304$class_11900;official dLfzx$a;d:Lfzx$a;
-
INVENTORY
- Mappings:
Namespace Name Mixin selector named INVENTORYLnet/minecraft/client/option/KeyBinding$Category;INVENTORY:Lnet/minecraft/client/option/KeyBinding$Category;intermediary field_62559Lnet/minecraft/class_304$class_11900;field_62559:Lnet/minecraft/class_304$class_11900;official eLfzx$a;e:Lfzx$a;
-
CREATIVE
- Mappings:
Namespace Name Mixin selector named CREATIVELnet/minecraft/client/option/KeyBinding$Category;CREATIVE:Lnet/minecraft/client/option/KeyBinding$Category;intermediary field_62561Lnet/minecraft/class_304$class_11900;field_62561:Lnet/minecraft/class_304$class_11900;official fLfzx$a;f:Lfzx$a;
-
SPECTATOR
- Mappings:
Namespace Name Mixin selector named SPECTATORLnet/minecraft/client/option/KeyBinding$Category;SPECTATOR:Lnet/minecraft/client/option/KeyBinding$Category;intermediary field_62562Lnet/minecraft/class_304$class_11900;field_62562:Lnet/minecraft/class_304$class_11900;official gLfzx$a;g:Lfzx$a;
-
-
Constructor Details
-
Category
-
-
Method Details
-
create
- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/client/option/KeyBinding$Category;create(Ljava/lang/String;)Lnet/minecraft/client/option/KeyBinding$Category;intermediary method_74699Lnet/minecraft/class_304$class_11900;method_74699(Ljava/lang/String;)Lnet/minecraft/class_304$class_11900;official aLfzx$a;a(Ljava/lang/String;)Lfzx$a;
-
create
- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/client/option/KeyBinding$Category;create(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/option/KeyBinding$Category;intermediary method_74698Lnet/minecraft/class_304$class_11900;method_74698(Lnet/minecraft/class_2960;)Lnet/minecraft/class_304$class_11900;official aLfzx$a;a(Lamj;)Lfzx$a;
-
getLabel
- Mappings:
Namespace Name Mixin selector named getLabelLnet/minecraft/client/option/KeyBinding$Category;getLabel()Lnet/minecraft/text/Text;intermediary method_74697Lnet/minecraft/class_304$class_11900;method_74697()Lnet/minecraft/class_2561;official aLfzx$a;a()Lxx;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-