Uses of Class
net.minecraft.stat.StatType
Package
Description
-
Uses of StatType in net.minecraft.client.gui.screen
Modifier and TypeFieldDescriptionStatsScreen.ItemStatsListWidget.blockStatTypes
StatsScreen.ItemStatsListWidget.itemStatTypes
Modifier and TypeMethodDescriptionprivate StatType<?>
StatsScreen.ItemStatsListWidget.getStatType
(int headerColumn) Modifier and TypeMethodDescriptionprivate int
StatsScreen.ItemStatsListWidget.getHeaderIndex
(StatType<?> statType) protected void
StatsScreen.ItemStatsListWidget.selectStatType
(StatType<?> statType) -
Uses of StatType in net.minecraft.command.argument
Modifier and TypeMethodDescription<T> String
ScoreboardCriterionArgumentType.getStatName
(StatType<T> stat, Object value) -
Uses of StatType in net.minecraft.network.packet.s2c.play
Modifier and TypeMethodDescriptionprivate static <T> Stat<T>
StatisticsS2CPacket.getOrCreateStat
(PacketByteBuf buf, StatType<T> statType) -
Uses of StatType in net.minecraft.predicate.entity
Modifier and TypeMethodDescriptionprivate static <T> Stat<T>
PlayerPredicate.getStat
(StatType<T> type, Identifier id) -
Uses of StatType in net.minecraft.scoreboard
Modifier and TypeMethodDescriptionprivate static <T> Optional<ScoreboardCriterion>
ScoreboardCriterion.getOrCreateStatCriterion
(StatType<T> statType, Identifier id) -
Uses of StatType in net.minecraft.stat
Modifier and TypeFieldDescriptionStats.BROKEN
Stats.CRAFTED
static final StatType<Identifier>
Stats.CUSTOM
Stats.DROPPED
static final StatType<EntityType<?>>
Stats.KILLED
static final StatType<EntityType<?>>
Stats.KILLED_BY
Stats.MINED
Stats.PICKED_UP
Stat.type
Stats.USED
Modifier and TypeMethodDescriptionStat.getType()
private static <T> StatType<T>
Stats.registerType
(String id, Registry<T> registry) Modifier and TypeMethodDescriptionServerStatHandler.createStat
(StatType<T> type, String id) static <T> String
<T> int
-
Uses of StatType in net.minecraft.util.registry
Modifier and TypeFieldDescriptionRegistry.STAT_TYPE
static final RegistryKey<Registry<StatType<?>>>
Registry.STAT_TYPE_KEY