Class CombustionGenerator
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.CombustionGenerator
- 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
fuelTypes
Fields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
-
Constructor Summary
ConstructorDescriptionCombustionGenerator
(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionThis method returns theItemStack
that thisAGenerator
will use as a progress bar.protected void
This 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, setEnergyProduction
Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.electric.AbstractEnergyProvider
getDisplayRecipes, getEnergyComponentType, getFuelTypes, getInventoryTitle, getLabelLocalPath, registerFuel
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, load, postRegister, 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.EnergyNetComponent
addCharge, getCharge, getCharge, isChargeable, removeCharge, setCharge
Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.EnergyNetProvider
willExplode
Methods inherited from interface me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock
createPreset, createPreset
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
getRecipeSectionLabel
-
Constructor Details
-
CombustionGenerator
@ParametersAreNonnullByDefault public CombustionGenerator(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe)
-
-
Method Details
-
registerDefaultFuelTypes
protected void registerDefaultFuelTypes()Description copied from class:AbstractEnergyProvider
This method is used to register the default fuel types.- Specified by:
registerDefaultFuelTypes
in classAbstractEnergyProvider
-
getProgressBar
Description copied from class:AbstractEnergyProvider
This method returns theItemStack
that thisAGenerator
will use as a progress bar. Override this method to set the progress bar.- Specified by:
getProgressBar
in classAbstractEnergyProvider
- Returns:
- The
ItemStack
to use as the progress bar
-