Uses of Class
net.minecraft.stat.Stat
Package
Description
-
Uses of Stat in net.minecraft.block
Modifier and TypeMethodDescriptionprotected Stat<Identifier>
ChestBlock.getOpenStat()
protected Stat<Identifier>
TrappedChestBlock.getOpenStat()
-
Uses of Stat in net.minecraft.client.gui.screen
Modifier and TypeFieldDescriptionprivate final Stat<Identifier>
StatsScreen.GeneralStatsListWidget.Entry.stat
Modifier and TypeMethodDescription(package private) static String
StatsScreen.getStatTranslationKey
(Stat<Identifier> stat) protected void
StatsScreen.ItemStatsListWidget.Entry.render
(DrawContext drawContext, @Nullable Stat<?> stat, int x, int y, boolean white) -
Uses of Stat in net.minecraft.entity.player
Modifier and TypeMethodDescriptionvoid
PlayerEntity.increaseStat
(Stat<?> stat, int amount) void
PlayerEntity.incrementStat
(Stat<?> stat) void
-
Uses of Stat in net.minecraft.network.packet.s2c.play
Modifier and TypeMethodDescriptionprivate static <T> Stat<T>
StatisticsS2CPacket.getOrCreateStat
(PacketByteBuf buf, StatType<T> statType) Modifier and TypeMethodDescriptionprivate static <T> void
StatisticsS2CPacket.write
(PacketByteBuf buf, Stat<T> stat) -
Uses of Stat in net.minecraft.predicate.entity
Modifier and TypeFieldDescriptionprivate final Map<Stat<?>,
NumberRange.IntRange> PlayerPredicate.Builder.stats
private final Map<Stat<?>,
NumberRange.IntRange> PlayerPredicate.stats
Modifier and TypeMethodDescriptionprivate static <T> Stat<T>
PlayerPredicate.getStat
(StatType<T> type, Identifier id) Modifier and TypeMethodDescriptionprivate static <T> Identifier
PlayerPredicate.Builder.stat
(Stat<?> stat, NumberRange.IntRange value) ModifierConstructorDescription(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
Modifier and TypeMethodDescriptionvoid
ServerPlayerEntity.increaseStat
(Stat<?> stat, int amount) void
-
Uses of Stat in net.minecraft.stat
Modifier and TypeFieldDescriptionServerStatHandler.pendingStats
protected final Object2IntMap<Stat<?>>
StatHandler.statMap
StatType.stats
Modifier and TypeMethodDescriptionStatType.getOrCreateStat
(T key) StatType.getOrCreateStat
(T key, StatFormatter formatter) Modifier and TypeMethodDescriptionServerStatHandler.createStat
(StatType<T> type, String id) StatType.iterator()
ServerStatHandler.takePendingStats()
Modifier and TypeMethodDescriptionint
private static <T> Identifier
void
StatHandler.increaseStat
(PlayerEntity player, Stat<?> stat, int value) void
ServerStatHandler.setStat
(PlayerEntity player, Stat<?> stat, int value) void
StatHandler.setStat
(PlayerEntity player, Stat<?> stat, int value)