Class EnhancedCraftingTable
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.core.multiblocks.MultiBlockMachine
io.github.thebusybiscuit.slimefun4.implementation.items.multiblocks.EnhancedCraftingTable
- All Implemented Interfaces:
ItemAttribute,NotPlaceable,Placeable,RecipeDisplayItem
-
Field Summary
Fields inherited from class io.github.thebusybiscuit.slimefun4.core.multiblocks.MultiBlockMachine
displayRecipes, multiblock, recipesFields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.bukkit.inventory.InventorycreateVirtualInventory(org.bukkit.inventory.Inventory inv) voidonInteract(org.bukkit.entity.Player p, org.bukkit.block.Block b) protected booleanupgradeBackpack(org.bukkit.entity.Player p, org.bukkit.inventory.Inventory inv, SlimefunBackpack backpack, org.bukkit.inventory.ItemStack output, Runnable onReadyCb) Methods inherited from class io.github.thebusybiscuit.slimefun4.core.multiblocks.MultiBlockMachine
addRecipe, clearRecipe, findOutputInventory, findOutputInventory, getDisplayRecipes, getInteractionHandler, getMultiBlock, getRecipes, handleCraftedItem, load, postRegister, register, registerDefaultRecipesMethods inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addItemHandler, addItemSetting, addOfficialWikipage, addWikiPage, callItemHandler, canUse, disable, enable, equals, error, getAddon, getBlockTicker, getById, getByItem, getDrops, getDrops, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getOptionalById, getOptionalByItem, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isItemStackImmutable, isTicking, isUseableInWorkbench, loadDataByDefault, preRegister, sendDeprecationWarning, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, toString, warnMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.ItemAttribute
getIdMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.Placeable
useVanillaBlockBreakingMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.RecipeDisplayItem
getLabelLocalPath, getRecipeSectionLabel
-
Constructor Details
-
EnhancedCraftingTable
@ParametersAreNonnullByDefault public EnhancedCraftingTable(ItemGroup itemGroup, SlimefunItemStack item)
-
-
Method Details
-
onInteract
public void onInteract(org.bukkit.entity.Player p, org.bukkit.block.Block b) - Specified by:
onInteractin classMultiBlockMachine
-
createVirtualInventory
@Nonnull protected org.bukkit.inventory.Inventory createVirtualInventory(@Nonnull org.bukkit.inventory.Inventory inv) -
upgradeBackpack
@ParametersAreNonnullByDefault protected boolean upgradeBackpack(org.bukkit.entity.Player p, org.bukkit.inventory.Inventory inv, SlimefunBackpack backpack, org.bukkit.inventory.ItemStack output, Runnable onReadyCb)
-