Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- adapter() - Element in annotation interface net.xun.lib.common.api.annotations.PersistentNbt
-
Specifies a custom serialization strategy for the annotated field.
- ADAPTERS - Static variable in class net.xun.lib.common.internal.nbt.NbtAdapterCache
-
Concurrent registry map storing adapters by target type
- addCustomRule(InventoryPredicate) - Method in class net.xun.lib.common.api.item.fuzzy.FuzzyConfig
-
Deprecated.
- addItemToHands(Player, ItemStack) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Attempts to add the item to the player's main hand or offhand, whichever is empty first.
- ALL - Enum constant in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
- allOf(List<InventoryPredicate>) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- allOf(InventoryPredicate...) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- allOf(InventoryPredicate, InventoryPredicate) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- ambient() - Method in class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- and(InventoryPredicate) - Method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- anyOf(List<InventoryPredicate>) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- anyOf(InventoryPredicate...) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- anyOf(InventoryPredicate, InventoryPredicate) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- apply(LivingEntity, MobEffectInstance) - Method in enum class net.xun.lib.common.api.world.effect.EffectStackingStrategy
- applyAttributes(Item.Properties, float, float) - Method in interface net.xun.lib.common.api.item.tools.AttributeHelper
-
Applies combat attributes to tool properties.
- applyAttributes(Item.Properties, float, float) - Method in class net.xun.lib.common.api.item.tools.GenericAttributeHelper
-
Applies standard combat attributes using Minecraft's attribute system.
- applyEffectsWithStrategy(LivingEntity, List<MobEffectInstance>, EffectStackingStrategy) - Static method in class net.xun.lib.common.api.util.MobEffectUtils
-
Applies effects to an entity using a specified
EffectStackingStrategy. - applySingleEffect(LivingEntity, MobEffectInstance, int, boolean) - Static method in class net.xun.lib.common.api.util.MobEffectUtils
-
Applies a single effect to the entity if conditions are met or if forced.
- applySmartEffects(LivingEntity, List<MobEffectInstance>, int, boolean) - Static method in class net.xun.lib.common.api.util.MobEffectUtils
-
Applies effects to an entity only if they are not sufficiently present or if forced.
- applyTo(LivingEntity) - Method in class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- ARMOR - Enum constant in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
- ARMOR_FIRST - Enum constant in enum class net.xun.lib.common.api.inventory.InventoryCycleOrder
-
Armor (36-39) → Offhand (40) → Main inventory
- ArmorConfigurator - Interface in net.xun.lib.common.api.item.armor
- ArmorSet - Class in net.xun.lib.common.api.item.armor
- ArmorSet(String, Holder<ArmorMaterial>, int, Item.Properties, ArmorConfigurator, ItemRegistrar) - Constructor for class net.xun.lib.common.api.item.armor.ArmorSet
- ArmorSet.Builder - Class in net.xun.lib.common.api.item.armor
- ArmorSlotsUtils - Class in net.xun.lib.common.api.util
-
Provides specialized utilities for managing and inspecting player armor equipment.
- ArmorType - Enum Class in net.xun.lib.common.api.item.armor
- asHex() - Method in record class net.xun.lib.common.api.misc.color.HSLColor
- asHex() - Method in record class net.xun.lib.common.api.misc.color.HSVColor
- asHex() - Method in interface net.xun.lib.common.api.misc.color.IColorBase
- asHex() - Method in record class net.xun.lib.common.api.misc.color.RGBColor
- asHSL() - Method in interface net.xun.lib.common.api.misc.color.IColorBase
- asHSV() - Method in interface net.xun.lib.common.api.misc.color.IColorBase
- asRGB() - Method in record class net.xun.lib.common.api.misc.color.HSLColor
- asRGB() - Method in record class net.xun.lib.common.api.misc.color.HSVColor
- asRGB() - Method in interface net.xun.lib.common.api.misc.color.IColorBase
- asRGB() - Method in record class net.xun.lib.common.api.misc.color.RGBColor
- AT_LEAST - Enum constant in enum class net.xun.lib.common.api.item.fuzzy.FuzzyConfig.CountMode
-
Match if source has equal or greater count
- AttributeHelper - Interface in net.xun.lib.common.api.item.tools
-
Defines a strategy for applying attribute modifiers to tool items.
- AXE - Enum constant in enum class net.xun.lib.common.api.item.tools.ToolType
-
Axe tool type
B
- BASIC - Static variable in class net.xun.lib.common.api.item.fuzzy.FuzzyMatcher
-
Preconfigured matcher that ignores durability, enchantments, and all data components.
- BLACKLIST - Enum constant in enum class net.xun.lib.common.api.item.fuzzy.FuzzyConfig.FilterMode
-
Exclude specified objects from comparison
- blendAdd(IColorBase, IColorBase) - Static method in class net.xun.lib.common.api.misc.color.ColorCombiner
- blendAverage(IColorBase, IColorBase) - Static method in class net.xun.lib.common.api.misc.color.ColorCombiner
- blendDarken(IColorBase, IColorBase) - Static method in class net.xun.lib.common.api.misc.color.ColorCombiner
- blendLighten(IColorBase, IColorBase) - Static method in class net.xun.lib.common.api.misc.color.ColorCombiner
- blendMultiply(IColorBase, IColorBase) - Static method in class net.xun.lib.common.api.misc.color.ColorCombiner
- blendOverlay(IColorBase, IColorBase) - Static method in class net.xun.lib.common.api.misc.color.ColorCombiner
- blendScreen(IColorBase, IColorBase) - Static method in class net.xun.lib.common.api.misc.color.ColorCombiner
- BlockEntityDataManager - Class in net.xun.lib.common.internal.block.entity
-
Central manager for block entity data operations.
- BlockEntityDataManager() - Constructor for class net.xun.lib.common.internal.block.entity.BlockEntityDataManager
- BlockEntityMixin - Class in net.xun.lib.common.internal.mixin
- BlockEntityMixin() - Constructor for class net.xun.lib.common.internal.mixin.BlockEntityMixin
- BlockPosUtils - Class in net.xun.lib.common.api.util
- blue() - Method in record class net.xun.lib.common.api.misc.color.RGBColor
-
Returns the value of the
bluerecord component. - boots() - Method in class net.xun.lib.common.api.item.armor.ArmorSet
- BOOTS - Enum constant in enum class net.xun.lib.common.api.item.armor.ArmorType
- build() - Method in class net.xun.lib.common.api.item.armor.ArmorSet.Builder
- build() - Method in class net.xun.lib.common.api.item.tools.ToolSet.Builder
-
Builds the configured ToolSet instance.
- build() - Method in class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- Builder(String, Holder<ArmorMaterial>) - Constructor for class net.xun.lib.common.api.item.armor.ArmorSet.Builder
- Builder(String, Tier, AttributeHelper) - Constructor for class net.xun.lib.common.api.item.tools.ToolSet.Builder
-
Constructs a new ToolSet builder.
C
- chestplate() - Method in class net.xun.lib.common.api.item.armor.ArmorSet
- CHESTPLATE - Enum constant in enum class net.xun.lib.common.api.item.armor.ArmorType
- clearBothHands(Player) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Clears both the main hand and offhand of the player.
- clientTick(Level, BlockPos, BlockState) - Method in interface net.xun.lib.common.api.block.entity.ITickableBlockEntity
- clientTick(Level, BlockPos, BlockState) - Method in interface net.xun.lib.common.internal.block.entity.ClientTickable
- ClientTickable - Interface in net.xun.lib.common.internal.block.entity
- collectMatching(Container, InventoryPredicate, PlayerInventorySection) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Collects copies of items from an inventory section matching the predicate.
- collectMatching(Container, InventoryPredicate, SlotRange) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Collects copies of all item stacks matching the predicate.
- ColorCombiner - Class in net.xun.lib.common.api.misc.color
- ColorCombiner() - Constructor for class net.xun.lib.common.api.misc.color.ColorCombiner
- ColorConverter - Class in net.xun.lib.common.api.misc.color
- ColorConverter() - Constructor for class net.xun.lib.common.api.misc.color.ColorConverter
- combine(SlotRange...) - Static method in class net.xun.lib.common.api.inventory.slot.SlotRange
-
Combines multiple slot ranges into one.
- combineAsNamespacedID(String, String...) - Static method in class net.xun.lib.common.api.util.CommonUtils
-
Combines a namespace with path components into a namespaced ID string.
- Common Causes - Search tag in exception class net.xun.lib.common.api.exceptions.InvalidMatcherConfigurationException
- Section
- CommonUtils - Class in net.xun.lib.common.api.util
- contains(int, Container) - Method in class net.xun.lib.common.api.inventory.slot.SlotRange
-
Checks if a slot is within this range for a specific container.
- copy() - Method in class net.xun.lib.common.api.item.fuzzy.FuzzyConfig
-
Creates a deep copy of this configuration.
- countArmorPiecesOfMaterial(Player, Holder<ArmorMaterial>) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
- countDamagedPieces(Player) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
- createAABBFromCenter(BlockPos, double, double, double) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Creates an AABB centered at the specified BlockPos with given radii in each axis.
- createAABBFromCorners(BlockPos, BlockPos) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Creates an AABB spanning between two BlockPos corners (inclusive).
- createArmor(ArmorType, Holder<ArmorMaterial>, int, Item.Properties) - Method in interface net.xun.lib.common.api.item.armor.ArmorConfigurator
- createTicker(BlockEntityType<?>) - Static method in interface net.xun.lib.common.api.block.entity.ITickableBlockEntity
- createTool(ToolType, Tier, Item.Properties) - Method in interface net.xun.lib.common.api.item.tools.ToolConfigurator
-
Creates a tool item instance.
D
- DEFAULT - Static variable in interface net.xun.lib.common.api.item.armor.ArmorConfigurator
- DEFAULT - Static variable in interface net.xun.lib.common.api.item.tools.ToolConfigurator
-
Default configuration using standard tool constructors.
- doesAABBIntersectBlock(AABB, BlockPos) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Checks if a BlockPos's corresponding block area intersects with an AABB.
E
- EffectStackingStrategy - Enum Class in net.xun.lib.common.api.world.effect
-
Defines strategies for applying mob effects to entities, controlling how new effects interact with existing ones.
- equals(Object) - Method in record class net.xun.lib.common.api.misc.color.HSLColor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class net.xun.lib.common.api.misc.color.HSVColor
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in interface net.xun.lib.common.api.misc.color.IColorBase
- equals(Object) - Method in record class net.xun.lib.common.api.misc.color.RGBColor
-
Indicates whether some other object is "equal to" this one.
- EXACT - Enum constant in enum class net.xun.lib.common.api.item.fuzzy.FuzzyConfig.CountMode
-
Require exact count matches
- expandAABB(AABB, double, double, double) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Expands an AABB by specified amounts in each direction.
- EXTEND_DURATION - Enum constant in enum class net.xun.lib.common.api.world.effect.EffectStackingStrategy
-
Combines durations and keeps the highest amplifier when reapplying.
- extractItems(Container, InventoryPredicate, int, SlotRange, InventoryCycleOrder) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Removes items from a container with slot priority control.
- extractItems(Player, InventoryPredicate, int, PlayerInventorySection, InventoryCycleOrder) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Removes items from a specific inventory section.
- extractSingleItem(Container, InventoryPredicate, SlotRange, InventoryCycleOrder) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Removes a single item from the specified slot range.
- extractSingleItem(Player, InventoryPredicate, PlayerInventorySection, InventoryCycleOrder) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Removes a single item from an inventory section.
F
- Features - Search tag in class net.xun.lib.common.api.item.fuzzy.FuzzyMatcher
- Section
- findAdapter(Class<?>) - Static method in class net.xun.lib.common.internal.nbt.NbtAdapterCache
-
Retrieves the appropriate adapter for a given type with fallback handling.
- findFirstMatchingSlot(Container, InventoryPredicate, SlotRange) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Finds the first slot in the container that contains an item matching the predicate.
- findFirstMatchingSlot(Player, InventoryPredicate, PlayerInventorySection) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Finds the first slot in an inventory section with a matching item.
- FORCE_OVERRIDE - Enum constant in enum class net.xun.lib.common.api.world.effect.EffectStackingStrategy
-
Always applies the new effect, overwriting any existing version.
- ForgeItemRegistrar - Class in net.xun.lib.forge.internal.registries
-
Internal Forge implementation of item registration using deferred registers.
- ForgeItemRegistrar() - Constructor for class net.xun.lib.forge.internal.registries.ForgeItemRegistrar
- ForgePlatformHelper - Class in net.xun.lib.forge.internal.platform
- ForgePlatformHelper() - Constructor for class net.xun.lib.forge.internal.platform.ForgePlatformHelper
- ForgeRegistrationPlatform - Class in net.xun.lib.forge.internal.platform
- ForgeRegistrationPlatform() - Constructor for class net.xun.lib.forge.internal.platform.ForgeRegistrationPlatform
- FORWARD - Enum constant in enum class net.xun.lib.common.api.inventory.InventoryCycleOrder
-
Slots 0 → max (standard iteration)
- FuzzyConfig - Class in net.xun.lib.common.api.item.fuzzy
-
Configuration container for
FuzzyMatchersettings, defining comparison rules and component filtering behavior. - FuzzyConfig() - Constructor for class net.xun.lib.common.api.item.fuzzy.FuzzyConfig
- FuzzyConfig.CountMode - Enum Class in net.xun.lib.common.api.item.fuzzy
-
Enum defining count comparison strategies:
FuzzyConfig.CountMode.IGNORE- Disregards item counts entirelyFuzzyConfig.CountMode.EXACT- Requires identical stack sizesFuzzyConfig.CountMode.AT_LEAST- Requires source count ≥ target count - FuzzyConfig.FilterMode - Enum Class in net.xun.lib.common.api.item.fuzzy
-
Enum defining filtering modes:
FuzzyConfig.FilterMode.WHITELIST- Only compare specified objectsFuzzyConfig.FilterMode.BLACKLIST- Compare all objects except specified - FuzzyMatcher - Class in net.xun.lib.common.api.item.fuzzy
-
Advanced item comparison system with configurable matching rules, supporting both individual item checks and pairwise item comparisons.
G
- GenericAttributeHelper - Class in net.xun.lib.common.api.item.tools
-
Default implementation applying standard Minecraft attack attributes.
- GenericAttributeHelper() - Constructor for class net.xun.lib.common.api.item.tools.GenericAttributeHelper
- GenericNbtAdapter - Class in net.xun.lib.common.api.nbt.adapters
-
Default NBT adapter handling serialization through reflection-based
NbtUtilsmethods. - GenericNbtAdapter() - Constructor for class net.xun.lib.common.api.nbt.adapters.GenericNbtAdapter
- get() - Method in class net.xun.lib.common.api.registries.LazyItemReference
- getAdapter() - Method in class net.xun.lib.common.internal.nbt.NbtFieldAccessor
- getAdapterFor(Class<T>) - Static method in interface net.xun.lib.common.api.nbt.INbtAdapter
-
Retrieves the most appropriate adapter for a given type from the registry.
- getAll() - Method in class net.xun.lib.common.api.item.armor.ArmorSet
- getAll() - Method in class net.xun.lib.common.api.item.tools.ToolSet
- getAllWornArmor(Player) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
- getArmorDurabilityPercentage(Player, int) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
-
Get the remaining armor durability as percentage
- getArmorInSlot(Player, int) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
-
Get the armor in the specific slot
- getAssociatedType() - Method in interface net.xun.lib.common.api.block.entity.TickingEntityBlock
- getAvailableSpace(Container) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Calculates total available space of a container
- getAvailableSpace(Player) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Calculates total available space for a specific item type.
- getAxe() - Method in class net.xun.lib.common.api.item.tools.ToolSet
- getBlocksInAABB(AABB) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Retrieves all BlockPos that intersect with the given AABB.
- getContainerSlot(int, int, int) - Static method in class net.xun.lib.common.api.inventory.slot.SlotGetter
-
Converts GUI grid coordinates (row and column) to the corresponding container slot index.
- getDisc(BlockPos, int) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Generates a 2D circular disc of BlockPos around a center point at the same Y level.
- getEnd() - Method in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
- getEnd() - Method in class net.xun.lib.common.api.inventory.slot.SlotRange
- getEnvironmentName() - Method in interface net.xun.lib.common.internal.platform.services.IPlatformHelper
-
Gets the name of the environment type as a string.
- getField() - Method in class net.xun.lib.common.internal.nbt.NbtFieldAccessor
- getGetter() - Method in class net.xun.lib.common.internal.nbt.NbtFieldAccessor
- getHoe() - Method in class net.xun.lib.common.api.item.tools.ToolSet
- getHollowCube(BlockPos, int) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Generates positions for a hollow cubic frame around a center point.
- getHotbarSlotIndex(int) - Static method in class net.xun.lib.common.api.inventory.slot.SlotGetter
-
Returns the hotbar slot index corresponding to the given hotbar number.
- getId() - Method in class net.xun.lib.common.api.registries.LazyItemReference
- getIntersectionAABB(AABB, AABB) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Computes the intersection of two AABBs if they overlap.
- getInventorySlotIndex(int, int, PlayerInventorySection) - Static method in class net.xun.lib.common.api.inventory.slot.SlotGetter
-
Converts grid coordinates (row and column) within a specific inventory section to the corresponding inventory slot index.
- getItemInSlot(Container, int) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Get the item of the specific slot in the container
- getItemInSlot(Player, int) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Get the item of the specific slot in the inventory
- getItemRegistrar() - Static method in class net.xun.lib.common.internal.platform.RegistrationServices
- getItemRegistrar() - Method in interface net.xun.lib.common.internal.platform.services.IRegistrationPlatform
- getItemRegistrar() - Method in class net.xun.lib.forge.internal.platform.ForgeRegistrationPlatform
- getKey(Object) - Static method in class net.xun.lib.common.api.util.CommonUtils
-
Retrieves the registry key for a given object by checking known registries.
- getModId() - Static method in class net.xun.lib.common.internal.misc.ModIDManager
- getNameSuffix() - Method in enum class net.xun.lib.common.api.item.armor.ArmorType
- getNameSuffix() - Method in enum class net.xun.lib.common.api.item.tools.ToolType
- getPickaxe() - Method in class net.xun.lib.common.api.item.tools.ToolSet
- getPlatformName() - Method in interface net.xun.lib.common.internal.platform.services.IPlatformHelper
-
Gets the name of the current platform
- getPlatformName() - Method in class net.xun.lib.forge.internal.platform.ForgePlatformHelper
- getRegistryID(Object) - Static method in class net.xun.lib.common.api.util.CommonUtils
-
Gets the path component of the registry key for the given object.
- getRegistryID(ItemLike) - Static method in class net.xun.lib.common.api.util.CommonUtils
-
Gets the path component of the registry key for an
ItemLikeobject. - getSetter() - Method in class net.xun.lib.common.internal.nbt.NbtFieldAccessor
- getShovel() - Method in class net.xun.lib.common.api.item.tools.ToolSet
- getSlot() - Method in enum class net.xun.lib.common.api.item.armor.ArmorType
- getSlotOrder(Container, SlotRange) - Method in enum class net.xun.lib.common.api.inventory.InventoryCycleOrder
-
Generates slot access order based on container type and range constraints
- getSlotRange() - Method in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
-
Creates a dynamic slot range that adapts to container size.
- getSlots(Container) - Method in class net.xun.lib.common.api.inventory.slot.SlotRange
-
Gets slots as an iterable sequence adjusted for container size.
- getSphere(BlockPos, int) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Generates a 3D sphere of BlockPos around a center point.
- getSquare(BlockPos, int) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Generates a 2D square of BlockPos around a center point at the same Y level.
- getStart() - Method in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
- getStart() - Method in class net.xun.lib.common.api.inventory.slot.SlotRange
- getSword() - Method in class net.xun.lib.common.api.item.tools.ToolSet
- getTargetType() - Method in class net.xun.lib.common.api.nbt.adapters.GenericNbtAdapter
-
Specifies
Objectas the fallback target type, ensuring this adapter is used only when no type-specific adapters are available. - getTargetType() - Method in interface net.xun.lib.common.api.nbt.INbtAdapter
-
Returns the exact class this adapter is designed to handle.
- getTicker(Level, BlockState, BlockEntityType<T>) - Method in interface net.xun.lib.common.api.block.entity.TickingEntityBlock
- getType() - Method in enum class net.xun.lib.common.api.item.armor.ArmorType
- getUnionAABB(AABB, AABB) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Computes the union AABB that fully contains both input AABBs.
- green() - Method in record class net.xun.lib.common.api.misc.color.RGBColor
-
Returns the value of the
greenrecord component.
H
- hasArmorInSlot(Player, int) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
-
Checks if a specific armor slot contains any armor item.
- hasEmptyHand(Player) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Checks if either of the player's hands is empty.
- hasEmptyHand(Player, InteractionHand) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Checks if the specified hand is empty.
- hasEnchantmentInSlot(Player, int) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
-
Checks if the armor in the specific slot has any enchantments
- hasFullArmorSet(Player) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
-
Checks if the player has armor in all armor slots
- hasFullArmorSetOfMaterial(Player, Holder<ArmorMaterial>) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
-
Checks if the player is wearing armor in all armor slots and if all the armors matches the specific material
- hashCode() - Method in record class net.xun.lib.common.api.misc.color.HSLColor
-
Returns a hash code value for this object.
- hashCode() - Method in record class net.xun.lib.common.api.misc.color.HSVColor
-
Returns a hash code value for this object.
- hashCode() - Method in interface net.xun.lib.common.api.misc.color.IColorBase
- hashCode() - Method in record class net.xun.lib.common.api.misc.color.RGBColor
-
Returns a hash code value for this object.
- hasItem(Container, InventoryPredicate, SlotRange) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Checks if a container has at least one item matching the predicate.
- hasItem(Player, InventoryPredicate, PlayerInventorySection) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Checks if a container's section contains at least one matching item.
- hasItemCount(Container, InventoryPredicate, int, SlotRange) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Checks if a container contains at least
minCountitems matching the predicate. - hasItemCount(Player, InventoryPredicate, int, PlayerInventorySection) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Checks if a container contains at least
minCountitems matching the predicate. - hasNext() - Method in class net.xun.lib.common.api.inventory.slot.SlotIterator
- hasSetBonus(Player, Holder<ArmorMaterial>, int) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
- hasSufficientEffect(LivingEntity, MobEffectInstance, int) - Static method in class net.xun.lib.common.api.util.MobEffectUtils
-
Checks if the entity has a sufficient version of the given effect.
- helmet() - Method in class net.xun.lib.common.api.item.armor.ArmorSet
- HELMET - Enum constant in enum class net.xun.lib.common.api.item.armor.ArmorType
- hidden() - Method in class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- hideIcon() - Method in class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- HOE - Enum constant in enum class net.xun.lib.common.api.item.tools.ToolType
-
Hoe tool type
- HOTBAR - Enum constant in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
- HSLColor - Record Class in net.xun.lib.common.api.misc.color
-
Represents a color in the HSL (Hue, Saturation, Lightness) color space.
- HSLColor(float, float, float) - Constructor for record class net.xun.lib.common.api.misc.color.HSLColor
-
Constructs an HSLColor with the specified hue, saturation, and lightness.
- HSLtoRGB(HSLColor) - Static method in class net.xun.lib.common.api.misc.color.ColorConverter
- HSVColor - Record Class in net.xun.lib.common.api.misc.color
-
Represents a color in the HSV (Hue, Saturation, Value) color space.
- HSVColor(float, float, float) - Constructor for record class net.xun.lib.common.api.misc.color.HSVColor
-
Constructs an HSVColor with the specified hue, saturation, and lightness.
- HSVtoRGB(HSVColor) - Static method in class net.xun.lib.common.api.misc.color.ColorConverter
- hue() - Method in record class net.xun.lib.common.api.misc.color.HSLColor
-
Returns the value of the
huerecord component. - hue() - Method in record class net.xun.lib.common.api.misc.color.HSVColor
-
Returns the value of the
huerecord component.
I
- IColorBase - Interface in net.xun.lib.common.api.misc.color
- IGNORE - Enum constant in enum class net.xun.lib.common.api.item.fuzzy.FuzzyConfig.CountMode
-
Ignore item counts in comparisons
- IGNORE_ALL - Static variable in class net.xun.lib.common.api.item.fuzzy.FuzzyMatcher
-
Preconfigured matcher that ignores count, durability, enchantments, and all data components.
- INbtAdapter<T> - Interface in net.xun.lib.common.api.nbt
-
Defines a type-specific serialization contract for converting objects to/from NBT format.
- init() - Static method in class net.xun.lib.common.internal.XunLibCommon
- initialize() - Static method in class net.xun.lib.common.internal.nbt.NbtAdapterCache
-
Initializes the adapter registry using ServiceLoader discovery.
- initialized - Static variable in class net.xun.lib.common.internal.nbt.NbtAdapterCache
-
Initialization state flag (volatile for double-checked locking)
- insertAndDiscardOverflow(Container, ItemStack) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Adds items to a container and permanently discards any overflow
- insertAndDiscardOverflow(Player, ItemStack) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Adds items to a player's inventory and permanently discards any overflow
- insertItem(Container, ItemStack) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Attempts to add an item stack to a container.
- insertItem(Player, ItemStack) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Attempts to add an item stack to an inventory.
- InvalidColorFormatException - Exception Class in net.xun.lib.common.api.exceptions
- InvalidColorFormatException(String) - Constructor for exception class net.xun.lib.common.api.exceptions.InvalidColorFormatException
- InvalidMatcherConfigurationException - Exception Class in net.xun.lib.common.api.exceptions
-
Exception thrown when invalid configuration combinations are detected in a
FuzzyMatcher. - InvalidMatcherConfigurationException(String) - Constructor for exception class net.xun.lib.common.api.exceptions.InvalidMatcherConfigurationException
- InventoryCycleOrder - Enum Class in net.xun.lib.common.api.inventory
- InventoryPredicate - Interface in net.xun.lib.common.api.inventory.predicates
- InventoryUtils - Class in net.xun.lib.common.api.util
-
Universal inventory utilities for all container types.
- IPlatformHelper - Interface in net.xun.lib.common.internal.platform.services
- IRegistrationPlatform - Interface in net.xun.lib.common.internal.platform.services
- IS_DAMAGED - Static variable in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- IS_EMPTY - Static variable in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- IS_FULL_STACK - Static variable in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- isArmorMaterialInSlot(Player, int, Holder<ArmorMaterial>) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
-
Checks if armor in a specific slot matches given material.
- isDevelopmentEnvironment() - Method in interface net.xun.lib.common.internal.platform.services.IPlatformHelper
-
Check if the game is currently in a development environment.
- isDevelopmentEnvironment() - Method in class net.xun.lib.forge.internal.platform.ForgePlatformHelper
- isModLoaded(String) - Method in interface net.xun.lib.common.internal.platform.services.IPlatformHelper
-
Checks if a mod with the given id is loaded.
- isModLoaded(String) - Method in class net.xun.lib.forge.internal.platform.ForgePlatformHelper
- isWithinCube(BlockPos, BlockPos, int) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Checks if a position is within a cubic area around a center.
- isWithinSphere(BlockPos, BlockPos, double) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Checks if a position is within a spherical radius of another position.
- ItemRegistrar - Interface in net.xun.lib.common.internal.item
-
Internal API for registering items with the mod registry system.
- ITickableBlockEntity - Interface in net.xun.lib.common.api.block.entity
L
- LazyItemReference<T> - Class in net.xun.lib.common.api.registries
- LazyItemReference(String, Supplier<T>) - Constructor for class net.xun.lib.common.api.registries.LazyItemReference
- leggings() - Method in class net.xun.lib.common.api.item.armor.ArmorSet
- LEGGINGS - Enum constant in enum class net.xun.lib.common.api.item.armor.ArmorType
- lightness() - Method in record class net.xun.lib.common.api.misc.color.HSLColor
-
Returns the value of the
lightnessrecord component. - load(Class<T>) - Static method in class net.xun.lib.common.internal.platform.Services
- load(Object, CompoundTag) - Method in class net.xun.lib.common.internal.nbt.NbtFieldAccessor
-
Reads a field's value from NBT using its configured adapter
- load(Tag) - Method in class net.xun.lib.common.api.nbt.adapters.GenericNbtAdapter
-
Deserializes objects using
NbtUtils's reflection-based approach. - load(Tag) - Method in interface net.xun.lib.common.api.nbt.INbtAdapter
-
Reconstructs an object instance from its NBT representation.
- loadPersistedFields(BlockEntity, CompoundTag) - Static method in class net.xun.lib.common.internal.block.entity.BlockEntityDataManager
-
Loads an object's state from NBT using annotated fields.
- LOGGER - Static variable in class net.xun.lib.common.internal.XunLibConstants
M
- MAIN_INVENTORY - Enum constant in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
- matches(int) - Method in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
-
Checks if a slot belongs to this section in a standard player inventory.
- matches(ItemStack, ItemStack) - Method in class net.xun.lib.common.api.item.fuzzy.FuzzyMatcher
-
Tests if two item stacks match according to the configured rules.
- matchesAllArmor(Player, InventoryPredicate) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
-
Checks if all armor slots contains an armor that matches the condition
- matchesInSlot(Player, int, InventoryPredicate) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
-
Checks if the slot contains an armor that matches the condition
- matchesItem(List<Item>) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- matchesItem(Item) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- matchesItem(Item...) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- matchesTag(TagKey<Item>) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
- mayPlace(ItemStack) - Method in class net.xun.lib.common.api.inventory.slot.TakeOnlySlot
- MixinTitleScreen - Class in net.xun.lib.forge.internal.mixin
- MixinTitleScreen() - Constructor for class net.xun.lib.forge.internal.mixin.MixinTitleScreen
- MobEffectInstanceBuilder - Class in net.xun.lib.common.api.world.effect
- MobEffectInstanceBuilder(Holder<MobEffect>) - Constructor for class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- MobEffectUtils - Class in net.xun.lib.common.api.util
-
Utility class for applying mob effects to entities with various strategies and conditions.
- MOD_ID - Static variable in class net.xun.lib.common.internal.XunLibConstants
- ModIDManager - Class in net.xun.lib.common.internal.misc
- ModIDManager() - Constructor for class net.xun.lib.common.internal.misc.ModIDManager
- modResourceLocation(String) - Static method in class net.xun.lib.common.api.util.CommonUtils
-
Creates a ResourceLocation using the auto-detected or manually set mod ID.
- ModSetup - Class in net.xun.lib.common.api
- ModSetup() - Constructor for class net.xun.lib.common.api.ModSetup
- move(BlockPos, Direction, int) - Static method in class net.xun.lib.common.api.util.BlockPosUtils
-
Moves a position in a specific direction.
N
- NAME - Static variable in class net.xun.lib.common.internal.XunLibConstants
- namespacedID(String...) - Static method in class net.xun.lib.common.api.util.CommonUtils
-
Generates a namespaced ID string using the current mod ID.
- NbtAdapterCache - Class in net.xun.lib.common.internal.nbt
-
Registry cache for NBT serialization adapters with thread-safe initialization.
- NbtAdapterCache() - Constructor for class net.xun.lib.common.internal.nbt.NbtAdapterCache
- NbtFieldAccessor - Class in net.xun.lib.common.internal.nbt
-
Runtime field accessor for
PersistentNbtannotated fields. - NbtFieldAccessor(Field) - Constructor for class net.xun.lib.common.internal.nbt.NbtFieldAccessor
- NbtUtils - Class in net.xun.lib.common.internal.misc
-
Core NBT serialization utilities with extended type support and reflection capabilities.
- NbtUtils() - Constructor for class net.xun.lib.common.internal.misc.NbtUtils
- needsRepair(int, Player) - Static method in class net.xun.lib.common.api.util.ArmorSlotsUtils
- net.xun.lib.common.api - package net.xun.lib.common.api
- net.xun.lib.common.api.annotations - package net.xun.lib.common.api.annotations
- net.xun.lib.common.api.block.entity - package net.xun.lib.common.api.block.entity
- net.xun.lib.common.api.exceptions - package net.xun.lib.common.api.exceptions
- net.xun.lib.common.api.inventory - package net.xun.lib.common.api.inventory
- net.xun.lib.common.api.inventory.predicates - package net.xun.lib.common.api.inventory.predicates
- net.xun.lib.common.api.inventory.slot - package net.xun.lib.common.api.inventory.slot
- net.xun.lib.common.api.item.armor - package net.xun.lib.common.api.item.armor
- net.xun.lib.common.api.item.fuzzy - package net.xun.lib.common.api.item.fuzzy
- net.xun.lib.common.api.item.tools - package net.xun.lib.common.api.item.tools
- net.xun.lib.common.api.misc.color - package net.xun.lib.common.api.misc.color
- net.xun.lib.common.api.nbt - package net.xun.lib.common.api.nbt
- net.xun.lib.common.api.nbt.adapters - package net.xun.lib.common.api.nbt.adapters
- net.xun.lib.common.api.registries - package net.xun.lib.common.api.registries
- net.xun.lib.common.api.util - package net.xun.lib.common.api.util
- net.xun.lib.common.api.world.effect - package net.xun.lib.common.api.world.effect
- net.xun.lib.common.internal - package net.xun.lib.common.internal
- net.xun.lib.common.internal.block.entity - package net.xun.lib.common.internal.block.entity
- net.xun.lib.common.internal.item - package net.xun.lib.common.internal.item
- net.xun.lib.common.internal.misc - package net.xun.lib.common.internal.misc
- net.xun.lib.common.internal.mixin - package net.xun.lib.common.internal.mixin
- net.xun.lib.common.internal.nbt - package net.xun.lib.common.internal.nbt
- net.xun.lib.common.internal.platform - package net.xun.lib.common.internal.platform
- net.xun.lib.common.internal.platform.services - package net.xun.lib.common.internal.platform.services
- net.xun.lib.forge.internal - package net.xun.lib.forge.internal
- net.xun.lib.forge.internal.mixin - package net.xun.lib.forge.internal.mixin
- net.xun.lib.forge.internal.platform - package net.xun.lib.forge.internal.platform
- net.xun.lib.forge.internal.registries - package net.xun.lib.forge.internal.registries
- next() - Method in class net.xun.lib.common.api.inventory.slot.SlotIterator
- not(InventoryPredicate) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
O
- of(int, int) - Static method in class net.xun.lib.common.api.inventory.slot.SlotRange
-
Creates a fixed SlotRange from explicit values.
- of(Holder<MobEffect>) - Static method in class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- OFFHAND - Enum constant in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
- ofType(Class<? extends Item>) - Static method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
-
Creates a predicate matching items of specific class hierarchy
- or(InventoryPredicate) - Method in interface net.xun.lib.common.api.inventory.predicates.InventoryPredicate
P
- PersistentNbt - Annotation Interface in net.xun.lib.common.api.annotations
-
Annotation marking fields for automatic NBT serialization/deserialization processing.
- PICKAXE - Enum constant in enum class net.xun.lib.common.api.item.tools.ToolType
-
Pickaxe tool type
- PLATFORM - Static variable in class net.xun.lib.common.internal.platform.RegistrationServices
- PLATFORM - Static variable in class net.xun.lib.common.internal.platform.Services
- PLAYER_PRIORITY - Enum constant in enum class net.xun.lib.common.api.inventory.InventoryCycleOrder
-
Hotbar (0-8) → Main inventory (9-35) → Offhand (40)
- PlayerInventorySection - Enum Class in net.xun.lib.common.api.inventory
-
Represents inventory sections with dynamic slot ranges and validation.
- PlayerInventoryUtils - Class in net.xun.lib.common.api.util
-
Specific utilities for managing player inventory, disable client-side by default
- Preconfigured Matchers - Search tag in class net.xun.lib.common.api.item.fuzzy.FuzzyMatcher
- Section
- PREVENT_STACKING - Enum constant in enum class net.xun.lib.common.api.world.effect.EffectStackingStrategy
R
- readField(Tag) - Static method in class net.xun.lib.common.internal.misc.NbtUtils
-
Reconstructs an object from NBT data with automatic type resolution.
- red() - Method in record class net.xun.lib.common.api.misc.color.RGBColor
-
Returns the value of the
redrecord component. - registerAll() - Method in class net.xun.lib.common.api.item.armor.ArmorSet
- registerAll() - Method in class net.xun.lib.common.api.item.tools.ToolSet
-
Registers all tools in the set with the game registry.
- registerItem(String, Supplier<T>) - Method in interface net.xun.lib.common.internal.item.ItemRegistrar
-
Registers an item with the mod registry.
- registerItem(String, Supplier<T>) - Method in class net.xun.lib.forge.internal.registries.ForgeItemRegistrar
-
Registers an item with the mod registry.
- RegistrationServices - Class in net.xun.lib.common.internal.platform
- RegistrationServices() - Constructor for class net.xun.lib.common.internal.platform.RegistrationServices
- REVERSE - Enum constant in enum class net.xun.lib.common.api.inventory.InventoryCycleOrder
-
Slots max → 0 (reverse iteration)
- RGBColor - Record Class in net.xun.lib.common.api.misc.color
-
Represents a color in the RGB (Red, Green, Blue) color space.
- RGBColor(float, float, float) - Constructor for record class net.xun.lib.common.api.misc.color.RGBColor
-
Constructs an RGBColor with the specified red, green, and blue.
- RGBtoHSL(RGBColor) - Static method in class net.xun.lib.common.api.misc.color.ColorConverter
- RGBtoHSV(RGBColor) - Static method in class net.xun.lib.common.api.misc.color.ColorConverter
S
- saturation() - Method in record class net.xun.lib.common.api.misc.color.HSLColor
-
Returns the value of the
saturationrecord component. - saturation() - Method in record class net.xun.lib.common.api.misc.color.HSVColor
-
Returns the value of the
saturationrecord component. - save(Object) - Method in class net.xun.lib.common.api.nbt.adapters.GenericNbtAdapter
-
Serializes objects using
NbtUtils's reflection-based approach. - save(T) - Method in interface net.xun.lib.common.api.nbt.INbtAdapter
-
Converts an object instance into its NBT representation.
- savePersistedFields(BlockEntity, CompoundTag) - Static method in class net.xun.lib.common.internal.block.entity.BlockEntityDataManager
-
Saves an object's state to NBT using annotated fields.
- scanFields(Class<?>, Class<? extends Annotation>) - Static method in class net.xun.lib.common.internal.block.entity.BlockEntityDataManager
- serverTick(Level, BlockPos, BlockState) - Method in interface net.xun.lib.common.api.block.entity.ITickableBlockEntity
- serverTick(Level, BlockPos, BlockState) - Method in interface net.xun.lib.common.internal.block.entity.ServerTickable
- ServerTickable - Interface in net.xun.lib.common.internal.block.entity
- Services - Class in net.xun.lib.common.internal.platform
- Services() - Constructor for class net.xun.lib.common.internal.platform.Services
- setItemInMainHand(Player, ItemStack) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Sets the item in the player's main hand.
- setItemInOffHand(Player, ItemStack) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Sets the item in the player's offhand.
- setModId(String) - Static method in class net.xun.lib.common.api.ModSetup
-
Set your mod ID,
- setModId(String) - Static method in class net.xun.lib.common.internal.misc.ModIDManager
- setRegistry(IEventBus) - Static method in class net.xun.lib.forge.internal.registries.ForgeItemRegistrar
-
Internal initialization method for binding registry to event bus
- SHOVEL - Enum constant in enum class net.xun.lib.common.api.item.tools.ToolType
-
Shovel tool type
- single(int) - Static method in class net.xun.lib.common.api.inventory.slot.SlotRange
-
Creates a single-slot range.
- SlotGetter - Class in net.xun.lib.common.api.inventory.slot
-
Utility class for calculating inventory slot indices based on grid coordinates (rows/columns), inventory sections, and container-to-inventory conversions.
- SlotGetter() - Constructor for class net.xun.lib.common.api.inventory.slot.SlotGetter
- SlotIterator - Class in net.xun.lib.common.api.inventory.slot
- SlotIterator(int, int) - Constructor for class net.xun.lib.common.api.inventory.slot.SlotIterator
- SlotRange - Class in net.xun.lib.common.api.inventory.slot
-
Flexible slot range that can adapt to different container sizes.
- SlotRange(IntSupplier, IntSupplier) - Constructor for class net.xun.lib.common.api.inventory.slot.SlotRange
- stream(Container) - Method in class net.xun.lib.common.api.inventory.slot.SlotRange
-
Gets slots as a stream adjusted for container size.
- STRICT - Static variable in class net.xun.lib.common.api.item.fuzzy.FuzzyMatcher
-
Strict matcher requiring exact match of: Item type Count Durability Enchantments All other data components
- swapHands(Player) - Static method in class net.xun.lib.common.api.util.PlayerInventoryUtils
-
Swaps items between the player's main hand and offhand.
- SWORD - Enum constant in enum class net.xun.lib.common.api.item.tools.ToolType
-
Sword tool type
T
- TakeOnlySlot - Class in net.xun.lib.common.api.inventory.slot
- TakeOnlySlot(Container, int, int, int) - Constructor for class net.xun.lib.common.api.inventory.slot.TakeOnlySlot
- TickingEntityBlock - Interface in net.xun.lib.common.api.block.entity
- ToolConfigurator - Interface in net.xun.lib.common.api.item.tools
-
Factory interface for creating custom tool items.
- ToolSet - Class in net.xun.lib.common.api.item.tools
-
Represents a complete set of tools (sword, axe, pickaxe, shovel, hoe) with configurable attributes.
- ToolSet(String, Tier, EnumMap<ToolType, Float>, EnumMap<ToolType, Float>, Item.Properties, ToolConfigurator, ItemRegistrar, AttributeHelper) - Constructor for class net.xun.lib.common.api.item.tools.ToolSet
- ToolSet.Builder - Class in net.xun.lib.common.api.item.tools
-
Builder for constructing ToolSet instances with flexible configuration.
- ToolType - Enum Class in net.xun.lib.common.api.item.tools
-
Enumerates tool types with their registration suffixes and factory methods.
- toString() - Method in record class net.xun.lib.common.api.misc.color.HSLColor
-
Returns a string representation of this record class.
- toString() - Method in record class net.xun.lib.common.api.misc.color.HSVColor
-
Returns a string representation of this record class.
- toString() - Method in interface net.xun.lib.common.api.misc.color.IColorBase
- toString() - Method in record class net.xun.lib.common.api.misc.color.RGBColor
-
Returns a string representation of this record class.
U
- UPGRADE_EXISTING - Enum constant in enum class net.xun.lib.common.api.world.effect.EffectStackingStrategy
-
Applies effect only if it doesn't exist or has a higher amplifier than current.
- Usage Examples - Search tag in class net.xun.lib.common.api.item.fuzzy.FuzzyMatcher
- Section
- UtilityClassException - Exception Class in net.xun.lib.common.api.exceptions
- UtilityClassException() - Constructor for exception class net.xun.lib.common.api.exceptions.UtilityClassException
V
- validateContainer(Container) - Static method in class net.xun.lib.common.api.util.InventoryUtils
- validateContainer(Container, boolean) - Static method in class net.xun.lib.common.api.util.InventoryUtils
-
Validates container accessibility and integrity.
- value() - Method in record class net.xun.lib.common.api.misc.color.HSVColor
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class net.xun.lib.common.api.inventory.InventoryCycleOrder
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.xun.lib.common.api.item.armor.ArmorType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.xun.lib.common.api.item.fuzzy.FuzzyConfig.CountMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.xun.lib.common.api.item.fuzzy.FuzzyConfig.FilterMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.xun.lib.common.api.item.tools.ToolType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class net.xun.lib.common.api.world.effect.EffectStackingStrategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class net.xun.lib.common.api.inventory.InventoryCycleOrder
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.xun.lib.common.api.inventory.PlayerInventorySection
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.xun.lib.common.api.item.armor.ArmorType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.xun.lib.common.api.item.fuzzy.FuzzyConfig.CountMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.xun.lib.common.api.item.fuzzy.FuzzyConfig.FilterMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.xun.lib.common.api.item.tools.ToolType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class net.xun.lib.common.api.world.effect.EffectStackingStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VERSION - Static variable in class net.xun.lib.common.internal.XunLibConstants
W
- WHITELIST - Enum constant in enum class net.xun.lib.common.api.item.fuzzy.FuzzyConfig.FilterMode
-
Include only specified objects in comparison
- withAmplifier(int) - Method in class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- withApplyStrategy(EffectStackingStrategy) - Method in class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- withComponentFilter(FuzzyConfig.FilterMode, Set<DataComponentType<?>>) - Method in class net.xun.lib.common.api.item.fuzzy.FuzzyConfig
-
Configures data component filtering using specified mode and components
- withConfiguration(ArmorConfigurator) - Method in class net.xun.lib.common.api.item.armor.ArmorSet.Builder
- withConfiguration(ToolConfigurator) - Method in class net.xun.lib.common.api.item.tools.ToolSet.Builder
-
Sets custom tool creation configuration.
- withCountMode(FuzzyConfig.CountMode) - Method in class net.xun.lib.common.api.item.fuzzy.FuzzyConfig
-
Configures stack count comparison strategy
- withDurabilityFactor(int) - Method in class net.xun.lib.common.api.item.armor.ArmorSet.Builder
- withDuration(int) - Method in class net.xun.lib.common.api.world.effect.MobEffectInstanceBuilder
- withIgnoreDurability(boolean) - Method in class net.xun.lib.common.api.item.fuzzy.FuzzyConfig
-
Sets whether durability values should be ignored in comparisons
- withIgnoreEnchantments(boolean) - Method in class net.xun.lib.common.api.item.fuzzy.FuzzyConfig
-
Sets whether enchantments should be ignored in comparisons
- withItemProperties(Item.Properties) - Method in class net.xun.lib.common.api.item.armor.ArmorSet.Builder
- withItemProperties(Item.Properties) - Method in class net.xun.lib.common.api.item.tools.ToolSet.Builder
-
Sets base item properties for all tools in the set.
- withPredicateFilter(FuzzyConfig.FilterMode, List<InventoryPredicate>) - Method in class net.xun.lib.common.api.item.fuzzy.FuzzyConfig
-
Configures custom predicate filtering using specified mode and predicates.
- withToolStats(float[], float[]) - Method in class net.xun.lib.common.api.item.tools.ToolSet.Builder
-
Sets attack stats for all tools using arrays.
- withToolStats(ToolType, float, float) - Method in class net.xun.lib.common.api.item.tools.ToolSet.Builder
-
Sets attack stats for a specific tool type.
- withVanillaBalance() - Method in class net.xun.lib.common.api.item.tools.ToolSet.Builder
-
Configures tools with vanilla Minecraft balance values.
- write(Object, CompoundTag) - Method in class net.xun.lib.common.internal.nbt.NbtFieldAccessor
-
Writes a field's value to NBT using its configured adapter
- writeField(Object) - Static method in class net.xun.lib.common.internal.misc.NbtUtils
-
Serializes an object to NBT with complete type preservation and structure.
X
- XunLibCommon - Class in net.xun.lib.common.internal
- XunLibCommon() - Constructor for class net.xun.lib.common.internal.XunLibCommon
- XunLibConstants - Class in net.xun.lib.common.internal
- XunLibConstants() - Constructor for class net.xun.lib.common.internal.XunLibConstants
- XunLibForge - Class in net.xun.lib.forge.internal
- XunLibForge() - Constructor for class net.xun.lib.forge.internal.XunLibForge
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
FuzzyConfig.withPredicateFilter(FilterMode, List)for new handling method