Package net.minecraft.stats
Class StatType<T>
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<StatType<?>>
-
- net.minecraft.stats.StatType<T>
-
- All Implemented Interfaces:
java.lang.Iterable<Stat<T>>
,IForgeRegistryEntry<StatType<?>>
public class StatType<T> extends ForgeRegistryEntry<StatType<?>> implements java.lang.Iterable<Stat<T>>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description private ITextComponent
displayName
private java.util.Map<T,Stat<T>>
map
private Registry<T>
registry
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(T p_199079_1_)
Stat<T>
get(T p_199076_1_)
Stat<T>
get(T p_199077_1_, IStatFormatter p_199077_2_)
ITextComponent
getDisplayName()
Registry<T>
getRegistry()
java.lang.String
getTranslationKey()
java.util.Iterator<Stat<T>>
iterator()
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Method Detail
-
contains
public boolean contains(T p_199079_1_)
-
get
public Stat<T> get(T p_199077_1_, IStatFormatter p_199077_2_)
-
iterator
public java.util.Iterator<Stat<T>> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<T>
-
getTranslationKey
public java.lang.String getTranslationKey()
-
getDisplayName
public ITextComponent getDisplayName()
-
-