接口的使用
net.minecraft.stat.StatFormatter
-
使用StatFormatter的程序包 程序包 说明 net.minecraft.stat -
-
net.minecraft.stat中StatFormatter的使用
声明为StatFormatter的net.minecraft.stat中的字段 修饰符和类型 字段 说明 static StatFormatterStatFormatter. DEFAULTstatic StatFormatterStatFormatter. DISTANCEstatic StatFormatterStatFormatter. DIVIDE_BY_TENprivate StatFormatterStat. formatterstatic StatFormatterStatFormatter. TIME参数类型为StatFormatter的net.minecraft.stat中的方法 修饰符和类型 方法 说明 Stat<T>StatType. getOrCreateStat(T key, StatFormatter formatter)private static IdentifierStats. register(String id, StatFormatter formatter)参数类型为StatFormatter的net.minecraft.stat中的构造器 构造器 说明 Stat(StatType<T> type, T value, StatFormatter formatter)
-