Перейти к содержимому
Mineforgian

Furnace NBT Recipes

Minecraft datapack library for handling custom furnace recipes with advanced NBT / component support!

Загрузки
238
Подписчики
1
Обновлён
15 апреля 2026 г.
Лицензия
MIT

Опубликован 26 ноября 2024 г.

📖 Furnace NBT Recipes

GitHub Smithed Modrinth PMC Discord Powered by StewBeet

🔥 Minecraft datapack library for handling custom furnace recipes with advanced NBT / component support!
Enables creation of complex smelting recipes using NBT tags / components. 🛠️

📚 How to Use

🔧 Function Tags

The library provides several function tags that you can use to add your custom recipes:

🔨 Smelting, Blasting, Smoking

The function tags are the following:

  • #furnace_nbt_recipes:v1/smelting_recipes: 🔥 Recipes in a classic furnace
  • #furnace_nbt_recipes:v1/blasting_recipes: ⚒️ Recipes in a blast furnace (e.g. ores)
  • #furnace_nbt_recipes:v1/smoking_recipes: 🍖 Recipes in a smoker (e.g. food)

📝 In any of these function tags, you must add a call to a function you created that will handle the recipe.
✅ Each line should check if the #found score is 0 and the input matches your recipe.
🔄 If so, it will run a loot table command in the container.3 slot.

⚡ Taken example from SimplEnergy:

# Smelt 'Raw Simplunium' into 'Simplunium Ingot'
execute if score #found furnace_nbt_recipes.data matches 0 store result score #found furnace_nbt_recipes.data if data storage furnace_nbt_recipes:main input{"components": {"minecraft:custom_data": {"simplenergy": {"raw_simplunium": true}}}} run loot replace block ~ ~ ~ container.3 loot simplenergy:i/simplunium_ingot

#furnace_nbt_recipes:v1/disable_cooking

🔧 As the library stands on fake recipes, we need to prevent the default vanilla items from smelting ⚠️
Therefore, you should use this function tag to disable them with the following syntax ⬇️:

# For instance, if a custom recipe uses command block as a base item:
execute if score #reset furnace_nbt_recipes.data matches 0 store success score #reset furnace_nbt_recipes.data if data storage furnace_nbt_recipes:main input{"id":"minecraft:command_block"}

#furnace_nbt_recipes:v1/recipes_used

⚡ Configure XP rewards for your custom recipes when a player retrieves items from the furnace.
🎯 The XP amount can be customized based on the input item and furnace type (🔥 regular furnace, ⚒️ blast furnace, or 🍖 smoker).
✨ Taken example from SimplEnergy:

# Give 0.8 XP for smelting 'Raw Simplunium'
execute if score #found furnace_nbt_recipes.data matches 0 store result score #found furnace_nbt_recipes.data if data storage furnace_nbt_recipes:main input{"components": {"minecraft:custom_data": {"simplenergy": {"raw_simplunium": true}}}} run function simplenergy:calls/furnace_nbt_recipes/xp_reward/0.8

📝 Recipe Format

📝 For each custom recipe you make, you'll need to add a recipe that take the base item ingredient as ingredient and result the base item of the result.
⚠️ This part is really wanky and I don't want people to use this library so here is a link to SimplEnergy's example.

⭐ Star History

Star History Chart

Ченджлог

1.10.1Релиз26.1, 26.1.1, 26.1.2 · 15 апреля 2026 г.

Changelog

Features

  • ✨ Add stall time tracking and improve function execution logic 412c7a9

Bug Fixes

  • 🐛 Clarify condition for stalling check in tick function 9892868

Documentation

  • 📝 Add "Powered by StewBeet" badge to README 8654280
  • 📝 Add "Powered by StewBeet" badge to README f3e3ebd

Chores

  • 🔧 Updated Modrinth CD config 8398533

Build System

  • 🚀 Bump to v1.10.0 (MC 1.21.8-1.21.11+) 5dd75db
  • 🚀 Bump to v1.10.1 (MC 1.21.8-1.21.11+) d6fca52

Full Changelog: https://github.com/Stoupy51/FurnaceNbtRecipes/compare/v1.9.1...v1.10.1

1.9.1Релиз1.21.7 · 1 июля 2025 г.

Changelog

Bug Fixes

  • 🐛 Missing pack.png in zip file (8cba4fc)

Build System

  • 🚀 Now using StewBeet (817cc60)
  • 🚀 Updated to 1.21.7 (bump 1.9.1) (a5bd2d6)

Full Changelog: https://github.com/Stoupy51/FurnaceNbtRecipes/compare/v1.9.0...v1.9.1

1.9.0Релиз1.21.4, 1.21.5, 1.21.6 · 30 декабря 2024 г.

Changelog

Build System

  • 🚀 Updated to 1.21.4 (CookTime -> cooking_time_spent) (1378802)

Full Changelog: https://github.com/Stoupy51/FurnaceNbtRecipes/compare/v1.8.0...v1.9.0

1.8.0Релиз1.21.2, 1.21.3 · 26 ноября 2024 г.

Changelog

Build System

  • 🚀 Updated from 1.7.0 to 1.8.0 (4f89e8b)
  • 🚀 Configured upload scripts (68953d4)

Code Refactoring

  • ♻️ Moved placed_furnace function to link.py to use dynamic versioning (8c8ab50)

Documentation

Migration

  • 🎉 Now using Python Datapack (e59c5d1)

Full Changelog: https://github.com/Stoupy51/FurnaceNbtRecipes/compare/v1.6.0...v1.8.0

Комментарии

Загружаем…