Uses of Interface
net.tnemc.item.AbstractItemStack
Packages that use AbstractItemStack
Package
Description
-
Uses of AbstractItemStack in net.tnemc.item
Methods in net.tnemc.item with type parameters of type AbstractItemStackModifier and TypeMethodDescriptiondefault <C extends SerialComponent<? extends AbstractItemStack<T>,
T>>
AbstractItemStack<T> AbstractItemStack.applyComponent
(C component) Applies a serialized component to the item stack.default <C extends SerialComponent<? extends AbstractItemStack<T>,
T>>
Optional<C> Retrieves a SerialComponent associated with the specified identifier.<C extends SerialComponent<? extends AbstractItemStack<T>,
T>>
Map<String, C> AbstractItemStack.components()
Retrieves the components applied to the item stack.Methods in net.tnemc.item that return AbstractItemStackModifier and TypeMethodDescriptiondefault AbstractItemStack
<T> AbstractItemStack.add
(int amount) Adds the specified amount to the current amount of this item stack.AbstractItemStack.amount
(int amount) Sets the quantity of the item stack.default <C extends SerialComponent<? extends AbstractItemStack<T>,
T>>
AbstractItemStack<T> AbstractItemStack.applyComponent
(C component) Applies a serialized component to the item stack.default AbstractItemStack
<T> AbstractItemStack.applyPersistent
(PersistentDataType<?> data) Applies persistent data to the item stack.AbstractItemStack.applyPersistentHolder
(PersistentDataHolder newHolder, boolean replaceOld) Replaces the persistent data holder for the item stack.AbstractItemStack.attributeModifiers
(List<AttributeModifier> modifiers, boolean showInTooltip) Updates the attribute modifiers of the item stack.AbstractItemStack.bannerPatterns
(List<PatternData> patterns) Updates the banner patterns of the item stack.Updates the base color of the item stack.AbstractItemStack.blocksAttacks
(ItemDamage damage) Blocks attacks with the specified damage type using this item.AbstractItemStack.breakSound
(String sound) Set the break sound for this item stack.AbstractItemStack.bucketEntityData
(boolean noAI, boolean silent, boolean noGravity, boolean glowing, boolean invulnerable, float health, int age, int variant, long huntingCooldown, int bucketVariantTag, String type) Updates the bucket entity data of the item stack.AbstractItemStack.bundle
(Map<Integer, AbstractItemStack<T>> items) Bundles a collection ofAbstractItemStack
instances into a single collection.AbstractItemStack.canBreak
(List<BlockPredicate> predicates) Updates the blocks that the item stack can break.AbstractItemStack.canPlaceOn
(List<BlockPredicate> predicates) Updates the blocks that the item stack can be placed on.AbstractItemStack.consumable
(float consumeSeconds, String animation, String sound, boolean hasConsumeParticles, List<ComponentEffect> effects) Updates the consumable properties of the item stack.AbstractItemStack.container
(Map<Integer, AbstractItemStack<T>> items) Constructs a container with the given map of items.AbstractItemStack.customName
(net.kyori.adventure.text.Component customName) Updates the custom name of the item stack.AbstractItemStack.damage
(int damage) Updates the damage of the item stack.AbstractItemStack.damageResistant
(List<String> types) Updates the damage-resistant types of the item stack.AbstractItemStack.deathProtection
(List<ComponentEffect> deathEffects) Updates the death protection effects of the item stack.AbstractItemStack.debug
(boolean debug) Enables or disables debug mode for the item stack.AbstractItemStack.dyedColor
(int rgb) Updates the dyed color of the item stack.Adds an enchantment to the item stack.Adds enchantments to the item stack by name.Adds multiple enchantments to the item stack.AbstractItemStack.enchantable
(int value) Updates the enchantability of the item stack.AbstractItemStack.enchantmentGlintOverride
(boolean glintOverride) Updates the enchantment glint override of the item stack.AbstractItemStack.enchantments
(Map<String, Integer> levels) Updates the enchantments of the item stack.AbstractItemStack.entityVariant
(String entity, String variant) Generates an AbstractItemStack based on the given entity and variant.AbstractItemStack.equip
(String cameraKey, String equipSound, String modelKey, EquipSlot slot, boolean damageOnHurt, boolean dispensable, boolean swappable, boolean equipOnInteract, List<String> entities) Equips an item with specified parameters.AbstractItemStack.fireworkExplosion
(ExplosionData explosion) Updates the firework explosion properties of the item stack.AbstractItemStack.fireworks
(byte flightDuration, List<ExplosionData> explosions) Updates the fireworks properties of the item stack.Sets the item flags.AbstractItemStack.food
(boolean noHunger, float saturation, int nutrition) Updates the food properties of the item stack.AbstractItemStack.gliderTag()
Updates the item stack to enable glider functionality.AbstractItemStack.hideAdditionalTooltipTag()
Updates the item stack to hide additional tooltip.AbstractItemStack.hideTooltipTag()
Updates the item stack to hide its tooltip.AbstractItemStack.instrument
(String soundEvent, int useDuration, int range) Updates the instrument properties of the item stack.AbstractItemStack.intangibleProjectileTag()
Updates the item stack as an intangible projectile.Updates the model properties of the item stack.AbstractItemStack.itemName
(net.kyori.adventure.text.Component itemName) Updates the name of the item stack.Updates the jukebox properties of the item stack.AbstractItemStack.lodestoneTracker
(String target, int[] pos, String dimension, boolean tracked) Updates the lodestone tracker properties of the item stack.Updates the lore of the item stack.AbstractItemStack.loreComponent
(List<net.kyori.adventure.text.Component> lore) Sets the lore (descriptive text) of the item stack.AbstractItemStack.mapColor
(int mapColor) Updates the map color of the item stack.AbstractItemStack.mapId
(int mapId) Updates the map ID of the item stack.Sets the material of the item stack.AbstractItemStack.maxDamage
(int maxDamage) Updates the maximum damage of the item stack.AbstractItemStack.maxStackSize
(int maxStackSize) Updates the maximum stack size of the item stack.AbstractItemStack.modelData
(List<String> colours, List<Float> floats, List<Boolean> flags, List<String> strings) Updates the model data of the item stack.AbstractItemStack.modelDataOld
(int customModelData) Deprecated.AbstractItemStack.noteBlockSound
(String soundId) Updates the note block sound of the item stack.Creates a new item stack with the specified material and amount.AbstractItemStack.of
(org.json.simple.JSONObject json) Creates a new item stack from a JSON representation.Creates a new item stack from a locale-specific object.AbstractItemStack.ominousBottleAmplifier
(int amplifier) Updates the ominous bottle amplifier of the item stack.AbstractItemStack.potDecorations
(List<String> decorations) Updates the pot decorations of the item stack.AbstractItemStack.potionContents
(String potionId, int customColor, String customName, List<EffectInstance> effects) Updates the potion contents of the item stack.AbstractItemStack.potionDuration
(float potionDuration) Sets the duration of a potion effect for the item stack.default AbstractItemStack
<T> Create a Profile based on the provided name and UUID.default AbstractItemStack
<T> Profiles the item stack with the given name, UUID, and texture.AbstractItemStack.profile
(SkullProfile profile) Profiles the given SkullProfile to the AbstractItemStack object.AbstractItemStack.providesPattern
(String patternTag) Retrieve an AbstractItemStack object that provides a specific pattern identified by the patternTag.AbstractItemStack.providesTrim
(String material) Applies the specified trim materialUpdates the rarity of the item stack.Updates the recipes of the item stack.AbstractItemStack.repairable
(List<String> repairItems) Updates the repairable items of the item stack.AbstractItemStack.repairCost
(int repairCost) Updates the repair cost of the item stack.AbstractItemStack.setItemProvider
(String itemProvider) Sets the item provider to be used for retrieving items.AbstractItemStack.setProviderItemID
(String providerItemID) Sets the provider's item ID for the current item.AbstractItemStack.slot
(int slot) Sets the inventory slot of the item stack.AbstractItemStack.storedEnchantments
(Map<String, Integer> enchantments) Updates the stored enchantments of the item stack.default AbstractItemStack
<T> AbstractItemStack.subtract
(int amount) Subtracts the specified amount from the current item stack.AbstractItemStack.suspiciousStewEffects
(List<EffectInstance> effects) Applies the given effects to the suspicious stew item.AbstractItemStack.suspiciousStewEffects
(EffectInstance... effects) Applies the given effects to a suspicious stew item.AbstractItemStack.tool
(float defaultSpeed, int blockDamage, boolean canDestroyBlocksCreative, List<ToolRule> rules) Constructs a new tool item with the specified characteristics.AbstractItemStack.tooltipDisplay
(boolean hideTooltip, String... hiddenComponents) Displays tooltip for the item stack with an option to hide certain components.AbstractItemStack.tooltipStyle
(String style) Updates the tooltip style of the item stack.Updates the trim properties of the item stack.AbstractItemStack.unbreakable
(boolean showInTooltip) Updates the unbreakable property of the item stack.AbstractItemStack.useCooldown
(String cooldownGroup, float seconds) Updates the use cooldown properties of the item stack.AbstractItemStack.weapon
(int damagePerAttack, boolean canDisableBlocking) Represents a weapon item that can be used for combat.AbstractItemStack.writableBookContent
(List<String> pages) Updates the writable book content of the item stack.AbstractItemStack.writtenBookContent
(String title, String author, int generation, boolean resolved, List<String> pages) Updates the written book content of the item stack.Methods in net.tnemc.item that return types with arguments of type AbstractItemStackModifier and TypeMethodDescriptionAbstractInventory.addItem
(AbstractItemStack<I> item, boolean drop) Used to add an item to the inventory.default Optional
<AttributeModifiersComponent<AbstractItemStack<T>, T>> AbstractItemStack.attributeModifiers()
Retrieves the AttributeModifiersComponent of the item stack if present.default Optional
<BannerPatternsComponent<AbstractItemStack<T>, T>> AbstractItemStack.bannerPatterns()
Retrieves the BannerPatternsComponent of the item stack if present.default Optional
<BaseColorComponent<AbstractItemStack<T>, T>> AbstractItemStack.baseColor()
Retrieves the BaseColorComponent of the item stack if present.default Optional
<BlocksAttacksComponent<AbstractItemStack<T>, T>> AbstractItemStack.blocksAttacks()
Retrieves the BlocksAttacksComponent associated with this method.default Optional
<BreakSoundComponent<AbstractItemStack<T>, T>> AbstractItemStack.breakSound()
Retrieves the break sound component associated with the object.default Optional
<BucketEntityDataComponent<AbstractItemStack<T>, T>> AbstractItemStack.bucketEntityData()
Retrieves the BucketEntityDataComponent of the item stack if present.default Optional
<BundleComponent<AbstractItemStack<T>, T>> AbstractItemStack.bundle()
Retrieves the bundle component from the components map.default Optional
<CanBreakComponent<AbstractItemStack<T>, T>> AbstractItemStack.canBreak()
Retrieves the CanBreakComponent of the item stack if present.default Optional
<CanPlaceOnComponent<AbstractItemStack<T>, T>> AbstractItemStack.canPlaceOn()
Retrieves the CanPlaceOnComponent of the item stack if present.default Optional
<ConsumableComponent<AbstractItemStack<T>, T>> AbstractItemStack.consumable()
Retrieves the ConsumableComponent of the item stack if present.default Optional
<ContainerComponent<AbstractItemStack<T>, T>> AbstractItemStack.container()
Returns anOptional
containing theContainerComponent
with type parametersAbstractItemStack
and T stored in this container.default Optional
<CustomNameComponent<AbstractItemStack<T>, T>> AbstractItemStack.customName()
Retrieves the CustomNameComponent of the item stack if present.default Optional
<DamageComponent<AbstractItemStack<T>, T>> AbstractItemStack.damage()
Retrieves the DamageComponent of the item stack if present.default Optional
<DamageResistantComponent<AbstractItemStack<T>, T>> AbstractItemStack.damageResistant()
Retrieves the DamageResistantComponent of the item stack if present.default Optional
<DeathProtectionComponent<AbstractItemStack<T>, T>> AbstractItemStack.deathProtection()
Retrieves the DeathProtectionComponent of the item stack if present.default Optional
<DyedColorComponent<AbstractItemStack<T>, T>> AbstractItemStack.dyedColor()
Retrieves the DyedColorComponent of the item stack if present.default Optional
<EnchantableComponent<AbstractItemStack<T>, T>> AbstractItemStack.enchantable()
Retrieves the EnchantableComponent of the item stack if present.default Optional
<EnchantmentGlintOverrideComponent<AbstractItemStack<T>, T>> AbstractItemStack.enchantmentGlintOverride()
Retrieves the EnchantmentGlintOverrideComponent of the item stack if present.default Optional
<EnchantmentsComponent<AbstractItemStack<T>, T>> AbstractItemStack.enchantments()
Retrieves the EnchantmentsComponent of the item stack if present.default Optional
<EntityVariantComponent<AbstractItemStack<T>, T>> AbstractItemStack.entityVariant()
Retrieves the Entity Variant Component for the current stack.default Optional
<EquipComponent<AbstractItemStack<T>, T>> AbstractItemStack.equip()
Retrieves the EquipComponent of the item stack if present.default Optional
<FireworkExplosionComponent<AbstractItemStack<T>, T>> AbstractItemStack.fireworkExplosion()
Retrieves the FireworkExplosionComponent of the item stack if present.default Optional
<FireworksComponent<AbstractItemStack<T>, T>> AbstractItemStack.fireworks()
Retrieves the FireworksComponent of the item stack if present.default Optional
<FoodComponent<AbstractItemStack<T>, T>> AbstractItemStack.food()
Retrieves the FoodComponent of the item stack if present.default Optional
<GliderComponent<AbstractItemStack<T>, T>> AbstractItemStack.glider()
Retrieves the GliderComponent of the item stack if present.default Optional
<HideAdditionalTooltipComponent<AbstractItemStack<T>, T>> AbstractItemStack.hideAdditionalTooltip()
Retrieves the HideAdditionalTooltipComponent of the item stack if present.default Optional
<HideTooltipComponent<AbstractItemStack<T>, T>> AbstractItemStack.hideTooltip()
Retrieves the HideTooltipComponent of the item stack if present.default Optional
<InstrumentComponent<AbstractItemStack<T>, T>> AbstractItemStack.instrument()
Retrieves the InstrumentComponent of the item stack if present.default Optional
<IntangibleProjectileComponent<AbstractItemStack<T>, T>> AbstractItemStack.intangibleProjectile()
Retrieves the IntangibleProjectileComponent of the item stack if present.default Optional
<ItemModelComponent<AbstractItemStack<T>, T>> AbstractItemStack.itemModel()
Retrieves the ItemModelComponent of the item stack if present.default Optional
<ItemNameComponent<AbstractItemStack<T>, T>> AbstractItemStack.itemName()
Retrieves the ItemNameComponent of the item stack if present.default Optional
<JukeBoxComponent<AbstractItemStack<T>, T>> AbstractItemStack.jukebox()
Retrieves the JukeBoxComponent of the item stack if present.default Optional
<LodestoneTrackerComponent<AbstractItemStack<T>, T>> AbstractItemStack.lodestoneTracker()
Retrieves the LodestoneTrackerComponent of the item stack if present.default Optional
<LoreComponent<AbstractItemStack<T>, T>> AbstractItemStack.lore()
Retrieves the LoreComponent of the item stack if present.default Optional
<MapColorComponent<AbstractItemStack<T>, T>> AbstractItemStack.mapColor()
Retrieves the MapColorComponent of the item stack if present.default Optional
<MapIDComponent<AbstractItemStack<T>, T>> AbstractItemStack.mapId()
Retrieves the MapIDComponent of the item stack if present.default Optional
<MaxDamageComponent<AbstractItemStack<T>, T>> AbstractItemStack.maxDamage()
Retrieves the MaxDamageComponent of the item stack if present.default Optional
<MaxStackSizeComponent<AbstractItemStack<T>, T>> AbstractItemStack.maxStackSize()
Retrieves the MaxStackSizeComponent of the item stack if present.default Optional
<ModelDataComponent<AbstractItemStack<T>, T>> AbstractItemStack.modelData()
Retrieves the ModelDataComponent of the item stack if present.default Optional
<ModelDataOldComponent<AbstractItemStack<T>, T>> AbstractItemStack.modelDataOld()
Deprecated.Since MC 1.21.3 UseItemModelComponent
andModelDataComponent
.default Optional
<NoteBlockSoundComponent<AbstractItemStack<T>, T>> AbstractItemStack.noteBlockSound()
Retrieves the NoteBlockSoundComponent of the item stack if present.default Optional
<OminousBottleAmplifierComponent<AbstractItemStack<T>, T>> AbstractItemStack.ominousBottleAmplifier()
Retrieves the OminousBottleAmplifierComponent of the item stack if present.default Optional
<PotDecorationsComponent<AbstractItemStack<T>, T>> AbstractItemStack.potDecorations()
Retrieves the PotDecorationsComponent of the item stack if present.default Optional
<PotionContentsComponent<AbstractItemStack<T>, T>> AbstractItemStack.potionContents()
Retrieves the PotionContentsComponent of the item stack if present.default Optional
<PotionDurationScaleComponent<AbstractItemStack<T>, T>> AbstractItemStack.potionDuration()
Retrieves the potion duration scale component from the item's components.default Optional
<ProfileComponent<AbstractItemStack<T>, T>> AbstractItemStack.profile()
Retrieves the profile component from the components map if it exists.default Optional
<ProvidesBannerPatternsComponent<AbstractItemStack<T>, T>> AbstractItemStack.providesPattern()
Retrieves the component that provides banner patterns.default Optional
<ProvidesTrimMaterialComponent<AbstractItemStack<T>, T>> AbstractItemStack.providesTrim()
Retrieves the component responsible for providing trim materials.default Optional
<RarityComponent<AbstractItemStack<T>, T>> AbstractItemStack.rarity()
Retrieves the RarityComponent of the item stack if present.default Optional
<RecipesComponent<AbstractItemStack<T>, T>> AbstractItemStack.recipes()
Retrieves the RecipesComponent of the item stack if present.default Optional
<RepairableComponent<AbstractItemStack<T>, T>> AbstractItemStack.repairable()
Retrieves the RepairableComponent of the item stack if present.default Optional
<RepairCostComponent<AbstractItemStack<T>, T>> AbstractItemStack.repairCost()
Retrieves the RepairCostComponent of the item stack if present.AbstractInventory.setSlot
(int slot, AbstractItemStack<I> item, boolean drop) Used to set a specific slot as a specific item.default Optional
<StoredEnchantmentsComponent<AbstractItemStack<T>, T>> AbstractItemStack.storedEnchantments()
Retrieves the StoredEnchantmentsComponent of the item stack if present.default Optional
<SuspiciousStewEffectsComponent<AbstractItemStack<T>, T>> AbstractItemStack.suspiciousStewEffects()
Retrieves the SuspiciousStewEffectsComponent of the item stack if present.default Optional
<ToolComponent<AbstractItemStack<T>, T>> AbstractItemStack.tool()
Retrieves the ToolComponent of the item stack if present.default Optional
<TooltipDisplayComponent<AbstractItemStack<T>, T>> AbstractItemStack.tooltipDisplay()
Retrieves the tooltip display component associated with the item.default Optional
<TooltipStyleComponent<AbstractItemStack<T>, T>> AbstractItemStack.tooltipStyle()
Retrieves the TooltipStyleComponent of the item stack if present.default Optional
<TrimComponent<AbstractItemStack<T>, T>> AbstractItemStack.trim()
Retrieves the TrimComponent of the item stack if present.default Optional
<UnbreakableComponent<AbstractItemStack<T>, T>> AbstractItemStack.unbreakable()
Retrieves the UnbreakableComponent of the item stack if present.default Optional
<UseCooldownComponent<AbstractItemStack<T>, T>> AbstractItemStack.useCooldown()
Retrieves the UseCooldownComponent of the item stack if present.default Optional
<WeaponComponent<AbstractItemStack<T>, T>> AbstractItemStack.weapon()
Retrieves the weapon component associated with this item.default Optional
<WritableBookContentComponent<AbstractItemStack<T>, T>> AbstractItemStack.writableBookContent()
Retrieves the WritableBookContentComponent of the item stack if present.default Optional
<WrittenBookContentComponent<AbstractItemStack<T>, T>> AbstractItemStack.writtenBookContent()
Retrieves the WrittenBookContentComponent of the item stack if present.Methods in net.tnemc.item with parameters of type AbstractItemStackModifier and TypeMethodDescriptionAbstractInventory.addItem
(AbstractItemStack<I> item, boolean drop) Used to add an item to the inventory.boolean
AbstractInventory.canFit
(AbstractItemStack<I> item) AbstractInventory.setSlot
(int slot, AbstractItemStack<I> item, boolean drop) Used to set a specific slot as a specific item.Method parameters in net.tnemc.item with type arguments of type AbstractItemStackModifier and TypeMethodDescriptionAbstractItemStack.bundle
(Map<Integer, AbstractItemStack<T>> items) Bundles a collection ofAbstractItemStack
instances into a single collection.AbstractItemStack.container
(Map<Integer, AbstractItemStack<T>> items) Constructs a container with the given map of items. -
Uses of AbstractItemStack in net.tnemc.item.bukkit
Classes in net.tnemc.item.bukkit that implement AbstractItemStackMethods in net.tnemc.item.bukkit that return AbstractItemStackModifier and TypeMethodDescriptionAbstractItemStack
<org.bukkit.inventory.ItemStack> BukkitItemStack.blocksAttacks
(ItemDamage damage) Blocks attacks with the specified damage type using this item.AbstractItemStack
<org.bukkit.inventory.ItemStack> BukkitItemStack.breakSound
(String sound) Set the break sound for this item stack.AbstractItemStack
<org.bukkit.inventory.ItemStack> BukkitItemStack.entityVariant
(String entity, String variant) Generates an AbstractItemStack based on the given entity and variant.AbstractItemStack
<org.bukkit.inventory.ItemStack> BukkitItemStack.modelDataOld
(int customModelData) Deprecated.Since MC 1.21.3 UseItemModelComponent
andModelDataComponent
.AbstractItemStack
<org.bukkit.inventory.ItemStack> BukkitItemStack.providesPattern
(String patternTag) Retrieve an AbstractItemStack object that provides a specific pattern identified by the patternTag.AbstractItemStack
<org.bukkit.inventory.ItemStack> BukkitItemStack.providesTrim
(String material) Applies the specified trim materialAbstractItemStack
<org.bukkit.inventory.ItemStack> BukkitItemStack.suspiciousStewEffects
(List<EffectInstance> effects) Applies the given effects to the suspicious stew item.AbstractItemStack
<org.bukkit.inventory.ItemStack> BukkitItemStack.suspiciousStewEffects
(EffectInstance... effects) Applies the given effects to a suspicious stew item.AbstractItemStack
<org.bukkit.inventory.ItemStack> BukkitItemStack.tooltipDisplay
(boolean hideTooltip, String... hiddenComponents) Displays tooltip for the item stack with an option to hide certain components.Methods in net.tnemc.item.bukkit that return types with arguments of type AbstractItemStackModifier and TypeMethodDescriptionMap
<String, SerialComponent<AbstractItemStack<org.bukkit.inventory.ItemStack>, org.bukkit.inventory.ItemStack>> BukkitItemStack.components()
Retrieves the components applied to the item stack.Methods in net.tnemc.item.bukkit with parameters of type AbstractItemStackModifier and TypeMethodDescriptionboolean
VanillaProvider.appliesTo
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> serialized, org.bukkit.inventory.ItemStack item) Checks if the given serialized item stack applies to the specified item.org.bukkit.inventory.ItemStack
VanillaProvider.locale
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, int amount) Creates a copy of the original item stack with a specified amount.boolean
VanillaProvider.similar
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, org.bukkit.inventory.ItemStack compare) Checks if the provided item stack is similar to the original item stack.Method parameters in net.tnemc.item.bukkit with type arguments of type AbstractItemStackModifier and TypeMethodDescriptionBukkitItemStack.bundle
(Map<Integer, AbstractItemStack<org.bukkit.inventory.ItemStack>> items) Bundles a collection ofAbstractItemStack
instances into a single collection.BukkitItemStack.container
(Map<Integer, AbstractItemStack<org.bukkit.inventory.ItemStack>> items) Constructs a container with the given map of items. -
Uses of AbstractItemStack in net.tnemc.item.bukkit.platform.impl
Constructor parameters in net.tnemc.item.bukkit.platform.impl with type arguments of type AbstractItemStackModifierConstructorDescriptionBukkitBundleComponent
(Map<Integer, AbstractItemStack<org.bukkit.inventory.ItemStack>> items) BukkitChargedProjectilesComponent
(Map<Integer, AbstractItemStack<org.bukkit.inventory.ItemStack>> items) BukkitContainerComponent
(Map<Integer, AbstractItemStack<org.bukkit.inventory.ItemStack>> items) -
Uses of AbstractItemStack in net.tnemc.item.bukkitbase.platform.providers
Methods in net.tnemc.item.bukkitbase.platform.providers with parameters of type AbstractItemStackModifier and TypeMethodDescriptionboolean
ItemAdderProvider.appliesTo
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> serialized, org.bukkit.inventory.ItemStack item) Checks if the given serialized item stack applies to the specified item.boolean
MMOItemProvider.appliesTo
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> serialized, org.bukkit.inventory.ItemStack item) Checks if the given serialized item stack applies to the specified item.boolean
NexoProvider.appliesTo
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> serialized, org.bukkit.inventory.ItemStack item) Checks if the given serialized item stack applies to the specified item.boolean
NovaProvider.appliesTo
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> serialized, org.bukkit.inventory.ItemStack item) Checks if the given serialized item stack applies to the specified item.boolean
OraxenProvider.appliesTo
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> serialized, org.bukkit.inventory.ItemStack item) Checks if the given serialized item stack applies to the specified item.boolean
SlimefunProvider.appliesTo
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> serialized, org.bukkit.inventory.ItemStack item) Checks if the given serialized item stack applies to the specified item.org.bukkit.inventory.ItemStack
ItemAdderProvider.locale
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, int amount) Creates a copy of the original item stack with a specified amount.org.bukkit.inventory.ItemStack
MMOItemProvider.locale
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, int amount) Creates a copy of the original item stack with a specified amount.org.bukkit.inventory.ItemStack
NexoProvider.locale
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, int amount) Creates a copy of the original item stack with a specified amount.org.bukkit.inventory.ItemStack
NovaProvider.locale
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, int amount) Creates a copy of the original item stack with a specified amount.org.bukkit.inventory.ItemStack
OraxenProvider.locale
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, int amount) Creates a copy of the original item stack with a specified amount.org.bukkit.inventory.ItemStack
SlimefunProvider.locale
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, int amount) Creates a copy of the original item stack with a specified amount.boolean
ItemAdderProvider.similar
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, org.bukkit.inventory.ItemStack compare) Checks if the provided item stack is similar to the original item stack.boolean
MMOItemProvider.similar
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, org.bukkit.inventory.ItemStack compare) Checks if the provided item stack is similar to the original item stack.boolean
NexoProvider.similar
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, org.bukkit.inventory.ItemStack compare) Checks if the provided item stack is similar to the original item stack.boolean
NovaProvider.similar
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, org.bukkit.inventory.ItemStack compare) Checks if the provided item stack is similar to the original item stack.boolean
OraxenProvider.similar
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, org.bukkit.inventory.ItemStack compare) Checks if the provided item stack is similar to the original item stack.boolean
SlimefunProvider.similar
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, org.bukkit.inventory.ItemStack compare) Checks if the provided item stack is similar to the original item stack. -
Uses of AbstractItemStack in net.tnemc.item.component
Classes in net.tnemc.item.component with type parameters of type AbstractItemStackModifier and TypeInterfaceDescriptioninterface
SerialComponent<I extends AbstractItemStack<T>,
T> SerialComponentMethods in net.tnemc.item.component with parameters of type AbstractItemStackModifier and TypeMethodDescriptiondefault boolean
SerialComponent.applies
(AbstractItemStack<T> original, AbstractItemStack<T> check) Checks if this component applies to the specified item stack.default boolean
SerialComponent.check
(AbstractItemStack<T> original, AbstractItemStack<T> check) -
Uses of AbstractItemStack in net.tnemc.item.component.impl
Classes in net.tnemc.item.component.impl with type parameters of type AbstractItemStackModifier and TypeClassDescriptionclass
AttributeModifiersComponent<I extends AbstractItemStack<T>,
T> AttributeModifiesComponentclass
BannerPatternsComponent<I extends AbstractItemStack<T>,
T> BannerComponent - List of all patterns applied to the banner or the shield.class
BaseColorComponent<I extends AbstractItemStack<T>,
T> BaseColorComponent - The base dye color of the banner applied on a shieldclass
BlocksAttacksComponent<I extends AbstractItemStack<T>,
T> BlocksAttacksComponent - When present, this item can be used like a Shield to block attacks to the holding player.class
BreakSoundComponent<I extends AbstractItemStack<T>,
T> BreakSoundComponent - When present, this sound will be played when the item runs out of durability and breaks Added in MC 1.21.5class
BucketEntityDataComponent<I extends AbstractItemStack<T>,
T> BucketEntityDataComponent - NBT applied to an entity when placed from this bucket.class
BundleComponent<I extends AbstractItemStack<T>,
T> BundleComponent - The items stored inside this bundle.class
CanBreakComponent<I extends AbstractItemStack<T>,
T> CanBreakComponentclass
CanPlaceOnComponent<I extends AbstractItemStack<T>,
T> CanPlaceOnComponentclass
ChargedProjectilesComponent<I extends AbstractItemStack<T>,
T> ChargedProjectilesComponent - The items loaded as projectiles into this crossbow.class
ConsumableComponent<I extends AbstractItemStack<T>,
T> ConsumableComponentclass
ContainerComponent<I extends AbstractItemStack<T>,
T> ContainerComponent - The items contained in this container.class
CustomNameComponent<I extends AbstractItemStack<T>,
T> CustomNameComponentclass
DamageComponent<I extends AbstractItemStack<T>,
T> DamageComponent - The number of uses consumed (not remaining) of the item's durability.class
DamageResistantComponent<I extends AbstractItemStack<T>,
T> DamageResistantComponentclass
DeathProtectionComponent<I extends AbstractItemStack<T>,
T> DeathProtectionComponentclass
DyedColorComponent<I extends AbstractItemStack<T>,
T> DyedColorComponent -The color applied of this leather armor piece.class
EnchantableComponent<I extends AbstractItemStack<T>,
T> EnchantableComponent - outline from Snapshot 24w33aclass
EnchantmentGlintOverrideComponent<I extends AbstractItemStack<T>,
T> EnchantmentGlintOverrideComponentclass
EnchantmentsComponent<I extends AbstractItemStack<T>,
T> EnchantmentsComponent - Can contain either the following fields, or key-value pairs of levels of enchantments.class
EntityVariantComponent<I extends AbstractItemStack<T>,
T> EntityVariantComponent - Holds information about the entity variant that should be carried over for items such as mob bucket, spawn egg, etc.class
EquipComponent<I extends AbstractItemStack<T>,
T> EquippableComponentclass
FireworkExplosionComponent<I extends AbstractItemStack<T>,
T> FireworkExplosionComponentclass
FireworksComponent<I extends AbstractItemStack<T>,
T> FireworksComponentclass
FoodComponent<I extends AbstractItemStack<T>,
T> FoodComponent - The food stats for this consumable item.class
GliderComponent<I extends AbstractItemStack<T>,
T> GliderComponent - If present, this item allows players to glide (as with elytra) when equipped.class
HideAdditionalTooltipComponent<I extends AbstractItemStack<T>,
T> Deprecated.This component was deprecated in MC 1.21.5 in favor ofTooltipDisplayComponent
class
HideTooltipComponent<I extends AbstractItemStack<T>,
T> Deprecated.This component was deprecated in MC 1.21.5 in favor ofTooltipDisplayComponent
class
InstrumentComponent<I extends AbstractItemStack<T>,
T> InstrumentComponentclass
IntangibleProjectileComponent<I extends AbstractItemStack<T>,
T> IntangibleProjectileComponentclass
ItemModelComponent<I extends AbstractItemStack<T>,
T> ItemModelComponentclass
ItemNameComponent<I extends AbstractItemStack<T>,
T> ItemNameComponentclass
JukeBoxComponent<I extends AbstractItemStack<T>,
T> JukeBoxComponentclass
LodestoneTrackerComponent<I extends AbstractItemStack<T>,
T> LodestoneTrackerComponentclass
LoreComponent<I extends AbstractItemStack<T>,
T> LoreComponentclass
MapColorComponent<I extends AbstractItemStack<T>,
T> MapColorComponentclass
MapIDComponent<I extends AbstractItemStack<T>,
T> MapIDComponentclass
MaxDamageComponent<I extends AbstractItemStack<T>,
T> MaxDamageComponentclass
MaxStackSizeComponent<I extends AbstractItemStack<T>,
T> MaxStackSizeComponent - The maximum number of items that can fit in a stack.class
ModelDataComponent<I extends AbstractItemStack<T>,
T> ModelDataComponentclass
ModelDataOldComponent<I extends AbstractItemStack<T>,
T> ModelDataOldComponentclass
NoteBlockSoundComponent<I extends AbstractItemStack<T>,
T> NoteBlockSoundComponentclass
OminousBottleAmplifierComponent<I extends AbstractItemStack<T>,
T> OminousBottleAmplifierComponentclass
PotDecorationsComponent<I extends AbstractItemStack<T>,
T> PotDecorationsComponentclass
PotionContentsComponent<I extends AbstractItemStack<T>,
T> PotionContentsComponentclass
PotionDurationScaleComponent<I extends AbstractItemStack<T>,
T> PotionDurationScaleComponent - as of MC Snapshot 25w02aclass
ProfileComponent<I extends AbstractItemStack<T>,
T> ProfileComponentclass
ProvidesBannerPatternsComponent<I extends AbstractItemStack<T>,
T> ProvidesBannerPatternsComponent -When present, this item can be placed in the pattern slot of a Loom.class
ProvidesTrimMaterialComponent<I extends AbstractItemStack<T>,
T> ProvidesTrimMaterialComponent - When present, this item will provide the specified trim material when used in a trimming recipe.class
RarityComponent<I extends AbstractItemStack<T>,
T> RarityComponent - Sets the rarity of this item, which affects the default color of its name.class
RecipesComponent<I extends AbstractItemStack<T>,
T> RecipesComponentclass
RepairableComponent<I extends AbstractItemStack<T>,
T> RepairableComponentclass
RepairCostComponent<I extends AbstractItemStack<T>,
T> RepairCostComponent - The number of experience levels to add to the base level cost when repairing, combining, or renaming this item with an anvil.class
StoredEnchantmentsComponent<I extends AbstractItemStack<T>,
T> StoredEnchantmentsComponents - Can contain either the following fields, or key-value pairs of levels of enchantments.class
SuspiciousStewEffectsComponent<I extends AbstractItemStack<T>,
T> SuspiciousStewEffectsComponent - The effects applied when consuming this suspicious stew.class
ToolComponent<I extends AbstractItemStack<T>,
T> ToolComponentclass
TooltipDisplayComponent<I extends AbstractItemStack<T>,
T> TooltipDisplayComponent - Allows the tooltips provided specifically by any given item component to be surpressed.class
TooltipStyleComponent<I extends AbstractItemStack<T>,
T> TooltipStyleComponent -The resource location of the custom sprites for the tooltip background and frame which references texturesclass
TrimComponent<I extends AbstractItemStack<T>,
T> TrimComponentclass
UnbreakableComponent<I extends AbstractItemStack<T>,
T> UnbreakableComponent - If set, this item doesn't lose durability when used.class
UseCooldownComponent<I extends AbstractItemStack<T>,
T> UseCooldownComponentclass
WeaponComponent<I extends AbstractItemStack<T>,
T> WeaponComponent - as of MC Snapshot 25w02aclass
WritableBookContentComponent<I extends AbstractItemStack<T>,
T> WrittableBookContentComponentclass
WrittenBookContentComponent<I extends AbstractItemStack<T>,
T> WrittenBookContentComponentMethods in net.tnemc.item.component.impl that return types with arguments of type AbstractItemStackConstructor parameters in net.tnemc.item.component.impl with type arguments of type AbstractItemStackModifierConstructorDescriptionBundleComponent
(Map<Integer, AbstractItemStack<T>> items) ContainerComponent
(Map<Integer, AbstractItemStack<T>> items) -
Uses of AbstractItemStack in net.tnemc.item.paper
Classes in net.tnemc.item.paper that implement AbstractItemStackMethods in net.tnemc.item.paper that return AbstractItemStackModifier and TypeMethodDescriptionAbstractItemStack
<org.bukkit.inventory.ItemStack> PaperItemStack.blocksAttacks
(ItemDamage damage) Blocks attacks with the specified damage type using this item.AbstractItemStack
<org.bukkit.inventory.ItemStack> PaperItemStack.breakSound
(String sound) Set the break sound for this item stack.AbstractItemStack
<org.bukkit.inventory.ItemStack> PaperItemStack.entityVariant
(String entity, String variant) Generates an AbstractItemStack based on the given entity and variant.AbstractItemStack
<org.bukkit.inventory.ItemStack> PaperItemStack.modelDataOld
(int customModelData) Deprecated.Since MC 1.21.3 UseItemModelComponent
andModelDataComponent
.AbstractItemStack
<org.bukkit.inventory.ItemStack> PaperItemStack.providesPattern
(String patternTag) Retrieve an AbstractItemStack object that provides a specific pattern identified by the patternTag.AbstractItemStack
<org.bukkit.inventory.ItemStack> PaperItemStack.providesTrim
(String material) Applies the specified trim materialAbstractItemStack
<org.bukkit.inventory.ItemStack> PaperItemStack.suspiciousStewEffects
(List<EffectInstance> effects) Applies the given effects to the suspicious stew item.AbstractItemStack
<org.bukkit.inventory.ItemStack> PaperItemStack.suspiciousStewEffects
(EffectInstance... effects) Applies the given effects to a suspicious stew item.AbstractItemStack
<org.bukkit.inventory.ItemStack> PaperItemStack.tooltipDisplay
(boolean hideTooltip, String... hiddenComponents) Displays tooltip for the item stack with an option to hide certain components.Methods in net.tnemc.item.paper that return types with arguments of type AbstractItemStackModifier and TypeMethodDescriptionMap
<String, SerialComponent<AbstractItemStack<org.bukkit.inventory.ItemStack>, org.bukkit.inventory.ItemStack>> PaperItemStack.components()
Retrieves the components applied to the item stack.Methods in net.tnemc.item.paper with parameters of type AbstractItemStackModifier and TypeMethodDescriptionboolean
VanillaProvider.appliesTo
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> serialized, org.bukkit.inventory.ItemStack item) Checks if the given serialized item stack applies to the specified item.org.bukkit.inventory.ItemStack
VanillaProvider.locale
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, int amount) Creates a copy of the original item stack with a specified amount.boolean
VanillaProvider.similar
(AbstractItemStack<? extends org.bukkit.inventory.ItemStack> original, org.bukkit.inventory.ItemStack compare) Checks if the provided item stack is similar to the original item stack.Method parameters in net.tnemc.item.paper with type arguments of type AbstractItemStackModifier and TypeMethodDescriptionPaperItemStack.bundle
(Map<Integer, AbstractItemStack<org.bukkit.inventory.ItemStack>> items) Bundles a collection ofAbstractItemStack
instances into a single collection.PaperItemStack.container
(Map<Integer, AbstractItemStack<org.bukkit.inventory.ItemStack>> items) Constructs a container with the given map of items. -
Uses of AbstractItemStack in net.tnemc.item.paper.platform.impl.modern
Constructor parameters in net.tnemc.item.paper.platform.impl.modern with type arguments of type AbstractItemStackModifierConstructorDescriptionPaperBundleComponent
(Map<Integer, AbstractItemStack<org.bukkit.inventory.ItemStack>> items) PaperContainerComponent
(Map<Integer, AbstractItemStack<org.bukkit.inventory.ItemStack>> items) -
Uses of AbstractItemStack in net.tnemc.item.platform
Classes in net.tnemc.item.platform with type parameters of type AbstractItemStackModifier and TypeClassDescriptionclass
ItemPlatform<I extends AbstractItemStack<S>,
S, U> ItemPlatformMethods in net.tnemc.item.platform with parameters of type AbstractItemStackModifier and TypeMethodDescriptionboolean
ItemPlatform.providerApplies
(AbstractItemStack<? extends S> serialized, S item) Checks if any of the registered item providers are applicable to the given serialized item and item. -
Uses of AbstractItemStack in net.tnemc.item.platform.applier
Classes in net.tnemc.item.platform.applier with type parameters of type AbstractItemStackModifier and TypeInterfaceDescriptioninterface
ItemApplicator<I extends AbstractItemStack<T>,
T> The ItemApplicator interface represents an applicator that can be used to apply changes to an item. -
Uses of AbstractItemStack in net.tnemc.item.platform.check
Methods in net.tnemc.item.platform.check with parameters of type AbstractItemStackModifier and TypeMethodDescriptionboolean
ItemCheck.applies
(AbstractItemStack<T> original, AbstractItemStack<T> check) Determines if a given check should be applied to an original item stack for a specific version.boolean
ItemCheck.check
(AbstractItemStack<T> original, AbstractItemStack<T> check) default boolean
LocaleItemCheck.check
(AbstractItemStack<T> original, AbstractItemStack<T> check) -
Uses of AbstractItemStack in net.tnemc.item.platform.serialize
Classes in net.tnemc.item.platform.serialize with type parameters of type AbstractItemStackModifier and TypeInterfaceDescriptioninterface
ItemSerializer<I extends AbstractItemStack<T>,
T> ItemApplier -
Uses of AbstractItemStack in net.tnemc.item.providers
Classes in net.tnemc.item.providers with type parameters of type AbstractItemStackModifier and TypeInterfaceDescriptioninterface
CalculationsProvider<I extends AbstractItemStack<S>,
S, U> Represents a provider that is utilized for item-based calculations and comparisons.Methods in net.tnemc.item.providers with parameters of type AbstractItemStackModifier and TypeMethodDescriptionboolean
ItemProvider.appliesTo
(AbstractItemStack<? extends T> serialized, T item) Checks if the given serialized item stack applies to the specified item.default boolean
ItemProvider.componentsEqual
(AbstractItemStack<? extends T> original, AbstractItemStack<? extends T> compare) Checks if the components of two items are equal.default boolean
ItemProvider.componentsEqual
(AbstractItemStack<? extends T> original, T compare) Checks if the components of two items are equal.default T
ItemProvider.locale
(AbstractItemStack<? extends T> original) ItemProvider.locale
(AbstractItemStack<? extends T> original, int amount) Creates a copy of the original item stack with a specified amount.default boolean
ItemProvider.similar
(AbstractItemStack<? extends T> original, AbstractItemStack<? extends T> compare) Returns true if the provided item is similar to this.boolean
ItemProvider.similar
(AbstractItemStack<? extends T> original, T compare) Checks if the provided item stack is similar to the original item stack.
ItemModelComponent
andModelDataComponent
.