Class OreCrusher
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.core.multiblocks.MultiBlockMachine
io.github.thebusybiscuit.slimefun4.implementation.items.multiblocks.OreCrusher
- All Implemented Interfaces:
ItemAttribute,NotPlaceable,Placeable,RecipeDisplayItem
The
OreCrusher is a MultiBlockMachine which allows you to double ores
and crush some other Materials into various resources.- Author:
- TheBusyBiscuit
-
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 TypeMethodDescriptionThis is the list of items to display alongside thisSlimefunItem.booleanvoidonInteract(Player p, Block b) voidThis method is called afterSlimefunItem.register(SlimefunAddon).protected voidregisterDefaultRecipes(List<ItemStack> recipes) Methods inherited from class io.github.thebusybiscuit.slimefun4.core.multiblocks.MultiBlockMachine
addRecipe, findOutputInventory, findOutputInventory, getInteractionHandler, getMultiBlock, getRecipes, handleCraftedItem, load, registerMethods 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, 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
-
OreCrusher
-
-
Method Details
-
registerDefaultRecipes
- Overrides:
registerDefaultRecipesin classMultiBlockMachine
-
isOreDoublingEnabled
public boolean isOreDoublingEnabled() -
postRegister
public void postRegister()Description copied from class:SlimefunItemThis method is called afterSlimefunItem.register(SlimefunAddon). Override this method to add any additional setup that needs to happen after the original registration of thisSlimefunItem.- Overrides:
postRegisterin classMultiBlockMachine
-
getDisplayRecipes
Description copied from interface:RecipeDisplayItemThis 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 inputItemStackand then your outputItemStack.- Specified by:
getDisplayRecipesin interfaceRecipeDisplayItem- Overrides:
getDisplayRecipesin classMultiBlockMachine- Returns:
- The recipes to display in the
SlimefunGuide
-
onInteract
- Specified by:
onInteractin classMultiBlockMachine
-