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
fuelTypes
Fields inherited from class io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
-
Constructor Summary
ModifierConstructorDescriptionprotected
NetherStarReactor
(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe) -
Method Summary
Modifier and TypeMethodDescriptionvoid
This method returns the displayed icon above the fuel input slot.This 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 io.github.thebusybiscuit.slimefun4.implementation.items.electric.reactors.Reactor
getAccessPort, getCoolantSlots, getFuelSlots, getGeneratedOutput, getInputSlots, getMachineProcessor, getOutputSlots, getReactorMode, needsCooling, updateInventory, willExplode
Methods inherited from class io.github.thebusybiscuit.slimefun4.implementation.items.electric.AbstractEnergyProvider
getDisplayRecipes, getEnergyComponentType, getEnergyProduction, 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, register, 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, getCapacity, getCharge, getCharge, isChargeable, removeCharge, setCharge
Methods inherited from interface io.github.thebusybiscuit.slimefun4.core.attributes.HologramOwner
getHologramOffset, removeHologram, updateHologram
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
-
NetherStarReactor
@ParametersAreNonnullByDefault protected NetherStarReactor(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
-
extraTick
-
getCoolant
Description copied from class:Reactor
This method returns theItemStack
that is required to cool thisReactor
. If it returns null, then no cooling is required.- Specified by:
getCoolant
in classReactor
- Returns:
- The
ItemStack
required to cool thisReactor
-
getFuelIcon
Description copied from class:Reactor
This method returns the displayed icon above the fuel input slot. It should reflect theItemStack
used to power the reactor. This method does not determine the fuel input, only the icon.- Specified by:
getFuelIcon
in classReactor
- Returns:
- The
ItemStack
used as the fuel icon for thisReactor
.
-
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
-