Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractArrowMixin - Class in dev.potota.itemstats.mixin
- AbstractArrowMixin() - Constructor for class dev.potota.itemstats.mixin.AbstractArrowMixin
- addEntriesToTooltip(StatValue, Consumer<MutableComponent>) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMapped
- addToTooltip(Item.TooltipContext, Consumer<Component>, TooltipFlag) - Method in record class dev.potota.itemstats.api.StatsComponent
- appliesTo(Item) - Method in class dev.potota.itemstats.api.ItemStat
- appliesTo(ItemStack) - Method in class dev.potota.itemstats.api.ItemStat
- ArmorCalculator - Class in dev.potota.itemstats.impl
- ArmorCalculator() - Constructor for class dev.potota.itemstats.impl.ArmorCalculator
- ARROWS_FIRED - Static variable in class dev.potota.itemstats.api.BuiltInStats
- AS_ID_CODEC - Static variable in class dev.potota.itemstats.api.ItemStat
- AxeItemMixin - Class in dev.potota.itemstats.mixin.fabric
- AxeItemMixin() - Constructor for class dev.potota.itemstats.mixin.fabric.AxeItemMixin
B
- BLOCKS_MINED - Static variable in class dev.potota.itemstats.api.BuiltInStats
- BLOCKS_STRIPPED - Static variable in class dev.potota.itemstats.api.BuiltInStats
- BuiltInStats - Class in dev.potota.itemstats.api
- BuiltInStats() - Constructor for class dev.potota.itemstats.api.BuiltInStats
C
- callBuildComponents() - Method in interface dev.potota.itemstats.mixin.ItemPropertiesComponentAccess
- castValue(StatValue) - Method in class dev.potota.itemstats.api.ItemStat
- codec() - Method in class dev.potota.itemstats.api.StatValue
- codec() - Method in class dev.potota.itemstats.api.StatValue.Float
- codec() - Method in class dev.potota.itemstats.api.StatValue.Integer
- codec() - Method in class dev.potota.itemstats.api.StatValue.RegistryMappedFloat
- codec() - Method in class dev.potota.itemstats.api.StatValue.RegistryMappedInteger
- CODEC - Static variable in record class dev.potota.itemstats.api.StatsComponent
- CODEC - Static variable in class dev.potota.itemstats.api.StatValue
- CODEC - Static variable in class dev.potota.itemstats.api.StatValue.Float
- CODEC - Static variable in class dev.potota.itemstats.api.StatValue.Integer
- CODEC - Static variable in class dev.potota.itemstats.api.StatValue.RegistryMappedFloat
- CODEC - Static variable in class dev.potota.itemstats.api.StatValue.RegistryMappedInteger
- createRegistry(ResourceKey<Registry<T>>) - Method in class dev.potota.itemstats.platform.FabricPlatformHelper
- createRegistry(ResourceKey<Registry<T>>) - Method in interface dev.potota.itemstats.platform.services.IPlatformHelper
D
- DAMAGE_ABSORBED - Static variable in class dev.potota.itemstats.api.BuiltInStats
- damageAbsorbed(ServerLevel, LivingEntity, DamageSource, float, float, BiConsumer<ItemStack, Float>) - Static method in class dev.potota.itemstats.impl.ArmorCalculator
- damageAfterEnchantments(ServerLevel, LivingEntity, DamageSource, float, ItemStack) - Static method in class dev.potota.itemstats.impl.ArmorCalculator
- defaultValue() - Method in class dev.potota.itemstats.api.ItemStat
- defaultValue() - Method in class dev.potota.itemstats.api.ItemStat.Float
- defaultValue() - Method in class dev.potota.itemstats.api.ItemStat.Integer
- defaultValue() - Method in class dev.potota.itemstats.api.ItemStat.RegistryMappedFloat
- defaultValue() - Method in class dev.potota.itemstats.api.ItemStat.RegistryMappedInteger
- dev.potota.itemstats.api - package dev.potota.itemstats.api
- dev.potota.itemstats.impl - package dev.potota.itemstats.impl
- dev.potota.itemstats.impl.client - package dev.potota.itemstats.impl.client
- dev.potota.itemstats.impl.client.screen - package dev.potota.itemstats.impl.client.screen
- dev.potota.itemstats.interfaces - package dev.potota.itemstats.interfaces
- dev.potota.itemstats.mixin - package dev.potota.itemstats.mixin
- dev.potota.itemstats.mixin.client - package dev.potota.itemstats.mixin.client
- dev.potota.itemstats.mixin.fabric - package dev.potota.itemstats.mixin.fabric
- dev.potota.itemstats.platform - package dev.potota.itemstats.platform
- dev.potota.itemstats.platform.services - package dev.potota.itemstats.platform.services
- DISTANCE_FLOWN - Static variable in class dev.potota.itemstats.api.BuiltInStats
E
- empty() - Static method in record class dev.potota.itemstats.api.StatsComponent
- equals(Object) - Method in record class dev.potota.itemstats.api.StatsComponent
-
Indicates whether some other object is "equal to" this one.
F
- FabricPlatformHelper - Class in dev.potota.itemstats.platform
- FabricPlatformHelper() - Constructor for class dev.potota.itemstats.platform.FabricPlatformHelper
- Float(double) - Constructor for class dev.potota.itemstats.api.StatValue.Float
- Float(TagKey<Item>) - Constructor for class dev.potota.itemstats.api.ItemStat.Float
- format(StatValue) - Method in class dev.potota.itemstats.api.ItemStat
- formatEntry(ResourceLocation, Object) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMapped
G
- get(ItemStat<?>) - Method in record class dev.potota.itemstats.api.StatsComponent
- get(ItemStack) - Method in class dev.potota.itemstats.api.ItemStat.Float
- get(ItemStack) - Method in class dev.potota.itemstats.api.ItemStat.Integer
- get(ItemStack, ResourceLocation) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMappedFloat
- get(ItemStack, ResourceLocation) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMappedInteger
- getAll(ItemStack) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMapped
- getArmorValue(ItemStack, EquipmentSlot) - Static method in class dev.potota.itemstats.impl.ArmorCalculator
- getContentHeight(int) - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen.StatList.StatEntry
- getContentX(int) - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen.StatList.StatEntry
- getContentY(int) - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen.StatList.StatEntry
- getContentYMiddle(int, int) - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen.StatList.StatEntry
- getItemBySlot(EquipmentSlot) - Method in class dev.potota.itemstats.mixin.LivingEntityMixin
- getNarration() - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen.StatList.StatEntry
- getValue(ItemStack) - Method in class dev.potota.itemstats.api.ItemStat
H
- hashCode() - Method in record class dev.potota.itemstats.api.StatsComponent
-
Returns a hash code value for this object.
I
- id - Variable in class dev.potota.itemstats.api.ItemStat
- id() - Method in class dev.potota.itemstats.api.ItemStat
- id(String) - Static method in class dev.potota.itemstats.impl.ItemStatsImpl
- increment(ItemStack) - Method in class dev.potota.itemstats.api.ItemStat.Integer
- increment(ItemStack, double) - Method in class dev.potota.itemstats.api.ItemStat.Float
- increment(ItemStack, long) - Method in class dev.potota.itemstats.api.ItemStat.Integer
- increment(ItemStack, ResourceLocation) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMappedInteger
- increment(ItemStack, ResourceLocation, double) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMappedFloat
- increment(ItemStack, ResourceLocation, long) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMappedInteger
- init() - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen
- Integer(long) - Constructor for class dev.potota.itemstats.api.StatValue.Integer
- Integer(TagKey<Item>) - Constructor for class dev.potota.itemstats.api.ItemStat.Integer
- IPlatformHelper - Interface in dev.potota.itemstats.platform.services
- isDevEnv() - Method in class dev.potota.itemstats.platform.FabricPlatformHelper
- isDevEnv() - Method in interface dev.potota.itemstats.platform.services.IPlatformHelper
- isEmpty() - Method in record class dev.potota.itemstats.api.StatsComponent
- isShowStatsKeyHeld(Minecraft) - Static method in class dev.potota.itemstats.impl.client.ItemStatsClientImpl
- isStatsScreenKeyHeld(Minecraft) - Static method in class dev.potota.itemstats.impl.client.ItemStatsClientImpl
- ItemMixin - Class in dev.potota.itemstats.mixin
- ItemMixin() - Constructor for class dev.potota.itemstats.mixin.ItemMixin
- ItemPropertiesComponentAccess - Interface in dev.potota.itemstats.mixin
- ItemStackMixin - Class in dev.potota.itemstats.mixin.fabric
- ItemStackMixin - Class in dev.potota.itemstats.mixin
- ItemStackMixin() - Constructor for class dev.potota.itemstats.mixin.fabric.ItemStackMixin
- ItemStackMixin() - Constructor for class dev.potota.itemstats.mixin.ItemStackMixin
- ItemStat<T> - Class in dev.potota.itemstats.api
- ItemStat(TagKey<Item>, Class<T>) - Constructor for class dev.potota.itemstats.api.ItemStat
- ItemStat.Float - Class in dev.potota.itemstats.api
- ItemStat.Integer - Class in dev.potota.itemstats.api
- ItemStat.RegistryMapped<V,
SV> - Class in dev.potota.itemstats.api - ItemStat.RegistryMappedFloat - Class in dev.potota.itemstats.api
- ItemStat.RegistryMappedInteger - Class in dev.potota.itemstats.api
- ItemStats - Class in dev.potota.itemstats.api
- ItemStats() - Constructor for class dev.potota.itemstats.api.ItemStats
- ItemStats.Registries - Class in dev.potota.itemstats.api
- ItemStats.Registries.Keys - Class in dev.potota.itemstats.api
- itemstats$getKey() - Method in interface dev.potota.itemstats.mixin.client.KeyAccess
- itemstats$getWeaponStack() - Method in interface dev.potota.itemstats.interfaces.TrackWeaponStack
- itemstats$getWeaponStack() - Method in class dev.potota.itemstats.mixin.AbstractArrowMixin
- itemstats$getWeaponStack() - Method in class dev.potota.itemstats.mixin.ThrownTridentMixin
- ItemStatsClientFabric - Class in dev.potota.itemstats.impl.client
- ItemStatsClientFabric() - Constructor for class dev.potota.itemstats.impl.client.ItemStatsClientFabric
- ItemStatsClientImpl - Class in dev.potota.itemstats.impl.client
- ItemStatsClientImpl() - Constructor for class dev.potota.itemstats.impl.client.ItemStatsClientImpl
- ItemStatsFabric - Class in dev.potota.itemstats.impl
- ItemStatsFabric() - Constructor for class dev.potota.itemstats.impl.ItemStatsFabric
- ItemStatsImpl - Class in dev.potota.itemstats.impl
- ItemStatsImpl() - Constructor for class dev.potota.itemstats.impl.ItemStatsImpl
K
- KeyAccess - Interface in dev.potota.itemstats.mixin.client
- keyOf(T, ResourceKey<Registry<T>>, RegistryAccess) - Static method in class dev.potota.itemstats.impl.ItemStatsImpl
- Keys() - Constructor for class dev.potota.itemstats.api.ItemStats.Registries.Keys
L
- LivingEntityMixin - Class in dev.potota.itemstats.mixin.fabric
- LivingEntityMixin - Class in dev.potota.itemstats.mixin
- load(Class<T>) - Static method in class dev.potota.itemstats.platform.Services
- logError(String, Object...) - Static method in class dev.potota.itemstats.impl.ItemStatsImpl
- logException(Exception) - Static method in class dev.potota.itemstats.impl.ItemStatsImpl
- logInfo(String, Object...) - Static method in class dev.potota.itemstats.impl.ItemStatsImpl
- LONG_PREVIEW_LENGTH - Static variable in class dev.potota.itemstats.api.ItemStat.RegistryMapped
M
- MOBS_KILLED - Static variable in class dev.potota.itemstats.api.BuiltInStats
- MOBS_SHEARED - Static variable in class dev.potota.itemstats.api.BuiltInStats
- MOD_ID - Static variable in class dev.potota.itemstats.impl.ItemStatsImpl
- modifyStat(ItemStack, UnaryOperator<T>) - Method in class dev.potota.itemstats.api.ItemStat
N
- name() - Method in class dev.potota.itemstats.api.ItemStat
- NEW_CODEC - Static variable in record class dev.potota.itemstats.api.StatsComponent
O
- onInitialize() - Method in class dev.potota.itemstats.impl.ItemStatsFabric
- onInitializeClient() - Method in class dev.potota.itemstats.impl.client.ItemStatsClientFabric
- onTooltipRender(ItemStack) - Static method in class dev.potota.itemstats.impl.client.ItemStatsClientImpl
P
- PLATFORM - Static variable in class dev.potota.itemstats.platform.Services
- PlayerMixin - Class in dev.potota.itemstats.mixin.fabric
- ProjectileWeaponItemMixin - Class in dev.potota.itemstats.mixin
- ProjectileWeaponItemMixin() - Constructor for class dev.potota.itemstats.mixin.ProjectileWeaponItemMixin
R
- registerBuiltInStats(BiConsumer<ResourceLocation, ItemStat<?>>) - Static method in class dev.potota.itemstats.impl.ItemStatsImpl
- registerKeys(Consumer<KeyMapping>) - Static method in class dev.potota.itemstats.impl.client.ItemStatsClientImpl
- Registries() - Constructor for class dev.potota.itemstats.api.ItemStats.Registries
- registry - Variable in class dev.potota.itemstats.api.ItemStat.RegistryMapped
- registry() - Method in class dev.potota.itemstats.api.ItemStat.RegistryMapped
- RegistryMapped() - Constructor for class dev.potota.itemstats.api.StatValue.RegistryMapped
- RegistryMapped(Map<ResourceLocation, V>) - Constructor for class dev.potota.itemstats.api.StatValue.RegistryMapped
- RegistryMapped(TagKey<Item>, Class<SV>, ResourceLocation, String) - Constructor for class dev.potota.itemstats.api.ItemStat.RegistryMapped
- RegistryMappedFloat() - Constructor for class dev.potota.itemstats.api.StatValue.RegistryMappedFloat
- RegistryMappedFloat(Map<ResourceLocation, Double>) - Constructor for class dev.potota.itemstats.api.StatValue.RegistryMappedFloat
- RegistryMappedFloat(TagKey<Item>, ResourceKey<Registry<T>>, String) - Constructor for class dev.potota.itemstats.api.ItemStat.RegistryMappedFloat
- RegistryMappedFloat(TagKey<Item>, ResourceLocation, String) - Constructor for class dev.potota.itemstats.api.ItemStat.RegistryMappedFloat
- RegistryMappedInteger() - Constructor for class dev.potota.itemstats.api.StatValue.RegistryMappedInteger
- RegistryMappedInteger(Map<ResourceLocation, Long>) - Constructor for class dev.potota.itemstats.api.StatValue.RegistryMappedInteger
- RegistryMappedInteger(TagKey<Item>, ResourceKey<Registry<T>>, String) - Constructor for class dev.potota.itemstats.api.ItemStat.RegistryMappedInteger
- RegistryMappedInteger(TagKey<Item>, ResourceLocation, String) - Constructor for class dev.potota.itemstats.api.ItemStat.RegistryMappedInteger
- render(GuiGraphics, int, int, float) - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen
- render(GuiGraphics, int, int, int, int, int, int, int, boolean, float) - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen.StatList.StatEntry
- renderBackground(GuiGraphics, int, int, float) - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen
- renderItem(GuiGraphics, float) - Method in class dev.potota.itemstats.impl.client.screen.SpinnyItemWidget
- renderWidget(GuiGraphics, int, int, float) - Method in class dev.potota.itemstats.impl.client.screen.SpinnyItemWidget
S
- ServerPlayerMixin - Class in dev.potota.itemstats.mixin
- Services - Class in dev.potota.itemstats.platform
- Services() - Constructor for class dev.potota.itemstats.platform.Services
- setSearchQuery(String) - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen.StatList
- SheepMixin - Class in dev.potota.itemstats.mixin.fabric
- SheepMixin() - Constructor for class dev.potota.itemstats.mixin.fabric.SheepMixin
- shortString() - Method in class dev.potota.itemstats.api.StatValue.Float
- shortString() - Method in class dev.potota.itemstats.api.StatValue.Integer
- shortString() - Method in class dev.potota.itemstats.api.StatValue.RegistryMappedFloat
- shortString() - Method in class dev.potota.itemstats.api.StatValue.RegistryMappedInteger
- shortString() - Method in class dev.potota.itemstats.api.StatValue
- SpinnyItemWidget - Class in dev.potota.itemstats.impl.client.screen
- SpinnyItemWidget(int, int, int, int, ItemStack) - Constructor for class dev.potota.itemstats.impl.client.screen.SpinnyItemWidget
- STAT - Static variable in class dev.potota.itemstats.api.ItemStats.Registries.Keys
- STAT - Static variable in class dev.potota.itemstats.api.ItemStats.Registries
- STAT_VALUE_CODEC - Static variable in class dev.potota.itemstats.api.ItemStats.Registries.Keys
- STAT_VALUE_CODEC - Static variable in class dev.potota.itemstats.api.ItemStats.Registries
- StatEvents - Class in dev.potota.itemstats.impl
- StatEvents() - Constructor for class dev.potota.itemstats.impl.StatEvents
- StatList(Minecraft, int, int, int, int, int, Map<ItemStat<?>, StatValue>) - Constructor for class dev.potota.itemstats.impl.client.screen.StatsScreen.StatList
- stats() - Method in record class dev.potota.itemstats.api.StatsComponent
-
Returns the value of the
statsrecord component. - STATS_COMPONENT - Static variable in class dev.potota.itemstats.api.ItemStats
- STATS_SCREEN_KEY - Static variable in class dev.potota.itemstats.impl.client.ItemStatsClientImpl
- StatsComponent - Record Class in dev.potota.itemstats.api
- StatsComponent(StatsComponent) - Constructor for record class dev.potota.itemstats.api.StatsComponent
- StatsComponent(Map<ItemStat<?>, StatValue>) - Constructor for record class dev.potota.itemstats.api.StatsComponent
-
Creates an instance of a
StatsComponentrecord class. - StatsScreen - Class in dev.potota.itemstats.impl.client.screen
- StatsScreen(ItemStack) - Constructor for class dev.potota.itemstats.impl.client.screen.StatsScreen
- StatsScreen.StatList - Class in dev.potota.itemstats.impl.client.screen
- StatsScreen.StatList.StatEntry - Class in dev.potota.itemstats.impl.client.screen
- StatValue - Class in dev.potota.itemstats.api
- StatValue() - Constructor for class dev.potota.itemstats.api.StatValue
- StatValue.Float - Class in dev.potota.itemstats.api
- StatValue.Integer - Class in dev.potota.itemstats.api
- StatValue.RegistryMapped<V> - Class in dev.potota.itemstats.api
- StatValue.RegistryMappedFloat - Class in dev.potota.itemstats.api
- StatValue.RegistryMappedInteger - Class in dev.potota.itemstats.api
T
- ThrownTridentMixin - Class in dev.potota.itemstats.mixin
- toString() - Method in record class dev.potota.itemstats.api.StatsComponent
-
Returns a string representation of this record class.
- toString() - Method in class dev.potota.itemstats.api.StatValue.Float
- toString() - Method in class dev.potota.itemstats.api.StatValue.Integer
- toString() - Method in class dev.potota.itemstats.api.StatValue.RegistryMapped
- total(ItemStack) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMappedFloat
- total(ItemStack) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMappedInteger
- TrackWeaponStack - Interface in dev.potota.itemstats.interfaces
- translationId(ResourceLocation) - Method in class dev.potota.itemstats.api.ItemStat.RegistryMapped
- translationIdFormat - Variable in class dev.potota.itemstats.api.ItemStat.RegistryMapped
- translationIdFormat() - Method in class dev.potota.itemstats.api.ItemStat.RegistryMapped
U
- updateWidgetNarration(NarrationElementOutput) - Method in class dev.potota.itemstats.impl.client.screen.SpinnyItemWidget
- useItem - Variable in class dev.potota.itemstats.mixin.LivingEntityMixin
V
- value() - Method in class dev.potota.itemstats.api.StatValue.Float
- value() - Method in class dev.potota.itemstats.api.StatValue.Integer
- valueClass - Variable in class dev.potota.itemstats.api.ItemStat
- values - Variable in class dev.potota.itemstats.api.StatValue.RegistryMapped
- values() - Method in class dev.potota.itemstats.api.StatValue.RegistryMapped
W
- withDecoration(int) - Method in class dev.potota.itemstats.impl.client.screen.StatsScreen.StatList.StatEntry
All Classes and Interfaces|All Packages|Constant Field Values