java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.blocks.IgnitionChamber
All Implemented Interfaces:
Placeable

public class IgnitionChamber extends SlimefunItem
The IgnitionChamber is used to re-ignite a Smeltery.
Author:
AtomicScience, TheBusyBiscuit
See Also:
  • Constructor Details

  • Method Details

    • useFlintAndSteel

      @ParametersAreNonnullByDefault public static boolean useFlintAndSteel(Player p, Block smelteryBlock)
      This triggers an IgnitionChamber to be used from the given Smeltery block and Player.
      Parameters:
      p - The Player who triggered this action
      smelteryBlock - The Dispenser block of our Smeltery
      Returns:
      Whether the operation completed successfully. This will return false when there is no chamber or no flint and steel present