net.minecraft.stats

public class StatType<T>

implements Iterable<Stat<T>>

awj
net.minecraft.stats.StatType
net.minecraft.class_3448
net.minecraft.stat.StatType
net.minecraft.stats.StatisticWrapper

Field summary

Modifier and TypeField
private final Registry<T>
a
registry
field_15323
registry
private final Map<T, Stat<T>>
b
map
field_15324
stats
private final Component
c
displayName
field_26382
name
private final StreamCodec<RegistryFriendlyByteBuf, Stat<T>>
d
streamCodec
field_48281
packetCodec

Constructor summary

ModifierConstructor
public (Registry<T> registry, Component name)

Method summary

Modifier and TypeMethod
public StreamCodec<RegistryFriendlyByteBuf, Stat<T>>
a()
streamCodec()
method_56054()
getPacketCodec()
public boolean
a(T arg0)
contains(T arg0)
method_14958(T arg0)
hasStat(T key)
public Stat<T>
a(T arg0, awi arg1)
get(T arg0, StatFormatter arg1)
method_14955(T arg0, class_3446 arg1)
getOrCreateStat(T key, StatFormatter formatter)
public Registry<T>
b()
getRegistry()
method_14959()
getRegistry()
public Iterator<Stat<T>>
iterator()
iterator()
public Stat<T>
b(T arg0)
get(T arg0)
method_14956(T arg0)
getOrCreateStat(T key)
public Component
c()
getDisplayName()
method_30739()
getName()