forum Forumsplay_arrow Minecraft fiber_manual_record Discussion

1

Furnace NBT

1 emerald1 reply43 views
created 10/10/2018 5:00 pm by Defective
last reply 10/11/2018 5:31 am

Its recently come to mind that if a furnace remembers XP levels from hopper smelts, does that mean a furnace uses NBT tags to store said data?




If it does can someone please tell me the tag?




On top of that, if they don't have one, let's tell them to! It would be super helpful to be able to spawn furnaces with xp levels already inside!
Posted by avatar
Defective
Level 1 : New Miner
0

1 reply

2
10/11/2018 5:31 am
Level 35 Artisan Engineer
ShelLuser
avatar
Nice theory, but it doesn't work that way ;)

The only thing a furnace will keep track of is the time it burned ('BurnTime'), the cook time ('CookTime') and the total cook time ('CookTimeTotal').

But the rewarding of XP is based on recipes, roughly the same as you use when you're crafting items. For example, this is the recipe for smelting cobble into stone:


{
"type": "smelting",
"ingredient": {
"item": "minecraft:cobblestone"
},
"result": "minecraft:stone",
"experience": 0.1,
"cookingtime": 200
}

Notice the 'experience' property? That's the only way how the system knows that it needs to reward you with an 'x' amount of XP after you took out the smelted items.

Search

Browse

Site

© 2010 - 2018
planetminecraft.com

Welcome