Files
Pumpkin/assets
BitForge 4916c05997 fix(entity): consolidate hurt sound parity for slime and shared dispatch families (#1935)
* fix(entity): derive hurt sound parity from generated mapping

Keep slime hurt sounds in runtime because they depend on entity size.\n\nMove enderman and undead-family hurt sound mappings into generated data so living.rs dispatches through a shared lookup instead of owning a hardcoded table.

* refactor(entity): derive hurt sound lookup from entities data

The Extractor companion now emits hurt_sound through entities.json. Keep Pumpkin's hurt_sound_for_entity_type helper narrow and generated while moving its source of truth to entity data.

Slime remains a runtime special case because its hurt sound depends on size rather than static entity metadata.

* refactor(entity): fold hurt sound helper into entity codegen

Move hurt-sound helper generation into the existing entity codegen path.

Remove the standalone helper builder and generated file now that hurt_sound is sourced from entities.json. Runtime dispatch stays unchanged and slime remains a runtime size-based exception.

* refactor(entity): inline hurt sound into EntityType

Remove the standalone entity_hurt_sound feature and helper path.

Hurt sounds now live directly on generated EntityType values, while runtime behavior stays the same and slime remains the size-based runtime exception.
2026-04-08 19:33:45 +02:00
..
2026-04-03 18:35:34 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-31 09:44:08 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2024-11-12 19:51:25 +01:00
2026-03-30 16:43:15 +02:00
2026-01-22 17:16:37 +01:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-31 21:01:51 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00
2026-03-30 16:43:15 +02:00