Class MakeshiftSmeltery
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.core.multiblocks.MultiBlockMachine
io.github.thebusybiscuit.slimefun4.implementation.items.multiblocks.MakeshiftSmeltery
- All Implemented Interfaces:
ItemAttribute
,NotPlaceable
,Placeable
,RecipeDisplayItem
The
MakeshiftSmeltery
is a simpler version of the Smeltery
.
Its functionality is very limited and it cannot be used to smelt alloys.- Author:
- TheBusyBiscuit
- See Also:
-
Field Summary
Fields inherited from class io.github.thebusybiscuit.slimefun4.core.multiblocks.MultiBlockMachine
displayRecipes, multiblock, recipes
Fields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
This is the list of items to display alongside thisSlimefunItem
.void
onInteract
(Player p, Block b) Methods inherited from class io.github.thebusybiscuit.slimefun4.core.multiblocks.MultiBlockMachine
addRecipe, findOutputInventory, findOutputInventory, getInteractionHandler, getMultiBlock, getRecipes, handleCraftedItem, load, postRegister, register, registerDefaultRecipes
Methods inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addItemHandler, addItemSetting, addOfficialWikipage, callItemHandler, canUse, 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, preRegister, sendDeprecationWarning, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, toString, warn
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.ItemAttribute
getId
Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.Placeable
useVanillaBlockBreaking
Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.RecipeDisplayItem
getLabelLocalPath, getRecipeSectionLabel
-
Constructor Details
-
MakeshiftSmeltery
@ParametersAreNonnullByDefault public MakeshiftSmeltery(ItemGroup itemGroup, SlimefunItemStack item)
-
-
Method Details
-
getDisplayRecipes
Description copied from interface:RecipeDisplayItem
This is the list of items to display alongside thisSlimefunItem
. Note that these items will be filled in from top to bottom first. So if you want it to express a recipe, add your inputItemStack
and then your outputItemStack
.- Specified by:
getDisplayRecipes
in interfaceRecipeDisplayItem
- Overrides:
getDisplayRecipes
in classMultiBlockMachine
- Returns:
- The recipes to display in the
SlimefunGuide
-
craft
-
onInteract
- Specified by:
onInteract
in classMultiBlockMachine
-