Uses of Class
net.minecraft.stat.Stat
Packages that use Stat
Package
Description
-
Uses of Stat in net.minecraft.block
Methods in net.minecraft.block that return StatModifier and TypeMethodDescriptionprotected Stat<Identifier>ChestBlock.getOpenStat()protected Stat<Identifier>TrappedChestBlock.getOpenStat() -
Uses of Stat in net.minecraft.client.gui.screen
Fields in net.minecraft.client.gui.screen declared as StatModifier and TypeFieldDescriptionprivate final Stat<Identifier>StatsScreen.GeneralStatsListWidget.Entry.statMethods in net.minecraft.client.gui.screen with parameters of type StatModifier and TypeMethodDescription(package private) static StringStatsScreen.getStatTranslationKey(Stat<Identifier> stat) protected voidStatsScreen.ItemStatsListWidget.Entry.render(DrawContext drawContext, @Nullable Stat<?> stat, int x, int y, boolean white) Constructors in net.minecraft.client.gui.screen with parameters of type Stat -
Uses of Stat in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type StatModifier and TypeMethodDescriptionvoidPlayerEntity.increaseStat(Stat<?> stat, int amount) voidPlayerEntity.incrementStat(Stat<?> stat) void -
Uses of Stat in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type StatMethods in net.minecraft.network.packet.s2c.play that return StatModifier and TypeMethodDescriptionprivate static <T> Stat<T>StatisticsS2CPacket.getOrCreateStat(PacketByteBuf buf, StatType<T> statType) Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type StatMethods in net.minecraft.network.packet.s2c.play with parameters of type StatModifier and TypeMethodDescriptionprivate static <T> voidStatisticsS2CPacket.write(PacketByteBuf buf, Stat<T> stat) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type Stat -
Uses of Stat in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type StatModifier and TypeFieldDescriptionprivate final Map<Stat<?>,NumberRange.IntRange> PlayerPredicate.Builder.statsprivate final Map<Stat<?>,NumberRange.IntRange> PlayerPredicate.statsMethods in net.minecraft.predicate.entity that return StatModifier and TypeMethodDescriptionprivate static <T> Stat<T>PlayerPredicate.getStat(StatType<T> type, Identifier id) Methods in net.minecraft.predicate.entity with parameters of type StatModifier and TypeMethodDescriptionprivate static <T> IdentifierPlayerPredicate.Builder.stat(Stat<?> stat, NumberRange.IntRange value) Constructor parameters in net.minecraft.predicate.entity with type arguments of type StatModifierConstructorDescription(package private)PlayerPredicate(NumberRange.IntRange experienceLevel, @Nullable GameMode gameMode, Map<Stat<?>, NumberRange.IntRange> stats, Object2BooleanMap<Identifier> recipes, Map<Identifier, PlayerPredicate.AdvancementPredicate> advancements, EntityPredicate lookingAt) -
Uses of Stat in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type StatModifier and TypeMethodDescriptionvoidServerPlayerEntity.increaseStat(Stat<?> stat, int amount) void -
Uses of Stat in net.minecraft.stat
Fields in net.minecraft.stat with type parameters of type StatModifier and TypeFieldDescriptionServerStatHandler.pendingStatsprotected final Object2IntMap<Stat<?>>StatHandler.statMapStatType.statsMethods in net.minecraft.stat that return StatModifier and TypeMethodDescriptionStatType.getOrCreateStat(T key) StatType.getOrCreateStat(T key, StatFormatter formatter) Methods in net.minecraft.stat that return types with arguments of type StatModifier and TypeMethodDescriptionServerStatHandler.createStat(StatType<T> type, String id) StatType.iterator()ServerStatHandler.takePendingStats()Methods in net.minecraft.stat with parameters of type StatModifier and TypeMethodDescriptionintprivate static <T> IdentifiervoidStatHandler.increaseStat(PlayerEntity player, Stat<?> stat, int value) voidServerStatHandler.setStat(PlayerEntity player, Stat<?> stat, int value) voidStatHandler.setStat(PlayerEntity player, Stat<?> stat, int value)