Files
Pumpkin/pumpkin-inventory
Purdze 6649d80ca7 feat: add furnace xp system (#1436)
* 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>
2026-02-04 18:07:13 +01:00
..
2026-02-04 18:07:13 +01:00