Uses of Class
net.minecraft.stats.Stat
Package
Description
-
Uses of Stat in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.stat
The field for thestat
record component.Modifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.stat()
Returns the value of thestat
record component.ModifierConstructorDescription(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
Modifier and TypeFieldDescriptionprivate final Stat<ResourceLocation>
StatsScreen.GeneralStatisticsList.Entry.stat
Modifier 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_) -
Uses of Stat in net.minecraft.network.protocol.game
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>
ClientboundAwardStatsPacket.stats
Modifier and TypeMethodDescriptionprivate static <T> Stat<T>
ClientboundAwardStatsPacket.readStatCap
(FriendlyByteBuf p_237573_, StatType<T> p_237574_) Modifier and TypeMethodDescriptionprivate static <T> void
ClientboundAwardStatsPacket.writeStatCap
(FriendlyByteBuf p_237570_, Stat<T> p_237571_) ModifierConstructorDescriptionClientboundAwardStatsPacket
(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> p_131631_) -
Uses of Stat in net.minecraft.server.level
-
Uses of Stat in net.minecraft.stats
Modifier and TypeFieldDescriptionServerStatsCounter.dirty
StatType.map
protected final it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>
StatsCounter.stats
-
Uses of Stat in net.minecraft.world.entity.player
-
Uses of Stat in net.minecraft.world.level.block
Modifier and TypeMethodDescriptionprotected Stat<ResourceLocation>
ChestBlock.getOpenChestStat()
protected Stat<ResourceLocation>
TrappedChestBlock.getOpenChestStat()
-
Uses of Stat in net.minecraftforge.common.util