Class BaseItem

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack
io.github.sefiraat.slimetinker.items.BaseItem
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.NotPlaceable

public class BaseItem extends io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack implements io.github.thebusybiscuit.slimefun5.core.attributes.NotPlaceable
  • Constructor Summary

    Constructors
    Constructor
    Description
    BaseItem(String id, String texture)
    Resource-driven: name/lore come from languages/en/items.yml.
    BaseItem(String id, String texture, String name, String... lore)
     
    BaseItem(String id, org.bukkit.Material type)
    Resource-driven: name/lore come from languages/en/items.yml.
    BaseItem(String id, org.bukkit.Material type, String name, String... lore)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack

    add, add, addEnchantment, addEnchantments, addItemFlags, addUnsafeEnchantment, addUnsafeEnchantments, asHoverEvent, asHoverEvent, asOne, asQuantity, canRepair, clone, computeTooltipLines, containsEnchantment, damage, displayName, editMeta, editMeta, enchantWithLevels, enchantWithLevels, ensureServerConversions, equals, getAmount, getData, getDisplayName, getDurability, getEnchantmentLevel, getEnchantments, getI18NDisplayName, getItem, getItem, getItemFlags, getItemId, getItemMeta, getItemMetaSnapshot, getLore, getMaxItemUseDuration, getMaxItemUseDuration, getMaxStackSize, getRarity, getSkullTexture, getTranslationKey, getType, hashCode, hasItemFlag, hasItemMeta, isEmpty, isRepairableBy, isSimilar, item, lore, lore, removeEnchantment, removeEnchantments, removeItemFlags, serialize, serializeAsBytes, setAmount, setData, setDurability, setItemMeta, setLore, setType, subtract, subtract, toString, translationKey, withType

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • BaseItem

      public BaseItem(String id, org.bukkit.Material type, String name, String... lore)
    • BaseItem

      public BaseItem(String id, String texture, String name, String... lore)
    • BaseItem

      public BaseItem(String id, org.bukkit.Material type)
      Resource-driven: name/lore come from languages/en/items.yml.
    • BaseItem

      public BaseItem(String id, String texture)
      Resource-driven: name/lore come from languages/en/items.yml.
  • Method Details

    • getId

      @Nonnull public String getId()
      Specified by:
      getId in interface io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute