Uses of Class
net.minecraft.stats.StatType
Package
Description
-
Uses of StatType in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.type
The field for thetype
record component.Modifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptionPlayerPredicate.Builder.addStat
(StatType<T> p_299266_, Holder.Reference<T> p_299053_, MinMaxBounds.Ints p_156770_) private static <T> com.mojang.serialization.Codec<PlayerPredicate.StatMatcher<T>>
PlayerPredicate.StatMatcher.createTypedCodec
(StatType<T> p_299086_) ModifierConstructorDescriptionStatMatcher
(StatType<T> p_299207_, Holder<T> p_298208_, MinMaxBounds.Ints p_299102_) (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 StatType in net.minecraft.client.gui.screens.achievement
Modifier and TypeFieldDescriptionStatsScreen.ItemStatisticsList.blockColumns
StatsScreen.ItemStatisticsList.itemColumns
Modifier and TypeMethodDescriptionprivate StatType<?>
StatsScreen.ItemStatisticsList.getColumn
(int p_97034_) Modifier and TypeMethodDescriptionprivate int
StatsScreen.ItemStatisticsList.getColumnIndex
(StatType<?> p_97059_) protected void
StatsScreen.ItemStatisticsList.sortByColumn
(StatType<?> p_97039_) -
Uses of StatType in net.minecraft.commands.arguments
-
Uses of StatType in net.minecraft.core.registries
-
Uses of StatType in net.minecraft.network.protocol.game
Modifier and TypeMethodDescriptionprivate static <T> Stat<T>
ClientboundAwardStatsPacket.readStatCap
(FriendlyByteBuf p_237573_, StatType<T> p_237574_) -
Uses of StatType in net.minecraft.stats
Modifier and TypeFieldDescriptionStats.BLOCK_MINED
static final StatType<ResourceLocation>
Stats.CUSTOM
static final StatType<EntityType<?>>
Stats.ENTITY_KILLED
static final StatType<EntityType<?>>
Stats.ENTITY_KILLED_BY
Stats.ITEM_BROKEN
Stats.ITEM_CRAFTED
Stats.ITEM_DROPPED
Stats.ITEM_PICKED_UP
Stats.ITEM_USED
Stat.type
Modifier and TypeMethodDescriptionStat.getType()
private static <T> StatType<T>
Stats.makeRegistryStatType
(String p_13011_, Registry<T> p_13012_) ModifierConstructorDescriptionprotected
Stat
(StatType<T> p_12856_, T p_12857_, StatFormatter p_12858_) -
Uses of StatType in net.minecraft.world.scores.criteria
Modifier and TypeMethodDescriptionprivate static <T> Optional<ObjectiveCriteria>
ObjectiveCriteria.getStat
(StatType<T> p_83612_, ResourceLocation p_83613_)