Class NetherStarReactor
java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.electric.AbstractEnergyProvider
io.github.thebusybiscuit.slimefun4.implementation.items.electric.reactors.Reactor
io.github.thebusybiscuit.slimefun4.implementation.items.electric.reactors.NetherStarReactor
- All Implemented Interfaces:
EnergyNetComponent,EnergyNetProvider,HologramOwner,ItemAttribute,MachineProcessHolder<FuelOperation>,Placeable,RecipeDisplayItem,InventoryBlock
The
NetherStarReactor is an implementation of Reactor that consumes
Nether Stars and adds Withering to any nearby LivingEntity- Author:
- John000708
- See Also:
-
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
ConstructorsModifierConstructorDescriptionprotectedNetherStarReactor(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method returns the displayed icon above the fuel input slot.This method returns theItemStackthat thisAGeneratorwill use as a progress bar.protected voidThis method is used to register the default fuel types.Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.electric.reactors.Reactor
getAccessPort, getCoolantSlots, getFuelSlots, getGeneratedOutput, getInputSlots, getMachineProcessor, getOutputSlots, getReactorMode, needsCooling, updateInventory, willExplodeMethods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.electric.AbstractEnergyProvider
getDisplayRecipes, getEnergyComponentType, getEnergyProduction, 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, register, 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, getCapacity, getCharge, getCharge, isChargeable, removeCharge, setChargeMethods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.HologramOwner
getHologramOffset, removeHologram, updateHologramMethods 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
-
NetherStarReactor
@ParametersAreNonnullByDefault protected NetherStarReactor(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
-
extraTick
-
getCoolant
Description copied from class:ReactorThis method returns theItemStackthat is required to cool thisReactor. If it returns null, then no cooling is required.- Specified by:
getCoolantin classReactor- Returns:
- The
ItemStackrequired to cool thisReactor
-
getFuelIcon
Description copied from class:ReactorThis method returns the displayed icon above the fuel input slot. It should reflect theItemStackused to power the reactor. This method does not determine the fuel input, only the icon.- Specified by:
getFuelIconin classReactor- Returns:
- The
ItemStackused as the fuel icon for thisReactor.
-
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
-