public class CustomBow extends CustomItem
CustomTexturedBowCHEST_UUID, FEET_UUID, HEAD_UUID, LEGS_UUID, LORE_PREFIX, LORE_SUFFIX, MAIN_HAND_UUID, OFF_HAND_UUID| Constructor and Description |
|---|
CustomBow(int amount,
short durability,
java.lang.String idName)
Creates a Custom Bow.
|
CustomBow(int amount,
short durability,
java.lang.String idName,
ItemDurability itemDurability)
Creates a Custom Bow.
|
addAllCustomRecipes, addAttribute, addAttribute, addAttribute, addCustomRecipe, addEnchantment, addForbiddenEnchantment, addForbiddenEnchantment, addItemFlag, addLoreLine, clearAttributes, clone, compareTo, getAmount, getAttributes, getAttributeVisibility, getBurnTime, getCanBePlacedVisibility, getCanDestroyVisibility, getCustomRecipes, getDisplayName, getDurability, getDurabilityMechanics, getEnchantmentVisibility, getEnchantmnets, getFakeDurability, getForbidenEnchantments, getFullLore, getIdName, getItemFlags, getItemType, getLore, getMaterial, getPermissions, getPotionEffectsVisibility, getUnbreakableVisibility, hasFakeDurability, hasHoeAbilities, isCombinableInCrafting, isEnchantable, isUnbreakable, setAmount, setAttributes, setAttributeVisibility, setBurnTime, setCanBePlacedVisibility, setCanDestroyVisibility, setCombinedInCrafting, setDisplayName, setDurability, setDurabilityMechanics, setEnchantable, setEnchantmentVisibility, setFakeDurability, setHoeAbilities, setIdName, setLore, setMaterial, setPermissions, setPotionEffectsVisibility, setUnbreakable, setUnbreakableVisibilitypublic CustomBow(int amount,
short durability,
java.lang.String idName,
ItemDurability itemDurability)
amount - The amount that the Custom Bow will have. Recommended value is
one as bows do not have a stackable size higher than 1 by
default.durability - The durability of the Custom Bow.idName - the Custom Bow's ID Name. This MUST BE SIMILAR to
"vanilla_additions:emerald_sword" and is saved in the
ItemStack so you can easily detect which Custom Bow it is.itemDurability - The Bow's Item Durability. Recommended class is
BowDurabilitypublic CustomBow(int amount,
short durability,
java.lang.String idName)
amount - The amount that the Custom Bow will have. Recommended value is
one as bows do not have a stackable size higher than 1 by
default.durability - The durability of the Custom Bow.idName - the Custom Bow's ID Name. This MUST BE SIMILAR to
"vanilla_additions:emerald_sword" and is saved in the
ItemStack so you can easily detect which Custom Bow it is.