Uses of Class
net.minecraft.stat.StatType
-
Uses of StatType in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as StatType Modifier and Type Field Description protected @Nullable StatType<?>
StatsScreen.ItemStatsListWidget. selectedStatType
Fields in net.minecraft.client.gui.screen with type parameters of type StatType Modifier and Type Field Description protected List<StatType<Block>>
StatsScreen.ItemStatsListWidget. blockStatTypes
protected List<StatType<Item>>
StatsScreen.ItemStatsListWidget. itemStatTypes
Methods in net.minecraft.client.gui.screen that return StatType Modifier and Type Method Description private StatType<?>
StatsScreen.ItemStatsListWidget. getStatType(int headerColumn)
Methods in net.minecraft.client.gui.screen with parameters of type StatType Modifier and Type Method Description private int
StatsScreen.ItemStatsListWidget. getHeaderIndex(StatType<?> statType)
protected void
StatsScreen.ItemStatsListWidget. selectStatType(StatType<?> statType)
-
Uses of StatType in net.minecraft.command.argument
Methods in net.minecraft.command.argument with parameters of type StatType Modifier and Type Method Description <T> String
ScoreboardCriterionArgumentType. getStatName(StatType<T> stat, Object value)
-
Uses of StatType in net.minecraft.network.packet.s2c.play
Methods in net.minecraft.network.packet.s2c.play with parameters of type StatType Modifier and Type Method Description private static <T> Stat<T>
StatisticsS2CPacket. getStat(StatType<T> statType, int id)
-
Uses of StatType in net.minecraft.predicate
Methods in net.minecraft.predicate with parameters of type StatType Modifier and Type Method Description private static <T> Stat<T>
PlayerPredicate. getStat(StatType<T> type, Identifier id)
-
Uses of StatType in net.minecraft.scoreboard
Methods in net.minecraft.scoreboard with parameters of type StatType Modifier and Type Method Description private static <T> Optional<ScoreboardCriterion>
ScoreboardCriterion. getOrCreateStatCriterion(StatType<T> statType, Identifier id)
-
Uses of StatType in net.minecraft.stat
Fields in net.minecraft.stat declared as StatType Modifier and Type Field Description static StatType<Item>
Stats. BROKEN
static StatType<Item>
Stats. CRAFTED
static StatType<Identifier>
Stats. CUSTOM
static StatType<Item>
Stats. DROPPED
static StatType<EntityType<?>>
Stats. KILLED
static StatType<EntityType<?>>
Stats. KILLED_BY
static StatType<Block>
Stats. MINED
static StatType<Item>
Stats. PICKED_UP
private StatType<T>
Stat. type
static StatType<Item>
Stats. USED
Methods in net.minecraft.stat that return StatType Modifier and Type Method Description StatType<T>
Stat. getType()
private static <T> StatType<T>
Stats. registerType(String id, Registry<T> registry)
Methods in net.minecraft.stat with parameters of type StatType Modifier and Type Method Description private <T> Optional<Stat<T>>
ServerStatHandler. createStat(StatType<T> type, String id)
static <T> String
Stat. getName(StatType<T> type, T value)
<T> int
StatHandler. getStat(StatType<T> type, T stat)
Constructors in net.minecraft.stat with parameters of type StatType Constructor Description Stat(StatType<T> type, T value, StatFormatter formatter)
-
Uses of StatType in net.minecraft.util.registry
Fields in net.minecraft.util.registry with type parameters of type StatType Modifier and Type Field Description static Registry<StatType<?>>
Registry. STAT_TYPE
static RegistryKey<Registry<StatType<?>>>
Registry. STAT_TYPE_KEY