[forge 1.20.1] incorrect and missing death messages
cowardlycamper32 opened this issue ยท 1 comments
Describe the bug
incorrect lang file entries for death messages and incorrect damage type for tesla coil.
To Reproduce
- load up a fresh world
- place barbed wire or tesla coil (with power and a lever)
- switch to survival
- die to either
- observe only attack.death.createaddition.barbed_wire as the death message
This is due to an incorrect line in the en_us lang file. On line 312, 313, 316 and 317 between death.attack and the end key should be createaddition as per the code.
Also the tesla coil is mistakenly using the barbed wire damage type, leading to incorrect death messages even after this fix. Therefore on line 133 of blocks/tesla_coil/TeslaCoilBlockEntity.java e.hurt(CADamageTypes.barbedWire(level), dmg); should in fact be e.hurt(CADamageTypes.barbedWire(level), dmg);
Additional context
- Mod version: 1.20.1-1.3.1
- Forge version: 47.4.0
- Create version: 6.0.6