Package net.minecraft.world
Class GameRules.Key<T extends GameRules.Rule<T>>
java.lang.Object
net.minecraft.world.GameRules.Key<T>
- Enclosing class:
- GameRules
public static final class GameRules.Key<T extends GameRules.Rule<T>> extends Object
- Mappings:
Namespace Name official btr$e
intermediary net/minecraft/class_1928$class_4313
named net/minecraft/world/GameRules$Key
-
Field Summary
Fields Modifier and Type Field Description private GameRules.Category
category
private String
name
-
Constructor Summary
Constructors Constructor Description Key(String name, GameRules.Category category)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
GameRules.Category
getCategory()
String
getName()
String
getTranslationKey()
int
hashCode()
String
toString()
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official a
Lbtr$e;a:Ljava/lang/String;
intermediary field_19413
Lnet/minecraft/class_1928$class_4313;field_19413:Ljava/lang/String;
named name
Lnet/minecraft/world/GameRules$Key;name:Ljava/lang/String;
-
category
- Mappings:
Namespace Name Mixin selector official b
Lbtr$e;b:Lbtr$b;
intermediary field_24103
Lnet/minecraft/class_1928$class_4313;field_24103:Lnet/minecraft/class_1928$class_5198;
named category
Lnet/minecraft/world/GameRules$Key;category:Lnet/minecraft/world/GameRules$Category;
-
-
Constructor Details
-
Key
- Mappings:
Namespace Name Mixin selector official <init>
Lbtr$e;<init>(Ljava/lang/String;Lbtr$b;)V
intermediary <init>
Lnet/minecraft/class_1928$class_4313;<init>(Ljava/lang/String;Lnet/minecraft/class_1928$class_5198;)V
named <init>
Lnet/minecraft/world/GameRules$Key;<init>(Ljava/lang/String;Lnet/minecraft/world/GameRules$Category;)V
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getName
- Mappings:
Namespace Name Mixin selector official a
Lbtr$e;a()Ljava/lang/String;
intermediary method_20771
Lnet/minecraft/class_1928$class_4313;method_20771()Ljava/lang/String;
named getName
Lnet/minecraft/world/GameRules$Key;getName()Ljava/lang/String;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official b
Lbtr$e;b()Ljava/lang/String;
intermediary method_27334
Lnet/minecraft/class_1928$class_4313;method_27334()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/world/GameRules$Key;getTranslationKey()Ljava/lang/String;
-
getCategory
- Mappings:
Namespace Name Mixin selector official c
Lbtr$e;c()Lbtr$b;
intermediary method_27335
Lnet/minecraft/class_1928$class_4313;method_27335()Lnet/minecraft/class_1928$class_5198;
named getCategory
Lnet/minecraft/world/GameRules$Key;getCategory()Lnet/minecraft/world/GameRules$Category;
-