Class ElectricGoldPan
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
io.github.thebusybiscuit.slimefun4.implementation.items.electric.machines.ElectricGoldPan
- All Implemented Interfaces:
EnergyNetComponent,ItemAttribute,MachineProcessHolder<CraftingOperation>,Placeable,RecipeDisplayItem,InventoryBlock
- Author:
- TheBusyBiscuit, svr333, JustAHuman
- See Also:
-
Field Summary
Fields inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
recipesFields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionElectricGoldPan(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionprotected MachineRecipefindNextRecipe(BlockMenu menu) This is the list of items to display alongside thisSlimefunItem.This method returns an internal identifier that is used to identify thisAContainerand its recipes.This method returns theItemStackthat thisAContainerwill use as a progress bar.booleanThis returns whether theElectricGoldPanwill stop processing inputs if both output slots contain items or if that default behavior should be overridden and allow theElectricGoldPanto continue processing inputs even if both output slots are occupied.booleanDeprecated.Methods inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AContainer
constructMenu, getCapacity, getEnergyComponentType, getEnergyConsumption, getInputSlots, getInventoryTitle, getMachineProcessor, getMachineRecipes, getOutputSlots, getSpeed, onBlockBreak, preRegister, register, registerDefaultRecipes, registerRecipe, registerRecipe, registerRecipe, setCapacity, setEnergyConsumption, setProcessingSpeed, takeCharge, tickMethods 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, load, postRegister, 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.EnergyNetComponent
addCharge, getCharge, getCharge, isChargeable, removeCharge, setChargeMethods inherited from interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
createPreset, createPresetMethods 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
-
ElectricGoldPan
@ParametersAreNonnullByDefault public ElectricGoldPan(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe)
-
-
Method Details
-
isOutputLimitOverriden
Deprecated.since RC-36 UseisOutputLimitOverridden()instead. -
isOutputLimitOverridden
public boolean isOutputLimitOverridden()This returns whether theElectricGoldPanwill stop processing inputs if both output slots contain items or if that default behavior should be overridden and allow theElectricGoldPanto continue processing inputs even if both output slots are occupied. Note this option will allow players to force specific outputs from theElectricGoldPanbut can be necessary when a server has disabled cargo networks.- Returns:
- If output limits are overridden
-
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 classAContainer- Returns:
- The recipes to display in the
SlimefunGuide
-
getProgressBar
Description copied from class:AContainerThis method returns theItemStackthat thisAContainerwill use as a progress bar. Override this method to set the progress bar.- Specified by:
getProgressBarin classAContainer- Returns:
- The
ItemStackto use as the progress bar
-
findNextRecipe
- Overrides:
findNextRecipein classAContainer
-
getMachineIdentifier
Description copied from class:AContainerThis method returns an internal identifier that is used to identify thisAContainerand its recipes. When adding recipes to anAContainerwe will use this identifier to identify all instances of the sameAContainer. This way we can add the recipes to all instances of the same machine. This method will be deprecated and replaced in the future- Specified by:
getMachineIdentifierin classAContainer- Returns:
- The identifier of this machine
-
isOutputLimitOverridden()instead.