Package net.minecraft.stat
Class StatHandler
java.lang.Object
net.minecraft.stat.StatHandler
- Direct Known Subclasses:
ServerStatHandler
public class StatHandler extends Object
- Mappings:
Namespace Name official aer
intermediary net/minecraft/class_3469
named net/minecraft/stat/StatHandler
-
Field Summary
Fields Modifier and Type Field Description protected Object2IntMap<Stat<?>>
statMap
-
Constructor Summary
Constructors Constructor Description StatHandler()
-
Method Summary
Modifier and Type Method Description int
getStat(Stat<?> stat)
<T> int
getStat(StatType<T> type, T stat)
void
increaseStat(PlayerEntity player, Stat<?> stat, int value)
void
setStat(PlayerEntity player, Stat<?> stat, int value)
-
Field Details
-
statMap
- Mappings:
Namespace Name Mixin selector official a
Laer;a:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
intermediary field_15431
Lnet/minecraft/class_3469;field_15431:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
named statMap
Lnet/minecraft/stat/StatHandler;statMap:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
-
Constructor Details
-
StatHandler
public StatHandler()
-
-
Method Details
-
increaseStat
- Mappings:
Namespace Name Mixin selector official b
Laer;b(Lbhl;Laen;I)V
intermediary method_15022
Lnet/minecraft/class_3469;method_15022(Lnet/minecraft/class_1657;Lnet/minecraft/class_3445;I)V
named increaseStat
Lnet/minecraft/stat/StatHandler;increaseStat(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/stat/Stat;I)V
-
setStat
- Mappings:
Namespace Name Mixin selector official a
Laer;a(Lbhl;Laen;I)V
intermediary method_15023
Lnet/minecraft/class_3469;method_15023(Lnet/minecraft/class_1657;Lnet/minecraft/class_3445;I)V
named setStat
Lnet/minecraft/stat/StatHandler;setStat(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/stat/Stat;I)V
-
getStat
- Mappings:
Namespace Name Mixin selector official a
Laer;a(Laep;Ljava/lang/Object;)I
intermediary method_15024
Lnet/minecraft/class_3469;method_15024(Lnet/minecraft/class_3448;Ljava/lang/Object;)I
named getStat
Lnet/minecraft/stat/StatHandler;getStat(Lnet/minecraft/stat/StatType;Ljava/lang/Object;)I
-
getStat
- Mappings:
Namespace Name Mixin selector official a
Laer;a(Laen;)I
intermediary method_15025
Lnet/minecraft/class_3469;method_15025(Lnet/minecraft/class_3445;)I
named getStat
Lnet/minecraft/stat/StatHandler;getStat(Lnet/minecraft/stat/Stat;)I
-