Index

A C D E G I L M N P S 
All Classes and Interfaces|All Packages

A

AmountModifier - Class in io.github.projectunified.craftitem.modifier
Item modifier that sets the item's stack amount.
AmountModifier() - Constructor for class io.github.projectunified.craftitem.modifier.AmountModifier
Creates a new AmountModifier with a default amount of 1.
AmountModifier(int) - Constructor for class io.github.projectunified.craftitem.modifier.AmountModifier
Creates a new AmountModifier with the specified integer amount.
AmountModifier(String) - Constructor for class io.github.projectunified.craftitem.modifier.AmountModifier
Creates a new AmountModifier with the specified string amount.

C

convert(Object) - Static method in class io.github.projectunified.craftitem.nbt.SNBTConverter
Converts a value to SNBT string format
convert(Object, boolean) - Static method in class io.github.projectunified.craftitem.nbt.SNBTConverter
Converts a value to SNBT string format

D

DurabilityModifier - Class in io.github.projectunified.craftitem.spigot.modifier
Spigot modifier that sets item durability (damage value).
DurabilityModifier(short) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.DurabilityModifier
Creates a new DurabilityModifier with the specified durability value.
DurabilityModifier(String) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.DurabilityModifier
Creates a new DurabilityModifier with the specified durability as a string.

E

edit(Consumer<ItemStack>) - Method in class io.github.projectunified.craftitem.spigot.core.SpigotItem
Allows direct modification of the ItemStack.
editMeta(Class<T>, Consumer<T>) - Method in class io.github.projectunified.craftitem.spigot.core.SpigotItem
Allows type-safe modification of specific ItemMeta subclasses.
editMeta(Consumer<ItemMeta>) - Method in class io.github.projectunified.craftitem.spigot.core.SpigotItem
Allows modification of the item's metadata.
EnchantmentModifier - Class in io.github.projectunified.craftitem.spigot.modifier
Spigot modifier that applies enchantments to items.
EnchantmentModifier(List<String>) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.EnchantmentModifier
Creates an EnchantmentModifier from a list of enchantment strings.
EnchantmentModifier(Map<Enchantment, Integer>) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.EnchantmentModifier
Creates an EnchantmentModifier from a map of Enchantment objects.

G

getItemStack() - Method in class io.github.projectunified.craftitem.spigot.core.SpigotItem
Gets the underlying ItemStack.
getOwner() - Method in interface io.github.projectunified.craftitem.core.Item
Gets the UUID of the item's owner.
getOwner() - Method in class io.github.projectunified.craftitem.spigot.core.SpigotItem
Gets the UUID of the item's owner.

I

io.github.projectunified.craftitem.core - package io.github.projectunified.craftitem.core
 
io.github.projectunified.craftitem.modifier - package io.github.projectunified.craftitem.modifier
 
io.github.projectunified.craftitem.nbt - package io.github.projectunified.craftitem.nbt
 
io.github.projectunified.craftitem.spigot.core - package io.github.projectunified.craftitem.spigot.core
 
io.github.projectunified.craftitem.spigot.modifier - package io.github.projectunified.craftitem.spigot.modifier
 
io.github.projectunified.craftitem.spigot.nbt - package io.github.projectunified.craftitem.spigot.nbt
 
io.github.projectunified.craftitem.spigot.skull - package io.github.projectunified.craftitem.spigot.skull
 
Item - Interface in io.github.projectunified.craftitem.core
Represents a generic item with name, amount, and ownership information.
ItemFlagModifier - Class in io.github.projectunified.craftitem.spigot.modifier
Spigot modifier that adds item flags to hide or show specific item attributes.
ItemFlagModifier(Collection<ItemFlag>) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.ItemFlagModifier
Creates a new ItemFlagModifier from ItemFlag enum values.
ItemFlagModifier(List<String>) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.ItemFlagModifier
Creates a new ItemFlagModifier with the specified flag names.
ItemModifier - Interface in io.github.projectunified.craftitem.core
Interface for applying modifications to items.

L

LoreModifier - Class in io.github.projectunified.craftitem.spigot.modifier
Spigot modifier that sets item lore (description lines).
LoreModifier(List<String>) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.LoreModifier
Creates a new LoreModifier with the specified lore lines.

M

MaterialModifier - Class in io.github.projectunified.craftitem.spigot.modifier
Spigot modifier for changing item material type.
MaterialModifier(String) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.MaterialModifier
Creates a MaterialModifier with a material name that may contain variables.
MaterialModifier(List<String>) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.MaterialModifier
Creates a MaterialModifier that tries materials in order until one is valid.
MaterialModifier(Material) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.MaterialModifier
Creates a MaterialModifier with the specified Material enum.
MaterialModifier(Material, short) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.MaterialModifier
Creates a MaterialModifier with the specified Material and data value.
modify(Item, UnaryOperator<String>) - Method in interface io.github.projectunified.craftitem.core.ItemModifier
Applies modifications to the given item.
modify(Item, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.modifier.AmountModifier
Applies the translated amount to the item.
modify(Item, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.modifier.NameModifier
Applies the translated name to the item.
modify(Item, UnaryOperator<String>) - Method in interface io.github.projectunified.craftitem.spigot.core.SpigotItemModifier
 
modify(SpigotItem, UnaryOperator<String>) - Method in interface io.github.projectunified.craftitem.spigot.core.SpigotItemModifier
Applies Spigot-specific modifications to a SpigotItem.
modify(SpigotItem, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.spigot.modifier.DurabilityModifier
Applies the translated durability to the item.
modify(SpigotItem, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.spigot.modifier.EnchantmentModifier
Applies enchantments to the item.
modify(SpigotItem, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.spigot.modifier.ItemFlagModifier
Applies the parsed item flags to the item.
modify(SpigotItem, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.spigot.modifier.LoreModifier
Applies the translated lore to the item.
modify(SpigotItem, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.spigot.modifier.MaterialModifier
Applies the material change to the SpigotItem.
modify(SpigotItem, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.spigot.modifier.PotionEffectModifier
Applies the potion effects to the item.
modify(SpigotItem, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.spigot.nbt.NBTModifier
Applies the NBT data to the SpigotItem.
modify(SpigotItem, UnaryOperator<String>) - Method in class io.github.projectunified.craftitem.spigot.skull.SkullModifier
 

N

NameModifier - Class in io.github.projectunified.craftitem.modifier
Item modifier that sets the item's display name.
NameModifier(String) - Constructor for class io.github.projectunified.craftitem.modifier.NameModifier
Creates a new NameModifier with the specified name.
NBTMapNormalizer - Class in io.github.projectunified.craftitem.nbt
Normalizes maps and converts them to the right types for SNBT.
NBTModifier - Class in io.github.projectunified.craftitem.spigot.nbt
Spigot modifier for applying NBT data to items.
NBTModifier(Object, boolean) - Constructor for class io.github.projectunified.craftitem.spigot.nbt.NBTModifier
Creates a new NBTModifier with the specified NBT data.
normalize(Object) - Static method in class io.github.projectunified.craftitem.nbt.NBTMapNormalizer
Normalizes a value by resolving forced-value maps and applying translator
normalize(Object, UnaryOperator<String>) - Static method in class io.github.projectunified.craftitem.nbt.NBTMapNormalizer
Normalizes a value by resolving forced-value maps and applying translator

P

PotionEffectModifier - Class in io.github.projectunified.craftitem.spigot.modifier
Spigot modifier that adds potion effects to potions and compatible items.
PotionEffectModifier(String) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.PotionEffectModifier
Creates a PotionEffectModifier with a potion effect string.
PotionEffectModifier(Collection<PotionEffect>) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.PotionEffectModifier
Creates a PotionEffectModifier with a collection of PotionEffect objects.
PotionEffectModifier(List<String>) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.PotionEffectModifier
Creates a PotionEffectModifier with a list of potion effect strings.
PotionEffectModifier(PotionEffect) - Constructor for class io.github.projectunified.craftitem.spigot.modifier.PotionEffectModifier
Creates a PotionEffectModifier with a single PotionEffect.

S

setAmount(int) - Method in interface io.github.projectunified.craftitem.core.Item
Sets the stack amount of the item.
setAmount(int) - Method in class io.github.projectunified.craftitem.spigot.core.SpigotItem
Sets the stack amount of the item.
setItemStack(ItemStack) - Method in class io.github.projectunified.craftitem.spigot.core.SpigotItem
Sets the underlying ItemStack (cloned to prevent external modifications).
setName(String) - Method in interface io.github.projectunified.craftitem.core.Item
Sets the display name of the item.
setName(String) - Method in class io.github.projectunified.craftitem.spigot.core.SpigotItem
Sets the display name of the item.
SkullModifier - Class in io.github.projectunified.craftitem.spigot.skull
Skull modifier that handles setting skull textures from various sources: - Player names - Player UUIDs - Texture URLs - Mojang SHA256 hashes - Base64 encoded texture data
SkullModifier(String) - Constructor for class io.github.projectunified.craftitem.spigot.skull.SkullModifier
Creates a skull modifier.
SNBTConverter - Class in io.github.projectunified.craftitem.nbt
Converts Java objects to SNBT (Minecraft's text NBT format).
SpigotItem - Class in io.github.projectunified.craftitem.spigot.core
Spigot-specific implementation of the Item interface.
SpigotItem() - Constructor for class io.github.projectunified.craftitem.spigot.core.SpigotItem
Creates a new SpigotItem of STONE material with no owner.
SpigotItem(UUID) - Constructor for class io.github.projectunified.craftitem.spigot.core.SpigotItem
Creates a new SpigotItem of STONE material with the specified owner.
SpigotItem(ItemStack) - Constructor for class io.github.projectunified.craftitem.spigot.core.SpigotItem
Creates a new SpigotItem with the specified ItemStack and no owner.
SpigotItem(ItemStack, UUID) - Constructor for class io.github.projectunified.craftitem.spigot.core.SpigotItem
Creates a new SpigotItem with the specified ItemStack and owner.
SpigotItem(Material) - Constructor for class io.github.projectunified.craftitem.spigot.core.SpigotItem
Creates a new SpigotItem with the specified Material type and no owner.
SpigotItem(Material, UUID) - Constructor for class io.github.projectunified.craftitem.spigot.core.SpigotItem
Creates a new SpigotItem with the specified Material type and owner.
SpigotItemModifier - Interface in io.github.projectunified.craftitem.spigot.core
Interface for Spigot-specific item modifications.
A C D E G I L M N P S 
All Classes and Interfaces|All Packages