Class SpaceSuitUpgrade

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun5.implementation.items.SimpleSlimefunItem<io.github.thebusybiscuit.slimefun5.core.handlers.ItemUseHandler>
io.github.thebusybiscuit.slimefun5.implementation.items.blocks.UnplaceableBlock
io.github.addoncommunity.galactifun.api.items.spacesuit.SpaceSuitUpgrade
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.NotPlaceable, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable

@ParametersAreNonnullByDefault public final class SpaceSuitUpgrade extends io.github.thebusybiscuit.slimefun5.implementation.items.blocks.UnplaceableBlock
  • Field Summary

    Fields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem

    addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
  • Constructor Summary

    Constructors
    Constructor
    Description
    SpaceSuitUpgrade(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup category, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe, SpaceSuitStat stat, int value)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    addTo(org.bukkit.inventory.meta.ItemMeta meta, int maxUpgrades)
     
    static void
    getUpgrades(org.bukkit.inventory.meta.ItemMeta meta, Map<SpaceSuitStat, Integer> stats)
     
    void
     
     

    Methods inherited from class io.github.thebusybiscuit.slimefun5.implementation.items.blocks.UnplaceableBlock

    getItemHandler

    Methods inherited from class io.github.thebusybiscuit.slimefun5.implementation.items.SimpleSlimefunItem

    preRegister

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

    addItemHandler, addItemSetting, addOfficialWikipage, bakeTranslatedDisplay, callItemHandler, canUse, decorateBakedTemplate, equals, error, getAddon, getBlockTicker, getById, getByItem, getByItem, getDrops, getDrops, getGuideType, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getOptionalById, getOptionalByItem, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isTicking, isUseableInWorkbench, load, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warn

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute

    getId

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable

    useVanillaBlockBreaking
  • Constructor Details

    • SpaceSuitUpgrade

      public SpaceSuitUpgrade(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup category, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe, SpaceSuitStat stat, int value)
  • Method Details

    • getUpgrades

      public static void getUpgrades(org.bukkit.inventory.meta.ItemMeta meta, Map<SpaceSuitStat, Integer> stats)
    • addTo

      public boolean addTo(org.bukkit.inventory.meta.ItemMeta meta, int maxUpgrades)
    • toLore

      @Nonnull public String toLore()
    • postRegister

      public void postRegister()
      Overrides:
      postRegister in class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem