Campfire Keeps Food
Cooked food stays on the campfire until you take it.
In vanilla, food that finishes cooking on a campfire pops off as an item and despawns if nobody picks it up. Campfire Keeps Food leaves the cooked result on the campfire until you come back for it.
Features
- Food stays put. When food finishes cooking, the result stays in its spot on the campfire and is not cooked again.
- Take it all at once. Right-click the campfire with an empty main hand to collect every cooked item. Raw food keeps cooking.
- Campfires and soul campfires. Both work the same way.
- Saved with the world. Cooked food on a campfire survives restarts and chunk reloads.
- Server-side only. Players join with a plain vanilla client and see the cooked food lying on the campfire. No config file, and no Fabric API needed.
How it works
- Cooking uses the vanilla recipes and times. A finished result keeps its slot and looks like food that is still cooking.
- Taking food: empty main hand, right-click. All cooked items go into your inventory with the pickup sound; whatever does not fit drops near you. If nothing is cooked yet, the click does what it does in vanilla.
- Slots: a campfire has four slots and cooked food keeps its slot, so take it to make room for new food.
- Off hand: raw food in your off hand still goes onto the campfire on the same click, right after you take the cooked food.
- Results that can be cooked again (a campfire recipe from another mod or datapack) are thrown off as in vanilla.
- Stays vanilla: breaking the campfire drops everything on it; putting the fire out removes nothing and cooked food can be taken from an unlit campfire; hoppers do not interact with campfires; fire damage, smoke, signal smoke, recipes and cooking times are unchanged.
Versions
| Minecraft | Loader | Requires | File |
|---|---|---|---|
| 26.3 | NeoForge 26.3.0.0-beta+ (stable 26.3.0.76+) | Java 25 | campfirekeepsfood-neoforge-26.3-1.0.0.jar |
| 26.3 | Forge 66.0.0+ | Java 25 | campfirekeepsfood-forge-26.3-1.0.0.jar |
| 26.3 | Fabric Loader 0.18.2+ | Java 25 | campfirekeepsfood-fabric-26.3-1.0.0.jar |
| 26.2 | NeoForge 26.2.0.0-beta+ (stable 26.2.0.57+) | Java 25 | campfirekeepsfood-neoforge-26.2-1.0.0.jar |
| 26.2 | Forge 65.0.0+ | Java 25 | campfirekeepsfood-forge-26.2-1.0.0.jar |
| 26.2 | Fabric Loader 0.18.2+ | Java 25 | campfirekeepsfood-fabric-26.2-1.0.0.jar |
| 26.1 - 26.1.2 | NeoForge 26.1.0.1-beta+ (stable 26.1.2.71+) | Java 25 | campfirekeepsfood-neoforge-26.1-26.1.2-1.0.0.jar |
| 26.1 - 26.1.2 | Forge 62.0.0+ (62 = 26.1, 63 = 26.1.1, 64 = 26.1.2) | Java 25 | campfirekeepsfood-forge-26.1-26.1.2-1.0.0.jar |
| 26.1 - 26.1.2 | Fabric Loader 0.18.2+ | Java 25 | campfirekeepsfood-fabric-26.1-26.1.2-1.0.0.jar |
| 1.21.11 | NeoForge 21.11.42+ | campfirekeepsfood-neoforge-1.21.11-1.0.0.jar |
|
| 1.21.11 | Forge 61.0.1+ | campfirekeepsfood-forge-1.21.11-1.0.0.jar |
|
| 1.21.11 | Fabric Loader 0.17.3+ | campfirekeepsfood-fabric-1.21.11-1.0.0.jar |
|
| 1.21.1 | NeoForge 21.1.1+ | campfirekeepsfood-neoforge-1.21.1-1.0.0.jar |
|
| 1.21.1 | Forge 52.0.0+ | campfirekeepsfood-forge-1.21.1-1.0.0.jar |
|
| 1.21 - 1.21.1 | Fabric Loader 0.15.11+ | campfirekeepsfood-fabric-1.21-1.21.1-1.0.0.jar |
|
| 1.20.1 | Forge 47.1.0+ (also NeoForge 1.20.1) | campfirekeepsfood-forge-1.20.1-1.0.0.jar |
|
| 1.20 - 1.20.1 | Fabric Loader 0.14.21+ | campfirekeepsfood-fabric-1.20-1.20.1-1.0.0.jar |
Client and server
Install the mod on the server only. It adds no items, blocks, entities, sounds, network messages or registries, so vanilla clients and modded clients without it can join and see the cooked food like everyone else. On Forge the mod is marked as server-only, so a Forge client without it still shows the server as compatible in the server list. The Fabric version does not need Fabric API.
Installing it on a client as well does no harm. In singleplayer, install it in your own game; the built-in server runs it.
FAQ
Do players need the mod? No. Only the server needs it.
What happens if I remove the mod? The world opens normally; the mod stores nothing of its own. Cooked food left on a lit campfire pops off as soon as the campfire ticks, as in vanilla. On an unlit campfire it stays until you light the fire again or break the campfire.
Does it work with campfires from other mods? Only if they use the vanilla campfire block and its block entity. Mods that change campfire cooking or replace the campfire's block entity may conflict.
Does it work with other mods that use right-click? Mostly. A mod that cancels the click first, such as a protection mod, also stops you from taking the food. Mods that read campfire contents see cooked food as an item in a slot.
Can I use it in my modpack? Yes, go ahead. The mod is licensed under MIT.
Links
- Source code: https://github.com/emberbocor/campfirekeepsfood
- Bug reports and suggestions: https://github.com/emberbocor/campfirekeepsfood/issues
When reporting a bug, please include your Minecraft version, loader, mod version and your log file.