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> type, Holder.Reference<T> value, MinMaxBounds.Ints range) private static <T> com.mojang.serialization.MapCodec<PlayerPredicate.StatMatcher<T>> PlayerPredicate.StatMatcher.createTypedCodec(StatType<T> type) Constructors in net.minecraft.advancements.criterion with parameters of type StatTypeModifierConstructorDescriptionStatMatcher(StatType<T> type, Holder<T> value, MinMaxBounds.Ints range) privateStatMatcher(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 TypeMethodDescriptionprivate StatType<?> StatsScreen.ItemStatisticsList.getColumn(int i) Methods in net.minecraft.client.gui.screens.achievement with parameters of type StatTypeModifier and TypeMethodDescriptionprivate intStatsScreen.ItemStatisticsList.getColumnIndex(StatType<?> column) protected voidStatsScreen.ItemStatisticsList.sortByColumn(StatType<?> column) -
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 name, Registry<T> registry) Methods in net.minecraft.stats with parameters of type StatTypeModifier and TypeMethodDescriptionstatic <T> StringServerStatsCounter.createTypedStatsCodec(StatType<T> type) <T> intConstructors 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, Identifier key)