Uses of Class
net.minecraft.stats.StatType
Packages that use StatType
Package
Description
-
Uses of StatType in net.minecraft.advancements.criterion
Fields in net.minecraft.advancements.criterion declared as StatTypeModifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.typeThe field for thetyperecord component.Methods in net.minecraft.advancements.criterion that return StatTypeModifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.type()Returns the value of thetyperecord component.Methods in net.minecraft.advancements.criterion with parameters of type StatTypeModifier and TypeMethodDescriptionPlayerPredicate.Builder.addStat(StatType<T> pType, Holder.Reference<T> pValue, MinMaxBounds.Ints pRange) private static <T> com.mojang.serialization.MapCodec<PlayerPredicate.StatMatcher<T>> PlayerPredicate.StatMatcher.createTypedCodec(StatType<T> pStatType) Constructors in net.minecraft.advancements.criterion with parameters of type StatTypeModifierConstructorDescriptionStatMatcher(StatType<T> p_467491_, Holder<T> p_468463_, MinMaxBounds.Ints p_469772_) (package private)StatMatcher(StatType<T> type, Holder<T> value, MinMaxBounds.Ints range, Supplier<Stat<T>> stat) Creates an instance of aStatMatcherrecord class. -
Uses of StatType in net.minecraft.client.gui.screens.achievement
Fields in net.minecraft.client.gui.screens.achievement declared as StatTypeModifier and TypeFieldDescriptionprotected @Nullable StatType<?> StatsScreen.ItemStatisticsList.sortColumnFields in net.minecraft.client.gui.screens.achievement with type parameters of type StatTypeModifier and TypeFieldDescriptionStatsScreen.ItemStatisticsList.blockColumnsStatsScreen.ItemStatisticsList.itemColumnsMethods in net.minecraft.client.gui.screens.achievement that return StatTypeModifier and TypeMethodDescription(package private) StatType<?> StatsScreen.ItemStatisticsList.getColumn(int pIndex) Methods in net.minecraft.client.gui.screens.achievement with parameters of type StatTypeModifier and TypeMethodDescription(package private) intStatsScreen.ItemStatisticsList.getColumnIndex(StatType<?> pStatType) protected voidStatsScreen.ItemStatisticsList.sortByColumn(StatType<?> pStatType) -
Uses of StatType in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments with parameters of type StatType -
Uses of StatType in net.minecraft.core.registries
Fields in net.minecraft.core.registries with type parameters of type StatType -
Uses of StatType in net.minecraft.stats
Fields in net.minecraft.stats declared as StatTypeModifier and TypeFieldDescriptionStats.BLOCK_MINEDstatic final StatType<Identifier> Stats.CUSTOMstatic final StatType<EntityType<?>> Stats.ENTITY_KILLEDstatic final StatType<EntityType<?>> Stats.ENTITY_KILLED_BYStats.ITEM_BROKENStats.ITEM_CRAFTEDStats.ITEM_DROPPEDStats.ITEM_PICKED_UPStats.ITEM_USEDStat.typeThe parent statistic type.Methods in net.minecraft.stats that return StatTypeModifier and TypeMethodDescriptionStat.getType()private static <T> StatType<T> Stats.makeRegistryStatType(String pKey, Registry<T> pRegistry) Methods in net.minecraft.stats with parameters of type StatTypeModifier and TypeMethodDescriptionstatic <T> StringServerStatsCounter.createTypedStatsCodec(StatType<T> pType) <T> intConstructors in net.minecraft.stats with parameters of type StatTypeModifierConstructorDescriptionprotectedStat(StatType<T> pType, T pValue, StatFormatter pFormatter) -
Uses of StatType in net.minecraft.world.scores.criteria
Methods in net.minecraft.world.scores.criteria with parameters of type StatTypeModifier and TypeMethodDescriptionprivate static <T> Optional<ObjectiveCriteria> ObjectiveCriteria.getStat(StatType<T> pStatType, Identifier pResourceLocation)