Uses of Class
net.minecraft.stat.StatType
Package
Description
-
Uses of StatType in net.minecraft.client.gui.screen
Modifier and TypeFieldDescriptionprotected @Nullable StatType<?>
StatsScreen.ItemStatsListWidget.selectedStatType
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 TypeFieldDescriptionPlayerPredicate.StatMatcher.type
The field for thetype
record component.Modifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionprivate static <T> com.mojang.serialization.Codec<PlayerPredicate.StatMatcher<T>>
PlayerPredicate.StatMatcher.createCodec
(StatType<T> type) PlayerPredicate.Builder.stat
(StatType<T> statType, RegistryEntry.Reference<T> value, NumberRange.IntRange range) ModifierConstructorDescriptionStatMatcher
(StatType<T> type, RegistryEntry<T> value, NumberRange.IntRange range) private
StatMatcher
(StatType<T> statType, RegistryEntry<T> registryEntry, NumberRange.IntRange intRange, Supplier<Stat<T>> supplier) -
Uses of StatType in net.minecraft.registry
-
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