Uses of Class
net.minecraft.stats.Stat
Packages that use Stat
Package
Description
-
Uses of Stat in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon with type parameters of type StatModifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.stat
The field for thestat
record component.Methods in net.minecraft.advancements.critereon that return types with arguments of type StatModifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.stat()
Returns the value of thestat
record component.Constructor parameters in net.minecraft.advancements.critereon with type arguments of type StatModifierConstructorDescription(package private)
StatMatcher
(StatType<T> type, Holder<T> value, MinMaxBounds.Ints range, Supplier<Stat<T>> stat) Creates an instance of aStatMatcher
record class. -
Uses of Stat in net.minecraft.client.gui.screens.achievement
Fields in net.minecraft.client.gui.screens.achievement declared as StatModifier and TypeFieldDescriptionprivate final Stat<ResourceLocation>
StatsScreen.GeneralStatisticsList.Entry.stat
Methods in net.minecraft.client.gui.screens.achievement with parameters of type StatModifier and TypeMethodDescription(package private) static String
StatsScreen.getTranslationKey
(Stat<ResourceLocation> p_96947_) protected void
StatsScreen.ItemStatisticsList.ItemRow.renderStat
(GuiGraphics p_282544_, Stat<?> p_97093_, int p_97094_, int p_97095_, boolean p_97096_) Constructors in net.minecraft.client.gui.screens.achievement with parameters of type Stat -
Uses of Stat in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type StatModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>
ClientboundAwardStatsPacket.stats
Methods in net.minecraft.network.protocol.game that return StatModifier and TypeMethodDescriptionprivate static <T> Stat<T>
ClientboundAwardStatsPacket.readStatCap
(FriendlyByteBuf p_237573_, StatType<T> p_237574_) Methods in net.minecraft.network.protocol.game that return types with arguments of type StatMethods in net.minecraft.network.protocol.game with parameters of type StatModifier and TypeMethodDescriptionprivate static <T> void
ClientboundAwardStatsPacket.writeStatCap
(FriendlyByteBuf p_237570_, Stat<T> p_237571_) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type StatModifierConstructorDescriptionClientboundAwardStatsPacket
(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> p_131631_) -
Uses of Stat in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type Stat -
Uses of Stat in net.minecraft.stats
Fields in net.minecraft.stats with type parameters of type StatModifier and TypeFieldDescriptionServerStatsCounter.dirty
StatType.map
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>
StatsCounter.stats
Methods in net.minecraft.stats that return StatMethods in net.minecraft.stats that return types with arguments of type StatMethods in net.minecraft.stats with parameters of type Stat -
Uses of Stat in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type Stat -
Uses of Stat in net.minecraft.world.level.block
Methods in net.minecraft.world.level.block that return StatModifier and TypeMethodDescriptionprotected Stat<ResourceLocation>
ChestBlock.getOpenChestStat()
protected Stat<ResourceLocation>
TrappedChestBlock.getOpenChestStat()
-
Uses of Stat in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util with parameters of type Stat -
Uses of Stat in net.neoforged.neoforge.event
Fields in net.neoforged.neoforge.event declared as StatMethods in net.neoforged.neoforge.event that return StatModifier and TypeMethodDescriptionStat<?>
StatAwardEvent.getStat()
Returns theStat
being awarded.Methods in net.neoforged.neoforge.event with parameters of type StatModifier and TypeMethodDescriptionstatic StatAwardEvent
EventHooks.onStatAward
(Player player, Stat<?> stat, int value) void
Replaces theStat
to be awardedConstructors in net.neoforged.neoforge.event with parameters of type Stat