Removing items smelted prior to version 1.13 from a furnace does not grant any experience
Relates to MC-7046 and MC-131258. The resolution of MC-7046 enables furnaces to retain experience points even when items are extracted via a hopper. However, if you smelted items in a furnace in a version predating 1.13 and later upgrade that world to 1.13 or newer, you won't receive any experience when retrieving these items.
Steps to reproduce (method that works in survival too)
- Start version 1.12.2
- Set up a furnace to smelt a stack of gold ingots
- Wait for the furnace to complete the smelting process for the entire stack, which takes around 10 minutes and 40 seconds
- Update the world to the latest version
- Take out the gold ingots
Observed outcome: No experience was gained. In version 1.12.2, you would have received experience upon item retrieval.
Expected outcome: You should receive experience for items smelted prior to version 1.13.
Steps to reproduce (quicker method)
- Start version 1.12.2
/setblock ~ ~ ~ minecraft:furnace 0 replace {Items:[{Slot:2b,id:"minecraft:gold_ingot",Count:64b}]}- Upgrade to the latest version
- Take out the gold ingots
Observed outcome: No experience was acquired. If the items had been removed in version 1.12.2, experience would have been gained.
Expected outcome: Experience should be obtained.
How to fix
The datafixer could examine the item in the output slot and determine the appropriate smelting entry in the RecipesUsed NBT tag. In the given example, it should store "minecraft:gold_ingot_from_smelting_gold_ore" with a value of 64. This shouldn't pose an issue, as custom furnace smelting recipes were not present before version 1.13.
2024-05-30, 09:38 PM
2024-07-12, 07:08 AM
2024-07-12, 07:08 AM
0
0
-