Skip to content

[Campfire Extinguishers & Ignitors]

connor135246 edited this page Sep 15, 2024 · 15 revisions

[Campfire Extinguishers / Ignitors]

There are 3 sections to this one. Separate each section with a /.

  • The first section is the way this extinguisher / ignitor can be used.
    It can be left or right, for left click or right click.
    Since right clicking a campfire checks for cooking recipes first, you might want to set this to left if the input is also a cooking recipe input.
    Additionally, you can add +dispensable to make this extinguisher/ignitor work in a dispenser as well. More on this in a second.
  • The second section is [Custom Input], but there are some differences.
    If you added +dispensable to the first section, [Custom Input] shouldn't be an NBT-only input.
    (If you do add +dispensable to an NBT-only input, it'll be treated as not having +dispensable and you'll get a warning in console.)
    USE CAUTION when assigning +dispensable, if the item you specify already has a dispenser behaviour, that behaviour will be overwritten.
    For example, if you add +dispensable to a fire charge, dispensers will no longer fire them as projectiles.
    This is just because of the way dispenser behaviours work in minecraft.
    IMPORTANT: Dispenser behaviours are ONLY registered when the game is loaded!
    When you add a dispensable recipe from the in-game config screen, it won't actually be dispensable until you quit and reload!
    In the same way, if you remove a dispensable recipe, it won't actually stop being dispensable until you quit and reload!
    Also, dispenser behaviours are registered before any CraftTweaker scripts are run! So if you add "+dispensable" to an Ore Dictionary input but also try to change the contents of that Ore Dictionary entry in CraftTweaker, the dispenser behaviours will only be added to whatever was in that Ore Dictionary entry before you changed it.
  • The third section is what should happen after extinguishing / igniting the campfire.
    damageable will attempt to damage the item by the @number from the [Custom Input].
    stackable means the item used will be reduced in stack size by the @number from the [Custom Input].
    none means neither of these things will happen.
    Additionally, you can specify an item to be added to the inventory afterward by putting a >, and then a [Custom Output].

Some example extinguishers/ignitors:

  • Right-clicking with a milk bucket turns into an empty bucket
    right/minecraft:milk_bucket/stackable
  • Right-clicking with a snow block turns into 2 snowballs and can be used from a dispenser
    right+dispensable/minecraft:snow/stackable>minecraft:snowball@2
  • Left-clicking with any sword enchanted with fire aspect and can be used from a dispenser
    left+dispensable/class:net.minecraft.item.ItemSword[ench:20,1]/damageable
  • Right-clicking with any shovel and can be used from a dispenser
    right+dispensable/tool:shovel/damageable
  • Left-clicking with any Tinker's Construct tool that has Auto-Smelt
    left/[Tinkers:[B:{Lava:1}]]/damageable
  • Left-clicking with 5 of any stickWood and can be used from a dispenser
    left+dispensable/ore:stickWood@5/stackable
  • Left-clicking with a bow enchanted with flame damages it by 10 points
    left/minecraft:bow[ench:50,1]@10/damageable
  • Right-clicking with a Thermal Expansion tank with at least 1000 mB of water (drains the water afterwards)
    right/ThermalExpansion:Tank[Fluid:"water",DrainAmount:1000]/none
  • Right-clicking with a Thermal Expansion tank with capacity for up to 1000 mB of lava (fills with lava afterwards)
    right/ThermalExpansion:Tank[Fluid:"lava",FillAmount:1000]/none
  • Right-clicking with a wooden sword returns a wooden sword enchanted with fire aspect
    right/minecraft:wooden_sword/stackable>minecraft:wooden_sword[ench:20,2]
  • Left-clicking with 3 of any stairs enchanted with fire aspect of at least level 3 returns a lit furnace named Oops
    left/class:net.minecraft.block.BlockStairs[ench:20,3]/stackable>minecraft:furnace:1{display:{Name:"Oops"}}

Tips:

  • Pressing the "uses" hotkey when hovering over a campfire in NEI will bring up all Recipes and Extinguishers / Ignitors.
  • Check the console for error messages if your input didn't parse!
  • If a mod adds an item with unusual characters in its id, the in-game config GUI may prevent you from entering it. In that case, you'll have to edit the config file directly.
  • The NBT modifier doesn't check for valid NBT formatting! All it checks is that there's something between two {} curly brackets. Error messages will be printed to console if your NBT failed to parse.
  • Recipes and Extinguishers/Ignitors are sorted based on their input.
    Recipes created by Auto Recipe Discovery are lowest, followed by Data inputs, followed by Class inputs, followed by tool class inputs, followed by Ore Dictionary inputs, followed by Item inputs that don't specify a meta, followed by Item inputs that do.
    Within each of these categories, inputs with NBT data have higher priority, and inputs that use more than one item have the most priority.
    When you try to use an item on a campfire, it will use whatever recipe matches first. (Also, Recipes are checked before Extinguishers/Ignitors.)
    Check the order of your recipes by viewing recipes in NEI, or setting the config option #Debug: Print Campfire Recipes to true.

Table of Contents

CraftTweaker & Config

Intro to CraftTweaker and config recipes.

Campfire Backport CraftTweaking

Here's how to use CraftTweaker for your recipes. (Use CraftTweaker v3.1.0 or later!)

Campfire Backport Config Settings in Detail

In most cases, it'll be easier and cleaner to do these with CraftTweaker.

Specific Formats

General Formats

Clone this wiki locally