net.minecraft.stats

public class Stat<T>

extends ObjectiveCriteria

axm
net.minecraft.stats.Stat
net.minecraft.class_3445
net.minecraft.stat.Stat
net.minecraft.stats.Statistic

Field summary

Modifier and TypeField
public static final StreamCodec<RegistryFriendlyByteBuf, Stat<?>>
a
STREAM_CODEC
field_48280
PACKET_CODEC
private final StatFormatter
o
formatter
field_15319
formatter
private final T
p
value
field_15320
value
private final StatType<T>
q
type
field_15321
type

Constructor summary

ModifierConstructor
protected (StatType<T> type, T value, StatFormatter formatter)

Method summary

Modifier and TypeMethod
public static <T> String
a(axo<T> arg0, T arg1)
buildName(StatType<T> arg0, T arg1)
method_14950(class_3448<T> arg0, T arg1)
getName(StatType<T> type, T value)
private static <T> String
a(alz arg0)
locationToKey(ResourceLocation arg0)
method_14952(class_2960 arg0)
getName(Identifier id)
public StatType<T>
a()
getType()
method_14949()
getType()
public T
b()
getValue()
method_14951()
getValue()
public String
a(int arg0)
format(int arg0)
method_14953(int arg0)
format(int value)