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

    • IgnitionChamber

      @ParametersAreNonnullByDefault public IgnitionChamber(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe)
  • Method Details

    • useFlintAndSteel

      @ParametersAreNonnullByDefault public static boolean useFlintAndSteel(org.bukkit.entity.Player p, org.bukkit.block.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