net.minecraft.stat

public class Stat<T>

extends ScoreboardCriterion

yq
net.minecraft.class_3445
net.minecraft.stat.Stat
net.minecraft.stats.Stat
net.minecraft.stats.Stat

Field summary

Modifier and TypeField
private final StatFormatter
o
field_15319
formatter
field_75976_b
formatter
private final T
p
field_15320
value
field_197922_p
value
private final StatType<T>
q
field_15321
type
field_197923_q
type

Constructor summary

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

Method summary

Modifier and TypeMethod
public static <T> String
a(ys<T> arg0, T arg1)
method_14950(class_3448<T> arg0, T arg1)
buildName(StatType<T> type, T value)
func_197918_a(StatType<T> arg0, T arg1)
buildName(StatType<T> typeIn, T valueIn)
private static <T> String
a(qs arg0)
method_14952(class_2960 arg0)
getName(Identifier key)
func_197919_a(ResourceLocation arg0)
locationToKey(ResourceLocation id)
public StatType<T>
a()
method_14949()
getType()
func_197921_a()
getType()
public T
b()
method_14951()
getValue()
func_197920_b()
getValue()
public String
a(int arg0)
method_14953(int arg0)
format(int value)
func_75968_a(int arg0)
format(int number)