2.5.5.0
Curse Maven Snippet
What's new
2.5.5.0
- Looting can now depend on the weapon that killed the mob, instead of what the killer is holding when the mob dies (e.g. shooting an arrow and then swapping to a sword with Looting no longer works). Disabled by default, can be enabled in the config or by other mods
- Projectiles use the weapon that shot them. If they weren't shot by a weapon (e.g. snowballs), Looting isn't applied
- Deaths without an attacker (e.g. fire, fall) use the weapon of the last hit, if taken in the last 5 seconds
- Looting isn't applied to anything else not caused by a weapon (e.g. TNT, potions, Thorns)
- Added
KillCredit, that tells who killed an entity and the weapon that did it. Mods can use it to enable the above (KillCredit.enable()), and to declare the weapon of their own entities (KillCredit.setWeapon) and damage (WeaponDamageSource)
This mod has no additional files