Hi, is there anyway to have a scoreboard to test if a specific item has been smelted in a furnace? If not, are there any alternatives? Thanks in advance
I didn't look for score lol but here's a command :
/execute if block ~ ~ ~ minecraft:furnace{RecipeLocation0:"minecraft:cooked_porkchop"}
the "~ ~ ~" is the position of the furnace, this command test if there's cooked porkchop(s) in the result slot
If you want to use this for placeable furnace that could be anywhere, you'll have to manage to get the player summon an entity near it so it can be tested (putting an item frame, dropping an item on it...)
Rollback Post to RevisionRollBack
I got into chiptune music composition.
You can listen to them on my Youtube channel : https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).
Hi, is there anyway to have a scoreboard to test if a specific item has been smelted in a furnace? If not, are there any alternatives? Thanks in advance
Well I found the exact question I was looking for but there's no answer here oof
I didn't look for score lol but here's a command :
/execute if block ~ ~ ~ minecraft:furnace{RecipeLocation0:"minecraft:cooked_porkchop"}
the "~ ~ ~" is the position of the furnace, this command test if there's cooked porkchop(s) in the result slot
If you want to use this for placeable furnace that could be anywhere, you'll have to manage to get the player summon an entity near it so it can be tested (putting an item frame, dropping an item on it...)
I got into chiptune music composition.
You can listen to them on my Youtube channel :
https://www.youtube.com/channel/UCjWYbJGk7nvNDbnCvMlZGkw
Descriptions are in french, you'd just need some google translation copy-paste...
Also made some more or less complicated datapacks, shared here (planetminecraft).