Package net.minecraft.stat
Class StatType<T>
java.lang.Object
net.minecraft.stat.StatType<T>
public class StatType<T> extends Object implements Iterable<Stat<T>>
- Mappings:
Namespace Name official aep
intermediary net/minecraft/class_3448
named net/minecraft/stat/StatType
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Text
getName()
Stat<T>
getOrCreateStat(T key)
Stat<T>
getOrCreateStat(T key, StatFormatter formatter)
Registry<T>
getRegistry()
String
getTranslationKey()
boolean
hasStat(T key)
Iterator<Stat<T>>
iterator()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
registry
- Mappings:
Namespace Name Mixin selector official a
Laep;a:Lgn;
intermediary field_15323
Lnet/minecraft/class_3448;field_15323:Lnet/minecraft/class_2378;
named registry
Lnet/minecraft/stat/StatType;registry:Lnet/minecraft/util/registry/Registry;
-
stats
- Mappings:
Namespace Name Mixin selector official b
Laep;b:Ljava/util/Map;
intermediary field_15324
Lnet/minecraft/class_3448;field_15324:Ljava/util/Map;
named stats
Lnet/minecraft/stat/StatType;stats:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official c
Laep;c:Loi;
intermediary field_26382
Lnet/minecraft/class_3448;field_26382:Lnet/minecraft/class_2561;
named name
Lnet/minecraft/stat/StatType;name:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
StatType
- Mappings:
Namespace Name Mixin selector official <init>
Laep;<init>(Lgn;)V
intermediary <init>
Lnet/minecraft/class_3448;<init>(Lnet/minecraft/class_2378;)V
named <init>
Lnet/minecraft/stat/StatType;<init>(Lnet/minecraft/util/registry/Registry;)V
-
-
Method Details
-
hasStat
- Mappings:
Namespace Name Mixin selector official a
Laep;a(Ljava/lang/Object;)Z
intermediary method_14958
Lnet/minecraft/class_3448;method_14958(Ljava/lang/Object;)Z
named hasStat
Lnet/minecraft/stat/StatType;hasStat(Ljava/lang/Object;)Z
-
getOrCreateStat
- Mappings:
Namespace Name Mixin selector official a
Laep;a(Ljava/lang/Object;Laeo;)Laen;
intermediary method_14955
Lnet/minecraft/class_3448;method_14955(Ljava/lang/Object;Lnet/minecraft/class_3446;)Lnet/minecraft/class_3445;
named getOrCreateStat
Lnet/minecraft/stat/StatType;getOrCreateStat(Ljava/lang/Object;Lnet/minecraft/stat/StatFormatter;)Lnet/minecraft/stat/Stat;
-
getRegistry
- Mappings:
Namespace Name Mixin selector official a
Laep;a()Lgn;
intermediary method_14959
Lnet/minecraft/class_3448;method_14959()Lnet/minecraft/class_2378;
named getRegistry
Lnet/minecraft/stat/StatType;getRegistry()Lnet/minecraft/util/registry/Registry;
-
iterator
-
getOrCreateStat
- Mappings:
Namespace Name Mixin selector official b
Laep;b(Ljava/lang/Object;)Laen;
intermediary method_14956
Lnet/minecraft/class_3448;method_14956(Ljava/lang/Object;)Lnet/minecraft/class_3445;
named getOrCreateStat
Lnet/minecraft/stat/StatType;getOrCreateStat(Ljava/lang/Object;)Lnet/minecraft/stat/Stat;
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official b
Laep;b()Ljava/lang/String;
intermediary method_14957
Lnet/minecraft/class_3448;method_14957()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/stat/StatType;getTranslationKey()Ljava/lang/String;
-
getName
- Mappings:
Namespace Name Mixin selector official c
Laep;c()Loi;
intermediary method_30739
Lnet/minecraft/class_3448;method_30739()Lnet/minecraft/class_2561;
named getName
Lnet/minecraft/stat/StatType;getName()Lnet/minecraft/text/Text;
-