Class StatType<T>

java.lang.Object
net.minecraft.stats.StatType<T>
All Implemented Interfaces:
Iterable<Stat<T>>

public class StatType<T> extends Object implements Iterable<Stat<T>>
  • Field Details

    • registry

      private final Registry<T> registry
    • map

      private final Map<T,Stat<T>> map
    • displayName

      @Nullable private Component displayName
  • Constructor Details

    • StatType

      public StatType(Registry<T> p_12892_)
  • Method Details