net.minecraft.stats

public class StatType<T>

implements Iterable<Stat<T>>

axo
net.minecraft.stats.StatType
net.minecraft.class_3448
net.minecraft.unmapped.C_qwzfcpmd
net.minecraft.stat.StatType
net.minecraft.stat.StatType
net.minecraft.src.C_133_
net.minecraft.stats.StatisticWrapper

Field summary

Modifier and TypeField
private final Registry<T>
a
registry
field_15323
f_ejtjtceu
registry
registry
f_12888_
private final Map<T, Stat<T>>
b
map
field_15324
f_ltemdxih
stats
stats
f_12889_
private final Component
c
displayName
field_26382
f_sxmlcwsz
name
name
f_12890_
private final StreamCodec<RegistryFriendlyByteBuf, Stat<T>>
d
streamCodec
field_48281
f_utswrlki
packetCodec
packetCodec
f_316701_

Constructor summary

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

Method summary

Modifier and TypeMethod
public StreamCodec<RegistryFriendlyByteBuf, Stat<T>>
a()
streamCodec()
method_56054()
m_mjsllfma()
getPacketCodec()
getPacketCodec()
m_323437_()
public boolean
a(T arg0)
contains(T arg0)
method_14958(T arg0)
m_ksqhvvaf(T arg0)
hasStat(T key)
hasStat(T key)
m_12897_(T arg0)
public Stat<T>
a(T arg0, axn arg1)
get(T arg0, StatFormatter arg1)
method_14955(T arg0, class_3446 arg1)
m_enpioyhi(T arg0, C_eihuzrnt arg1)
getOrCreateStat(T key, StatFormatter formatter)
getOrCreateStat(T key, StatFormatter formatter)
m_12899_(T p_12901_, C_132_ arg1)
public Registry<T>
b()
getRegistry()
method_14959()
m_ntjegtqo()
getRegistry()
getRegistry()
m_12893_()
public Iterator<Stat<T>>
iterator()
iterator()
iterator()
public Stat<T>
b(T arg0)
get(T arg0)
method_14956(T arg0)
m_ytnybfcq(T arg0)
getOrCreateStat(T key)
getOrCreateStat(T key)
m_12902_(T arg0)
public Component
c()
getDisplayName()
method_30739()
m_cmsciyjx()
getName()
getName()
m_12905_()