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.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.achievement
Fields 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.game
Fields in net.minecraft.network.protocol.game with type parameters of type StatModifier and TypeFieldDescriptionprivate static final StreamCodec<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>> ClientboundAwardStatsPacket.STAT_VALUES_STREAM_CODECprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> ClientboundAwardStatsPacket.statsThe field for thestatsrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type StatModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> ClientboundAwardStatsPacket.stats()Returns the value of thestatsrecord component.Constructor parameters in net.minecraft.network.protocol.game with type arguments of type StatModifierConstructorDescriptionClientboundAwardStatsPacket(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> stats) Creates an instance of aClientboundAwardStatsPacketrecord class. -
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.dirtyStatType.mapprotected final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> StatsCounter.statsstatic final StreamCodec<RegistryFriendlyByteBuf, Stat<?>> Stat.STREAM_CODECprivate final StreamCodec<RegistryFriendlyByteBuf, Stat<T>> StatType.streamCodecMethods in net.minecraft.stats that return StatMethods in net.minecraft.stats that return types with arguments of type StatModifier and TypeMethodDescriptionServerStatsCounter.getDirty()StatType.iterator()StatType.streamCodec()Methods 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 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