Modifier and Type | Field and Description |
---|---|
private Text |
field_26382 |
private Registry<T> |
registry |
private Map<T,Stat<T>> |
stats |
Modifier and Type | Method and Description |
---|---|
Stat<T> |
getOrCreateStat(T key) |
Stat<T> |
getOrCreateStat(T key,
StatFormatter formatter) |
Registry<T> |
getRegistry() |
String |
getTranslationKey() |
boolean |
hasStat(T key) |
Iterator<Stat<T>> |
iterator() |
Text |
method_30739() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
@Environment(value=CLIENT) public boolean hasStat(T key)
public Stat<T> getOrCreateStat(T key, StatFormatter formatter)
@Environment(value=CLIENT) public String getTranslationKey()
@Environment(value=CLIENT) public Text method_30739()