mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-31 08:22:33 +00:00
* fix(loot): animals drop cooked food without fire or Fire Aspect Fix issue #2366 where farm animals dropped cooked meat instead of raw when killed, regardless of fire state or weapon enchantments. Root cause: LootCondition::EntityProperties lacked predicate fields for is_on_fire and equipment enchantments, codegen discarded predicate data, and the evaluator did not resolve 'direct_attacker'. - Add is_on_fire and mainhand_enchantment_tag to EntityProperties - Add predicate structs to codegen with correct serde renames - Fix evaluator to resolve direct_attacker and check fire/enchantments - Fix pre-existing v[0] panic on empty StringOrVec arrays - Add 18 unit tests * fix(loot): add backticks to doc comment for clippy * fix(data): update block.rs generated loot tables with new EntityProperties fields * fix(loot): merge match arms and collapse if for clippy