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
FieldsModifier and TypeFieldDescriptionstatic final io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStackFields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionCheckInventory(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 TypeMethodDescriptionstatic voidcheckItemInInventory(org.bukkit.inventory.ItemStack itemStack, org.bukkit.block.Block block, org.bukkit.block.Block blockTarget) int[]int[]protected io.github.thebusybiscuit.slimefun5.core.handlers.BlockBreakHandlervoidstatic voidMethods 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, warnMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
createPreset, createPresetMethods 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
-
preRegister
public void preRegister()- Overrides:
preRegisterin classio.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:
getInputSlotsin interfaceme.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
-
getOutputSlots
public int[] getOutputSlots()- Specified by:
getOutputSlotsin interfaceme.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
-
onBlockBreak
@Nonnull protected io.github.thebusybiscuit.slimefun5.core.handlers.BlockBreakHandler onBlockBreak()
-