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.sefiraat.slimetinker.items.templates.PartTemplate
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.NotPlaceable, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable

public class PartTemplate 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
    PartTemplate(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe, String name)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getLore(String material, net.md_5.bungee.api.ChatColor color)
     
     
     
    getName(String material)
     
    org.bukkit.inventory.ItemStack
    getStack(String material, String partClass, String partType, net.md_5.bungee.api.ChatColor color)
     
    void
    setMaterialType(String materialType)
     

    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, postRegister, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warn

    Methods inherited from class java.lang.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

    • PartTemplate

      public PartTemplate(io.github.thebusybiscuit.slimefun5.api.items.ItemGroup itemGroup, io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, io.github.thebusybiscuit.slimefun5.api.recipes.RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe, String name)
  • Method Details

    • getName

      public String getName(String material)
    • getLore

      public List<String> getLore(String material, net.md_5.bungee.api.ChatColor color)
    • getStack

      public org.bukkit.inventory.ItemStack getStack(String material, String partClass, @Nullable String partType, net.md_5.bungee.api.ChatColor color)
    • getName

      public String getName()
    • getMaterialType

      public String getMaterialType()
    • setMaterialType

      public void setMaterialType(String materialType)