Class CheckInventory

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
com.github.relativobr.supreme.machine.CheckInventory
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.Placeable, me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock

public class CheckInventory extends io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem implements me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack
     

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

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

    Constructors
    Constructor
    Description
    CheckInventory(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
    static void
    checkItemInInventory(org.bukkit.inventory.ItemStack itemStack, org.bukkit.block.Block block, org.bukkit.block.Block blockTarget)
     
    int[]
     
    int[]
     
    protected io.github.thebusybiscuit.slimefun5.core.handlers.BlockBreakHandler
     
    void
     
    static void
    setup(Supreme plugin)
     

    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 me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock

    createPreset, createPreset

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

    useVanillaBlockBreaking
  • Field Details

    • CHECK_INVENTORY

      public static final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack CHECK_INVENTORY
  • Constructor Details

    • CheckInventory

      @ParametersAreNonnullByDefault public CheckInventory(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

    • setup

      public static void setup(Supreme plugin)
    • preRegister

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

      public static void checkItemInInventory(@Nonnull org.bukkit.inventory.ItemStack itemStack, @Nonnull org.bukkit.block.Block block, org.bukkit.block.Block blockTarget)
    • getInputSlots

      public int[] getInputSlots()
      Specified by:
      getInputSlots in interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
    • getOutputSlots

      public int[] getOutputSlots()
      Specified by:
      getOutputSlots in interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
    • onBlockBreak

      @Nonnull protected io.github.thebusybiscuit.slimefun5.core.handlers.BlockBreakHandler onBlockBreak()