Uses of Class
net.minecraft.stats.StatType
Packages that use StatType
Package
Description
-
Uses of StatType in net.minecraft.advancements.critereon
Fields in net.minecraft.advancements.critereon declared as StatTypeModifier and TypeFieldDescriptionPlayerPredicate.StatMatcher.typeThe field for thetyperecord component.Methods in net.minecraft.advancements.critereon that return StatTypeModifier and TypeMethodDescriptionPlayerPredicate.StatMatcher.type()Returns the value of thetyperecord component.Methods in net.minecraft.advancements.critereon with parameters of type StatTypeModifier and TypeMethodDescriptionPlayerPredicate.Builder.addStat(StatType<T> type, Holder.Reference<T> value, MinMaxBounds.Ints range) private static <T> com.mojang.serialization.MapCodec<PlayerPredicate.StatMatcher<T>> PlayerPredicate.StatMatcher.createTypedCodec(StatType<T> statType) Constructors in net.minecraft.advancements.critereon with parameters of type StatTypeModifierConstructorDescriptionStatMatcher(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 aStatMatcherrecord class. -
Uses of StatType in net.minecraft.client.gui.screens.achievement
Fields in net.minecraft.client.gui.screens.achievement declared as StatTypeFields 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 TypeMethodDescriptionprivate StatType<?> StatsScreen.ItemStatisticsList.getColumn(int index) Methods in net.minecraft.client.gui.screens.achievement with parameters of type StatTypeModifier and TypeMethodDescriptionprivate intStatsScreen.ItemStatisticsList.getColumnIndex(StatType<?> statType) protected voidStatsScreen.ItemStatisticsList.sortByColumn(StatType<?> statType) -
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<ResourceLocation> 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 key, Registry<T> registry) Methods in net.minecraft.stats with parameters of type StatTypeConstructors in net.minecraft.stats with parameters of type StatType -
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> statType, ResourceLocation resourceLocation)