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
ConstructorsConstructorDescriptionSpaceSuitUpgrade(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 TypeMethodDescriptionbooleanaddTo(org.bukkit.inventory.meta.ItemMeta meta, int maxUpgrades) static voidgetUpgrades(org.bukkit.inventory.meta.ItemMeta meta, Map<SpaceSuitStat, Integer> stats) voidtoLore()Methods inherited from class io.github.thebusybiscuit.slimefun5.implementation.items.blocks.UnplaceableBlock
getItemHandlerMethods inherited from class io.github.thebusybiscuit.slimefun5.implementation.items.SimpleSlimefunItem
preRegisterMethods 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, warnMethods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute
getIdMethods 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
-
postRegister
public void postRegister()- Overrides:
postRegisterin classio.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
-