Package net.minecraft.stat
Class StatType<T>
java.lang.Object
net.minecraft.stat.StatType<T>
- Mappings:
Namespace Name official auhintermediary net/minecraft/class_3448named net/minecraft/stat/StatType
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Textprivate final PacketCodec<RegistryByteBuf, Stat<T>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()getOrCreateStat(T key) getOrCreateStat(T key, StatFormatter formatter) booleaniterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
registry
- Mappings:
Namespace Name Mixin selector official aLauh;a:Liy;intermediary field_15323Lnet/minecraft/class_3448;field_15323:Lnet/minecraft/class_2378;named registryLnet/minecraft/stat/StatType;registry:Lnet/minecraft/registry/Registry;
-
stats
- Mappings:
Namespace Name Mixin selector official bLauh;b:Ljava/util/Map;intermediary field_15324Lnet/minecraft/class_3448;field_15324:Ljava/util/Map;named statsLnet/minecraft/stat/StatType;stats:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector official cLauh;c:Lvu;intermediary field_26382Lnet/minecraft/class_3448;field_26382:Lnet/minecraft/class_2561;named nameLnet/minecraft/stat/StatType;name:Lnet/minecraft/text/Text;
-
packetCodec
- Mappings:
Namespace Name Mixin selector official dLauh;d:Lxs;intermediary field_48281Lnet/minecraft/class_3448;field_48281:Lnet/minecraft/class_9139;named packetCodecLnet/minecraft/stat/StatType;packetCodec:Lnet/minecraft/network/codec/PacketCodec;
-
-
Constructor Details
-
StatType
- Mappings:
Namespace Name Mixin selector official <init>Lauh;<init>(Liy;Lvu;)Vintermediary <init>Lnet/minecraft/class_3448;<init>(Lnet/minecraft/class_2378;Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/stat/StatType;<init>(Lnet/minecraft/registry/Registry;Lnet/minecraft/text/Text;)V
-
-
Method Details
-
getPacketCodec
- Mappings:
Namespace Name Mixin selector official aLauh;a()Lxs;intermediary method_56054Lnet/minecraft/class_3448;method_56054()Lnet/minecraft/class_9139;named getPacketCodecLnet/minecraft/stat/StatType;getPacketCodec()Lnet/minecraft/network/codec/PacketCodec;
-
hasStat
- Mappings:
Namespace Name Mixin selector official aLauh;a(Ljava/lang/Object;)Zintermediary method_14958Lnet/minecraft/class_3448;method_14958(Ljava/lang/Object;)Znamed hasStatLnet/minecraft/stat/StatType;hasStat(Ljava/lang/Object;)Z
-
getOrCreateStat
- Mappings:
Namespace Name Mixin selector official aLauh;a(Ljava/lang/Object;Laug;)Lauf;intermediary method_14955Lnet/minecraft/class_3448;method_14955(Ljava/lang/Object;Lnet/minecraft/class_3446;)Lnet/minecraft/class_3445;named getOrCreateStatLnet/minecraft/stat/StatType;getOrCreateStat(Ljava/lang/Object;Lnet/minecraft/stat/StatFormatter;)Lnet/minecraft/stat/Stat;
-
getRegistry
- Mappings:
Namespace Name Mixin selector official bLauh;b()Liy;intermediary method_14959Lnet/minecraft/class_3448;method_14959()Lnet/minecraft/class_2378;named getRegistryLnet/minecraft/stat/StatType;getRegistry()Lnet/minecraft/registry/Registry;
-
iterator
-
getOrCreateStat
- Mappings:
Namespace Name Mixin selector official bLauh;b(Ljava/lang/Object;)Lauf;intermediary method_14956Lnet/minecraft/class_3448;method_14956(Ljava/lang/Object;)Lnet/minecraft/class_3445;named getOrCreateStatLnet/minecraft/stat/StatType;getOrCreateStat(Ljava/lang/Object;)Lnet/minecraft/stat/Stat;
-
getName
- Mappings:
Namespace Name Mixin selector official cLauh;c()Lvu;intermediary method_30739Lnet/minecraft/class_3448;method_30739()Lnet/minecraft/class_2561;named getNameLnet/minecraft/stat/StatType;getName()Lnet/minecraft/text/Text;
-