Class BioGenerator
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.electric.AbstractEnergyProvider
me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AGenerator
io.github.thebusybiscuit.slimefun4.implementation.items.electric.generators.BioGenerator
- All Implemented Interfaces:
EnergyNetComponent,EnergyNetProvider,ItemAttribute,MachineProcessHolder<FuelOperation>,Placeable,RecipeDisplayItem,InventoryBlock
-
Field Summary
Fields inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.electric.AbstractEnergyProvider
fuelTypesFields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench -
Constructor Summary
ConstructorsConstructorDescriptionBioGenerator(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns theItemStackthat thisAGeneratorwill use as a progress bar.protected voidThis method is used to register the default fuel types.Methods inherited from class me.mrCookieSlime.Slimefun.Objects.SlimefunItem.abstractItems.AGenerator
getCapacity, getEnergyProduction, getGeneratedOutput, getInputSlots, getMachineProcessor, getOutputSlots, onBlockBreak, register, setCapacity, setEnergyProductionMethods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.electric.AbstractEnergyProvider
getDisplayRecipes, getEnergyComponentType, getFuelTypes, getInventoryTitle, getLabelLocalPath, registerFuelMethods 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, 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.EnergyNetComponent
addCharge, getCharge, getCharge, isChargeable, removeCharge, setChargeMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.EnergyNetProvider
willExplodeMethods 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
getRecipeSectionLabel
-
Constructor Details
-
BioGenerator
@ParametersAreNonnullByDefault public BioGenerator(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe)
-
-
Method Details
-
registerDefaultFuelTypes
protected void registerDefaultFuelTypes()Description copied from class:AbstractEnergyProviderThis method is used to register the default fuel types.- Specified by:
registerDefaultFuelTypesin classAbstractEnergyProvider
-
getProgressBar
Description copied from class:AbstractEnergyProviderThis method returns theItemStackthat thisAGeneratorwill use as a progress bar. Override this method to set the progress bar.- Specified by:
getProgressBarin classAbstractEnergyProvider- Returns:
- The
ItemStackto use as the progress bar
-