Class FusionReactor

java.lang.Object
io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
io.github.thebusybiscuit.slimefun5.implementation.items.electric.reactors.Reactor
io.github.addoncommunity.galactifun.base.items.FusionReactor
All Implemented Interfaces:
io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent, io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetProvider, io.github.thebusybiscuit.slimefun5.core.attributes.HologramOwner, io.github.thebusybiscuit.slimefun5.core.attributes.ItemAttribute, io.github.thebusybiscuit.slimefun5.core.attributes.MachineProcessHolder<io.github.thebusybiscuit.slimefun5.implementation.operations.FuelOperation>, io.github.thebusybiscuit.slimefun5.core.attributes.Placeable, io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem, me.mrCookieSlime.Slimefun.Objects.SlimefunItem.interfaces.InventoryBlock

public final class FusionReactor extends io.github.thebusybiscuit.slimefun5.implementation.items.electric.reactors.Reactor
  • Field Summary

    Fields inherited from class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider

    fuelTypes

    Fields inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem

    addon, disenchantable, enchantable, hidden, recipeOutput, useableInWorkbench
  • Constructor Summary

    Constructors
    Constructor
    Description
    FusionReactor(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    extraTick(org.bukkit.Location l)
     
    int
     
    org.bukkit.inventory.ItemStack
     
    int
     
    org.bukkit.inventory.ItemStack
     
    org.bukkit.inventory.ItemStack
     
    protected void
     

    Methods inherited from class io.github.thebusybiscuit.slimefun5.implementation.items.electric.reactors.Reactor

    getAccessPort, getCoolantSlots, getFuelSlots, getGeneratedOutput, getInputSlots, getMachineProcessor, getOutputSlots, getReactorMode, needsCooling, updateInventory, willExplode

    Methods inherited from class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider

    getDisplayRecipes, getEnergyComponentType, getFuelTypes, getInventoryTitle, getLabelLocalPath, registerFuel

    Methods inherited from class io.github.thebusybiscuit.slimefun5.api.items.SlimefunItem

    addItemHandler, addItemSetting, addOfficialWikipage, bakeTranslatedDisplay, callItemHandler, canUse, decorateBakedTemplate, equals, error, getAddon, getBlockTicker, getById, getByItem, getByItem, getDrops, getDrops, getGuideType, getHandlers, getId, getItem, getItemGroup, getItemName, getItemSetting, getItemSettings, getOptionalById, getOptionalByItem, getRecipe, getRecipeOutput, getRecipeType, getResearch, getState, getWikipage, hashCode, hasResearch, info, isDisabled, isDisabledIn, isDisenchantable, isEnchantable, isHidden, isItem, isTicking, isUseableInWorkbench, load, postRegister, preRegister, register, sendDeprecationWarning, setGuideType, setHidden, setItemGroup, setRecipe, setRecipeOutput, setRecipeType, setResearch, setUseableInWorkbench, setWikiText, toString, warn

    Methods inherited from class Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.EnergyNetComponent

    addCharge, getCharge, getCharge, isChargeable, removeCharge, setCharge

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.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.slimefun5.core.attributes.ItemAttribute

    getId

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.Placeable

    useVanillaBlockBreaking

    Methods inherited from interface io.github.thebusybiscuit.slimefun5.core.attributes.RecipeDisplayItem

    getRecipeSectionLabel
  • Constructor Details

    • FusionReactor

      public FusionReactor(io.github.thebusybiscuit.slimefun5.api.items.SlimefunItemStack item, org.bukkit.inventory.ItemStack[] recipe)
  • Method Details

    • extraTick

      public void extraTick(@Nonnull org.bukkit.Location l)
      Specified by:
      extraTick in class io.github.thebusybiscuit.slimefun5.implementation.items.electric.reactors.Reactor
    • getCoolant

      @Nullable public org.bukkit.inventory.ItemStack getCoolant()
      Specified by:
      getCoolant in class io.github.thebusybiscuit.slimefun5.implementation.items.electric.reactors.Reactor
    • getFuelIcon

      @Nonnull public org.bukkit.inventory.ItemStack getFuelIcon()
      Specified by:
      getFuelIcon in class io.github.thebusybiscuit.slimefun5.implementation.items.electric.reactors.Reactor
    • getProgressBar

      @Nonnull public org.bukkit.inventory.ItemStack getProgressBar()
      Specified by:
      getProgressBar in class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
    • getEnergyProduction

      public int getEnergyProduction()
      Specified by:
      getEnergyProduction in class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
    • registerDefaultFuelTypes

      protected void registerDefaultFuelTypes()
      Specified by:
      registerDefaultFuelTypes in class io.github.thebusybiscuit.slimefun5.implementation.items.electric.AbstractEnergyProvider
    • getCapacity

      public int getCapacity()