All Implemented Interfaces:
EnergyNetComponent, EnergyNetProvider, HologramOwner, ItemAttribute, MachineProcessHolder<FuelOperation>, Placeable, RecipeDisplayItem, InventoryBlock

public abstract class NetherStarReactor extends Reactor
The NetherStarReactor is an implementation of Reactor that consumes Nether Stars and adds Withering to any nearby LivingEntity
Author:
John000708
See Also:
  • Constructor Details

    • NetherStarReactor

      @ParametersAreNonnullByDefault protected NetherStarReactor(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, org.bukkit.inventory.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 class AbstractEnergyProvider
    • extraTick

      public void extraTick(@Nonnull org.bukkit.Location l)
      Specified by:
      extraTick in class Reactor
    • getCoolant

      public org.bukkit.inventory.ItemStack getCoolant()
      Description copied from class: Reactor
      This method returns the ItemStack that is required to cool this Reactor. If it returns null, then no cooling is required.
      Specified by:
      getCoolant in class Reactor
      Returns:
      The ItemStack required to cool this Reactor
    • getFuelIcon

      public org.bukkit.inventory.ItemStack getFuelIcon()
      Description copied from class: Reactor
      This method returns the displayed icon above the fuel input slot. It should reflect the ItemStack used to power the reactor. This method does not determine the fuel input, only the icon.
      Specified by:
      getFuelIcon in class Reactor
      Returns:
      The ItemStack used as the fuel icon for this Reactor.
    • getProgressBar

      public org.bukkit.inventory.ItemStack getProgressBar()
      Description copied from class: AbstractEnergyProvider
      This method returns the ItemStack that this AGenerator will use as a progress bar. Override this method to set the progress bar.
      Specified by:
      getProgressBar in class AbstractEnergyProvider
      Returns:
      The ItemStack to use as the progress bar