Uses of Class
net.minecraft.stats.Stat
Packages that use Stat
Package
Description
- 
Uses of Stat in net.minecraft.advancements.critereonFields in net.minecraft.advancements.critereon with type parameters of type StatModifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.statThe field for thestatrecord component.Methods in net.minecraft.advancements.critereon that return types with arguments of type StatModifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.stat()Returns the value of thestatrecord 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 aStatMatcherrecord class.
- 
Uses of Stat in net.minecraft.client.gui.screens.achievementFields in net.minecraft.client.gui.screens.achievement declared as StatModifier and TypeFieldDescriptionprivate final Stat<ResourceLocation>StatsScreen.GeneralStatisticsList.Entry.statMethods in net.minecraft.client.gui.screens.achievement with parameters of type StatModifier and TypeMethodDescription(package private) static StringStatsScreen.getTranslationKey(Stat<ResourceLocation> p_96947_) protected voidStatsScreen.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.gameFields in net.minecraft.network.protocol.game with type parameters of type StatModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>ClientboundAwardStatsPacket.statsMethods 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> voidClientboundAwardStatsPacket.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.levelMethods in net.minecraft.server.level with parameters of type Stat
- 
Uses of Stat in net.minecraft.statsFields in net.minecraft.stats with type parameters of type StatModifier and TypeFieldDescriptionServerStatsCounter.dirtyStatType.mapprotected final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>StatsCounter.statsMethods 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.playerMethods in net.minecraft.world.entity.player with parameters of type Stat
- 
Uses of Stat in net.minecraft.world.level.blockMethods 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.utilMethods in net.neoforged.neoforge.common.util with parameters of type Stat
- 
Uses of Stat in net.neoforged.neoforge.eventFields in net.neoforged.neoforge.event declared as StatMethods in net.neoforged.neoforge.event that return StatModifier and TypeMethodDescriptionStat<?>StatAwardEvent.getStat()Returns theStatbeing awarded.Methods in net.neoforged.neoforge.event with parameters of type StatModifier and TypeMethodDescriptionstatic StatAwardEventEventHooks.onStatAward(Player player, Stat<?> stat, int value) voidReplaces theStatto be awardedConstructors in net.neoforged.neoforge.event with parameters of type Stat