java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.mooy1.infinitylib.machines.MenuBlock
io.github.mooy1.infinitylib.machines.TickingMenuBlock
io.github.sefiraat.slimetinker.items.workstations.tooltable.ToolTable
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.Placeable

public class ToolTable extends io.github.mooy1.infinitylib.machines.TickingMenuBlock
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final int
     
    protected static final int
     
    protected static final int
     

    Fields inherited from class io.github.mooy1.infinitylib.machines.MenuBlock

    BACKGROUND_ITEM, IDLE_ITEM, INPUT_BORDER, NO_ENERGY_ITEM, NO_ROOM_ITEM, OUTPUT_BORDER, PROCESSING_ITEM

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

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

    Constructors
    Constructor
    Description
    ToolTable(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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    clearPreview(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
     
    protected void
    craft(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, org.bukkit.entity.Player player)
     
    protected int[]
     
    protected int[]
     
    protected org.bukkit.inventory.ItemStack
    getTool(org.bukkit.inventory.ItemStack head, org.bukkit.inventory.ItemStack binding, org.bukkit.inventory.ItemStack rod)
     
    protected void
    onBreak(org.bukkit.event.block.BlockBreakEvent e, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu)
     
    protected void
    onNewInstance(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, org.bukkit.block.Block b)
     
    protected void
    previewCraft(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
     
    protected void
    setup(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset blockMenuPreset)
     
    protected void
    tick(org.bukkit.block.Block block, me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
     
    protected boolean
    validateBinder(org.bukkit.inventory.ItemStack itemStack)
     
    protected boolean
    validateClass(org.bukkit.inventory.ItemStack itemStack, String classType)
     

    Methods inherited from class io.github.mooy1.infinitylib.machines.TickingMenuBlock

    synchronous

    Methods inherited from class io.github.mooy1.infinitylib.machines.MenuBlock

    getInputSlots, getTransportSlots, onPlace, postRegister

    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, preRegister, 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.Placeable

    useVanillaBlockBreaking
  • Field Details

  • Constructor Details

    • ToolTable

      public ToolTable(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)
  • Method Details

    • tick

      protected void tick(@Nonnull org.bukkit.block.Block block, @Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
      Specified by:
      tick in class io.github.mooy1.infinitylib.machines.TickingMenuBlock
    • previewCraft

      protected void previewCraft(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
    • clearPreview

      protected void clearPreview(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu)
    • getTool

      protected org.bukkit.inventory.ItemStack getTool(@Nonnull org.bukkit.inventory.ItemStack head, @Nonnull org.bukkit.inventory.ItemStack binding, @Nonnull org.bukkit.inventory.ItemStack rod)
    • validateClass

      protected boolean validateClass(org.bukkit.inventory.ItemStack itemStack, String classType)
    • validateBinder

      protected boolean validateBinder(org.bukkit.inventory.ItemStack itemStack)
    • craft

      protected void craft(me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, org.bukkit.entity.Player player)
    • setup

      protected void setup(me.mrCookieSlime.Slimefun.api.inventory.BlockMenuPreset blockMenuPreset)
      Specified by:
      setup in class io.github.mooy1.infinitylib.machines.MenuBlock
    • getInputSlots

      protected int[] getInputSlots()
      Specified by:
      getInputSlots in class io.github.mooy1.infinitylib.machines.MenuBlock
    • getOutputSlots

      protected int[] getOutputSlots()
      Specified by:
      getOutputSlots in class io.github.mooy1.infinitylib.machines.MenuBlock
    • onBreak

      protected void onBreak(@Nonnull org.bukkit.event.block.BlockBreakEvent e, @Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu menu)
      Overrides:
      onBreak in class io.github.mooy1.infinitylib.machines.MenuBlock
    • onNewInstance

      protected void onNewInstance(@Nonnull me.mrCookieSlime.Slimefun.api.inventory.BlockMenu blockMenu, @Nonnull org.bukkit.block.Block b)
      Overrides:
      onNewInstance in class io.github.mooy1.infinitylib.machines.MenuBlock