类 GameRules.Key<T extends GameRules.Rule<T>>
- java.lang.Object
-
- net.minecraft.world.GameRules.Key<T>
-
- 封闭类:
- GameRules
public static final class GameRules.Key<T extends GameRules.Rule<T>> extends Object
- Mappings:
Namespace Name official bvn$eintermediary net/minecraft/class_1928$class_4313named net/minecraft/world/GameRules$Key
-
-
字段概要
字段 修饰符和类型 字段 说明 private GameRules.Categorycategoryprivate Stringname
-
构造器概要
构造器 构造器 说明 Key(String name, GameRules.Category category)
-
-
-
字段详细资料
-
name
private final String name
- Mappings:
Namespace Name Mixin selector official aLbvn$e;a:Ljava/lang/String;intermediary field_19413Lnet/minecraft/class_1928$class_4313;field_19413:Ljava/lang/String;named nameLnet/minecraft/world/GameRules$Key;name:Ljava/lang/String;
-
category
private final GameRules.Category category
- Mappings:
Namespace Name Mixin selector official bLbvn$e;b:Lbvn$b;intermediary field_24103Lnet/minecraft/class_1928$class_4313;field_24103:Lnet/minecraft/class_1928$class_5198;named categoryLnet/minecraft/world/GameRules$Key;category:Lnet/minecraft/world/GameRules$Category;
-
-
构造器详细资料
-
Key
public Key(String name, GameRules.Category category)
- Mappings:
Namespace Name Mixin selector official <init>Lbvn$e;<init>(Ljava/lang/String;Lbvn$b;)Vintermediary <init>Lnet/minecraft/class_1928$class_4313;<init>(Ljava/lang/String;Lnet/minecraft/class_1928$class_5198;)Vnamed <init>Lnet/minecraft/world/GameRules$Key;<init>(Ljava/lang/String;Lnet/minecraft/world/GameRules$Category;)V
-
-
方法详细资料
-
toString
public String toString()
-
equals
public boolean equals(Object obj)
-
hashCode
public int hashCode()
-
getName
public String getName()
- Mappings:
Namespace Name Mixin selector official aLbvn$e;a()Ljava/lang/String;intermediary method_20771Lnet/minecraft/class_1928$class_4313;method_20771()Ljava/lang/String;named getNameLnet/minecraft/world/GameRules$Key;getName()Ljava/lang/String;
-
getTranslationKey
public String getTranslationKey()
- Mappings:
Namespace Name Mixin selector official bLbvn$e;b()Ljava/lang/String;intermediary method_27334Lnet/minecraft/class_1928$class_4313;method_27334()Ljava/lang/String;named getTranslationKeyLnet/minecraft/world/GameRules$Key;getTranslationKey()Ljava/lang/String;
-
getCategory
public GameRules.Category getCategory()
- Mappings:
Namespace Name Mixin selector official cLbvn$e;c()Lbvn$b;intermediary method_27335Lnet/minecraft/class_1928$class_4313;method_27335()Lnet/minecraft/class_1928$class_5198;named getCategoryLnet/minecraft/world/GameRules$Key;getCategory()Lnet/minecraft/world/GameRules$Category;
-
-