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 static final StreamCodec
<RegistryFriendlyByteBuf, it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>>> ClientboundAwardStatsPacket.STAT_VALUES_STREAM_CODEC
private final it.unimi.dsi.fastutil.objects.Object2IntMap
<Stat<?>> ClientboundAwardStatsPacket.stats
The field for thestats
record component.Modifier and TypeMethodDescriptionit.unimi.dsi.fastutil.objects.Object2IntMap
<Stat<?>> ClientboundAwardStatsPacket.stats()
Returns the value of thestats
record component.ModifierConstructorDescriptionClientboundAwardStatsPacket
(it.unimi.dsi.fastutil.objects.Object2IntMap<Stat<?>> stats) Creates an instance of aClientboundAwardStatsPacket
record class. -
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
static final StreamCodec
<RegistryFriendlyByteBuf, Stat<?>> Stat.STREAM_CODEC
private final StreamCodec
<RegistryFriendlyByteBuf, Stat<T>> StatType.streamCodec
Modifier and TypeMethodDescriptionServerStatsCounter.getDirty()
StatType.iterator()
StatType.streamCodec()
-
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.neoforged.neoforge.common.util
-
Uses of Stat in net.neoforged.neoforge.event
Modifier and TypeMethodDescriptionStat
<?> StatAwardEvent.getStat()
Returns theStat
being awarded.Modifier and TypeMethodDescriptionstatic StatAwardEvent
EventHooks.onStatAward
(Player player, Stat<?> stat, int value) void
Replaces theStat
to be awarded