-
Notifications
You must be signed in to change notification settings - Fork 4
[Campfire Extinguishers & Ignitors]
connor135246 edited this page Sep 15, 2024
·
15 revisions
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 beleftorright, for left click or right click.
Since right clicking a campfire checks for cooking recipes first, you might want to set this toleftif the input is also a cooking recipe input.
Additionally, you can add+dispensableto 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+dispensableto the first section, [Custom Input] shouldn't be an NBT-only input.
(If you do add+dispensableto an NBT-only input, it'll be treated as not having+dispensableand 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+dispensableto 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.
damageablewill attempt to damage the item by the@numberfrom the [Custom Input].
stackablemeans the item used will be reduced in stack size by the@numberfrom the [Custom Input].
nonemeans 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.
- Home
- Features Overview
- EnviroMine Compatibility
- Command
- v1.9 Recipe Changes
- Campfire Backport Mixin Config
Intro to CraftTweaker and config recipes.
Here's how to use CraftTweaker for your recipes. (Use CraftTweaker v3.1.0 or later!)
- [Campfire Cooking Recipes]
- [Campfire Extinguishers / Ignitors]
- [Burn Out Biome / Dimension Timers]
- [Working with NBT Tags in CraftTweaker]
- [Working with Fluid Containers in CraftTweaker]
In most cases, it'll be easier and cleaner to do these with CraftTweaker.
Specific Formats
- [Campfire Cooking Recipes]
- [Campfire Extinguishers / Ignitors]
- [Burn Out Biome / Dimension Timers]
-
[Campfire Drops]
General Formats