mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 08:22:33 +00:00
* fix: award xp when taking items from furnace output slot adds experience tracking to all furnace-like block entities (furnace, blast furnace, smoker). experience is accumulated when items are smelted and awarded to the player when they extract items from the output slot. - add ExperienceContainer trait for dyn-compatible xp extraction - add experience_held field to furnace block entities (fixed-point) - add FurnaceOutputSlot that awards xp on item take - add award_experience method to InventoryPlayer trait - add to_experience_container method to BlockEntity trait closes #1432 * fix: use recipesused nbt format for furnace xp - add recipe_id field to CookingRecipe struct - track recipes used instead of raw xp - spawn xp orbs on furnace break and hopper extraction - add get_recipe_experience function to look up xp by recipe id --------- Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>