Uses of Class
com.github.pinont.singularitylib.api.items.ItemCreator
Packages that use ItemCreator
-
Uses of ItemCreator in com.github.pinont.singularitylib.api.items
Subclasses of ItemCreator in com.github.pinont.singularitylib.api.itemsModifier and TypeClassDescriptionclassA specialized ItemCreator for creating crossbow items.classSpecialized ItemCreator for creating player head items.Methods in com.github.pinont.singularitylib.api.items that return ItemCreatorModifier and TypeMethodDescriptionItemCreator.addAttribute(AttributeType attributeType, double amount, org.bukkit.attribute.AttributeModifier.Operation operation, org.bukkit.inventory.EquipmentSlot slot) Adds an attribute modifier to the item.CrossbowCreator.addChargedProjectile(org.bukkit.inventory.ItemStack arrow) Adds a charged projectile to the crossbow.ItemCreator.addEnchant(org.bukkit.enchantments.Enchantment enchantment, int level, boolean ignoreLevelRestriction) Adds an enchantment to the item.ItemCreator.addInteraction(ItemInteraction itemInteraction) Adds an interaction to the item.ItemCreator.addItemFlag(org.bukkit.inventory.ItemFlag... flags) Adds item flags to hide certain item properties.Adds lore to the item.Adds lore to the item.ItemCreator.addLore(net.kyori.adventure.text.Component... lores) Adds lore to the item.Adds a single tag to the item.Adds a tag with a specific value to the item.Adds tags to the item.ItemCreator.clone()abstract ItemCreatorCustomItem.register()Registers and configures the ItemCreator for this custom item.Removes a tag from the item.ItemCreator.replaceTag(String oldKey, String newKey) Replaces an existing tag with a new key.ItemCreator.setAmount(int amount) Sets the amount of items in the stack.ItemCreator.setCannotMove(boolean b) Sets whether the item can be moved in inventories.ItemCreator.setDataContainer(String key, Object value, PersistType type) Sets data in the item's PersistentDataContainer.ItemCreator.setDurability(int durability) Sets the durability of the item.ItemCreator.setDurability(short durability) Sets the durability of the item.ItemCreator.setItemMeta(org.bukkit.inventory.meta.ItemMeta meta) Sets the ItemMeta for the item.ItemCreator.setModelData(int data) Sets the custom model data for the item.Sets the display name of the item.ItemCreator.setName(@Nullable net.kyori.adventure.text.Component name) Sets the display name of the item using a Component.ItemCreator.setTagValue(String key, String newValue) Sets the value of a specific tag.ItemCreator.setType(org.bukkit.Material type) Sets the material type of the item.ItemCreator.setUnbreakable(boolean unbreakable) Sets whether the item is unbreakable.ItemCreator.setUnstackable(boolean bool) Sets the item as unstackable.