InsaneLib

A set of common classes and utilities used by Insane's mods
Back to Files

2.5.5.0

File nameinsanelib-2.5.5.0.jar
Uploader
Insane96Insane96
Uploaded
Dec 2, 2026
Downloads
0
Size
1.2 MB
Mod Loaders
NeoForge
File ID
9978315
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:insanelib-465109:9978315"

Learn more about Curse Maven

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