Uses of Class
net.minecraft.stat.StatType
Packages that use StatType
Package
Description
-
Uses of StatType in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as StatTypeFields in net.minecraft.client.gui.screen with type parameters of type StatTypeModifier and TypeFieldDescriptionStatsScreen.ItemStatsListWidget.blockStatTypes
StatsScreen.ItemStatsListWidget.itemStatTypes
Methods in net.minecraft.client.gui.screen that return StatTypeModifier and TypeMethodDescriptionprivate StatType<?>
StatsScreen.ItemStatsListWidget.getStatType
(int headerColumn) Methods in net.minecraft.client.gui.screen with parameters of type StatTypeModifier and TypeMethodDescriptionprivate 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 StatTypeModifier and TypeMethodDescription<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 StatTypeModifier and TypeMethodDescriptionprivate static <T> Stat<T>
StatisticsS2CPacket.getOrCreateStat
(PacketByteBuf buf, StatType<T> statType) -
Uses of StatType in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity declared as StatTypeModifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.type
The field for thetype
record component.Methods in net.minecraft.predicate.entity that return StatTypeModifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.type()
Returns the value of thetype
record component.Methods in net.minecraft.predicate.entity with parameters of type StatTypeModifier 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) Constructors in net.minecraft.predicate.entity with parameters of type StatTypeModifierConstructorDescriptionStatMatcher
(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
Fields in net.minecraft.registry with type parameters of type StatType -
Uses of StatType in net.minecraft.scoreboard
Methods in net.minecraft.scoreboard with parameters of type StatTypeModifier and TypeMethodDescriptionprivate 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 StatTypeModifier 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
Methods in net.minecraft.stat that return StatTypeModifier and TypeMethodDescriptionStat.getType()
private static <T> StatType<T>
Stats.registerType
(String id, Registry<T> registry) Methods in net.minecraft.stat with parameters of type StatTypeModifier and TypeMethodDescriptionServerStatHandler.createStat
(StatType<T> type, String id) static <T> String
<T> int
Constructors in net.minecraft.stat with parameters of type StatType