Package net.minecraft.stat
Class StatType<T>
java.lang.Object
net.minecraft.stat.StatType<T>
- Mappings:
Namespace Name named net/minecraft/stat/StatType
intermediary net/minecraft/class_3448
official avq
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Text
private final PacketCodec
<RegistryByteBuf, Stat<T>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
getOrCreateStat
(T key) getOrCreateStat
(T key, StatFormatter formatter) boolean
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 named registry
Lnet/minecraft/stat/StatType;registry:Lnet/minecraft/registry/Registry;
intermediary field_15323
Lnet/minecraft/class_3448;field_15323:Lnet/minecraft/class_2378;
official a
Lavq;a:Ljw;
-
stats
- Mappings:
Namespace Name Mixin selector named stats
Lnet/minecraft/stat/StatType;stats:Ljava/util/Map;
intermediary field_15324
Lnet/minecraft/class_3448;field_15324:Ljava/util/Map;
official b
Lavq;b:Ljava/util/Map;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/stat/StatType;name:Lnet/minecraft/text/Text;
intermediary field_26382
Lnet/minecraft/class_3448;field_26382:Lnet/minecraft/class_2561;
official c
Lavq;c:Lwu;
-
packetCodec
- Mappings:
Namespace Name Mixin selector named packetCodec
Lnet/minecraft/stat/StatType;packetCodec:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48281
Lnet/minecraft/class_3448;field_48281:Lnet/minecraft/class_9139;
official d
Lavq;d:Lys;
-
-
Constructor Details
-
StatType
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/stat/StatType;<init>(Lnet/minecraft/registry/Registry;Lnet/minecraft/text/Text;)V
intermediary <init>
Lnet/minecraft/class_3448;<init>(Lnet/minecraft/class_2378;Lnet/minecraft/class_2561;)V
official <init>
Lavq;<init>(Ljw;Lwu;)V
-
-
Method Details
-
getPacketCodec
- Mappings:
Namespace Name Mixin selector named getPacketCodec
Lnet/minecraft/stat/StatType;getPacketCodec()Lnet/minecraft/network/codec/PacketCodec;
intermediary method_56054
Lnet/minecraft/class_3448;method_56054()Lnet/minecraft/class_9139;
official a
Lavq;a()Lys;
-
hasStat
- Mappings:
Namespace Name Mixin selector named hasStat
Lnet/minecraft/stat/StatType;hasStat(Ljava/lang/Object;)Z
intermediary method_14958
Lnet/minecraft/class_3448;method_14958(Ljava/lang/Object;)Z
official a
Lavq;a(Ljava/lang/Object;)Z
-
getOrCreateStat
- Mappings:
Namespace Name Mixin selector named getOrCreateStat
Lnet/minecraft/stat/StatType;getOrCreateStat(Ljava/lang/Object;Lnet/minecraft/stat/StatFormatter;)Lnet/minecraft/stat/Stat;
intermediary method_14955
Lnet/minecraft/class_3448;method_14955(Ljava/lang/Object;Lnet/minecraft/class_3446;)Lnet/minecraft/class_3445;
official a
Lavq;a(Ljava/lang/Object;Lavp;)Lavo;
-
getRegistry
- Mappings:
Namespace Name Mixin selector named getRegistry
Lnet/minecraft/stat/StatType;getRegistry()Lnet/minecraft/registry/Registry;
intermediary method_14959
Lnet/minecraft/class_3448;method_14959()Lnet/minecraft/class_2378;
official b
Lavq;b()Ljw;
-
iterator
-
getOrCreateStat
- Mappings:
Namespace Name Mixin selector named getOrCreateStat
Lnet/minecraft/stat/StatType;getOrCreateStat(Ljava/lang/Object;)Lnet/minecraft/stat/Stat;
intermediary method_14956
Lnet/minecraft/class_3448;method_14956(Ljava/lang/Object;)Lnet/minecraft/class_3445;
official b
Lavq;b(Ljava/lang/Object;)Lavo;
-
getName
- Mappings:
Namespace Name Mixin selector named getName
Lnet/minecraft/stat/StatType;getName()Lnet/minecraft/text/Text;
intermediary method_30739
Lnet/minecraft/class_3448;method_30739()Lnet/minecraft/class_2561;
official c
Lavq;c()Lwu;
-