Uses of Class
com.bencodez.advancedcore.api.item.ItemBuilder
Packages that use ItemBuilder
Package
Description
-
Uses of ItemBuilder in com.bencodez.advancedcore.api.inventory
Methods in com.bencodez.advancedcore.api.inventory that return ItemBuilderModifier and TypeMethodDescriptionBInventoryButton.getBuilder()abstract ItemBuilderUpdatingBInventoryButton.onUpdate(org.bukkit.entity.Player player) Methods in com.bencodez.advancedcore.api.inventory with parameters of type ItemBuilderModifier and TypeMethodDescriptionvoidBInventoryButton.setBuilder(ItemBuilder builder) voidBInventoryButton.setItem(ItemBuilder builder) Sets the item.Constructors in com.bencodez.advancedcore.api.inventory with parameters of type ItemBuilderModifierConstructorDescriptionBInventoryButton(ItemBuilder item) Instantiates a new BInventory button from an item builder.UpdatingBInventoryButton(AdvancedCorePlugin plugin, ItemBuilder item, long delay, long updateInterval) -
Uses of ItemBuilder in com.bencodez.advancedcore.api.inventory.editgui
Constructors in com.bencodez.advancedcore.api.inventory.editgui with parameters of type ItemBuilderModifierConstructorDescriptionEditGUIButton(ItemBuilder item, EditGUIValue editer) Constructor for EditGUIButton with custom item. -
Uses of ItemBuilder in com.bencodez.advancedcore.api.item
Methods in com.bencodez.advancedcore.api.item that return ItemBuilderModifier and TypeMethodDescriptionItemBuilder.addAttributeModifier(org.bukkit.attribute.Attribute att, org.bukkit.attribute.AttributeModifier modifier) Adds an attribute modifier to the item.ItemBuilder.addEnchant(org.bukkit.enchantments.Enchantment ench, int level) Add an enchant to the item.ItemBuilder.addEnchantments(HashMap<String, Integer> enchants) Add multiple enchants at once.ItemBuilder.addEnchantments(Map<org.bukkit.enchantments.Enchantment, Integer> enchantments) Add multiple enchants at once.ItemBuilder.addGlow()Adds a glow effect to the item.ItemBuilder.addItemFlag(String flag) Adds an item flag to the item.ItemBuilder.addLoreLine(String line) Add a lore line.ItemBuilder.addLoreLine(String line, int pos) Add a lore line.ItemBuilder.addPlaceholder(String toReplace, String replaceWith) Adds a single placeholder.ItemBuilder.addPlaceholder(HashMap<String, String> placeholders) Adds a placeholder mapping.ItemBuilder.addPotionEffect(org.bukkit.potion.PotionEffectType type, int duration, int amplifier, org.bukkit.Color color) Adds a potion effect to the item.ItemBuilder.clone()Clone the ItemBuilder into a new one.ItemBuilder.dontCheckLoreLength()Disables lore length checking.ItemBuilder.getConditionItemBuilder(org.bukkit.OfflinePlayer player) Gets a conditional ItemBuilder based on player conditions.ItemBuilder.removeEnchantment(org.bukkit.enchantments.Enchantment ench) Remove a certain enchant from the item.ItemBuilder.removeLore()Removes all lore from the item.ItemBuilder.removeLoreLine(int index) Remove a lore line.ItemBuilder.removeLoreLine(String line) Remove a lore line.ItemBuilder.setAmount(int amount) Sets the amount of items.ItemBuilder.setAmountNone(int i) Sets the amount only if current amount is zero.ItemBuilder.setCustomData(String key, String value) Sets custom data in the persistent data container.ItemBuilder.setCustomModelData(int data) Sets the custom model data.ItemBuilder.setDurability(short dur) Deprecated.ItemBuilder.setDyeColor(org.bukkit.DyeColor color) Deprecated.ItemBuilder.setFireworkPower(int power) Sets the firework power.ItemBuilder.setHeadFromBase64(String value) Sets the skull head from base64 texture.ItemBuilder.setInfinityDurability()Sets infinity durability on the item by setting the durability to Short.MAX_VALUE.ItemBuilder.setLeatherArmorColor(org.bukkit.Color color) Sets the armor color of a leather armor piece.Re-sets the lore.Re-sets the lore.ItemBuilder.setLoreLength(int length) Sets the lore length for wrapping.Set the displayname of the item.ItemBuilder.setNameIfNotExist(String name) Sets the item name only if it doesn't already have a custom display name.ItemBuilder.setPlaceholders(HashMap<String, String> placeholders) Sets the placeholder mappings.ItemBuilder.setSkullOwner(String owner) Deprecated.ItemBuilder.setSkullOwner(org.bukkit.OfflinePlayer offlinePlayer) Sets the skull owner by offline player.ItemBuilder.setSlot(int slot) Sets the slot for the item in an inventory.ItemBuilder.setUnbreakable(boolean unbreakable) Sets whether the item is unbreakable. -
Uses of ItemBuilder in com.bencodez.advancedcore.api.user
Methods in com.bencodez.advancedcore.api.user with parameters of type ItemBuilderModifier and TypeMethodDescriptionvoidAdvancedCoreUser.giveItem(ItemBuilder builder) Gives an item to the player from an ItemBuilder.