← Назад к ресурсам

No Death Scatter

Control your drops!

Modrinth game-mechanics management utility

Описание

**Got tired finding your items in dark cave after death?**\ **Your precious diamond pickaxe melted in lava and the only thing you feel is pain?**\ **No death scatter mod allows you to configure speed of dropped items upon death!** Item scatter percentage is configured using gamerule command: ``` /gamerule deathScatterSpeedPercent 'value' ``` Accepted values are 0-10000. Default value is 100. You may completely disable item scatter by setting this gamerule to 0, or challenge yourself with **almost** everlost items by setting it to max value. ### How it works? When player dies game uses _dropItem_ method with _throwRandomly = true_\ which is getting called with this parameter only when player dies. Mod injects into the return value of _dropItem_ and multiplies dropped item speed by percentage set by player ### Can it break something? If you have another mod which uses _dropItem_ method with same parameter _throwRandomly = true_\ then speed multiplier will affect the dropped item. So it's virtually safe to use it even in big modpacks