Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Links
Creators
Details
Equal Loot
Equal loot is a simple mod that allows mobs to drop their loot multiple times for each player that assisted in its kill. Only the player the drop it's for can see and pickup the items.
Additionally, the mod offers various configuration to change the behaviour of this system.
By default, player based loot is only enabled for bosses (mobs in the c:bosses tag).
A maximum of 5 players that hit the boss within the last 15 seconds and dealt at least 5% of the mobs health receive the loot (sorted by the damage done).
Note that the player who killed the mob is not guaranteed to also receive its loot.
If they do not meet the requirements they will only receive the mobs loot if the maximum player amount is not reached.
⚙️ Configuration
The configuration of this mod is data-driven meaning you would need to create a datapack to change the behaviour.
A config is defined via a file under data/<namespace>/equal_loot/entity
and have the following format:
{
"include": <Holder>, // A tag or list of entities that apply to this config
"exclude": <Holder>, // A tag or list of entities that are excluded from this config
"max_players": <integer>, // The amount of players that can receive the loot at max. Set to 0 to have no limit
"min_damage": <float>, // The minimum damage a player needs to do to count
"percentage": <true | false>, // If true min_damage is treated as a percentage value based on the mobs max health. Otherwise min_damage is the flat amount of damage required
"damaged_within": <integer>, // Time in ticks the player needed to hit the mobs within to count. So if the player hasnt hit the mob in this time they wont receive the loot
"killer_handling": <"always" | "fill" | "requirements">, // How the loot of the killing player should be handled. See below
"priority": <integer>, // Only relevant if a config overlaps with another. This defines which config will take precedence then
}
Killer Handling:
always: The killing player always receives the loot
fill: If the killing player does not meet the requirement (dealing enough damage or hit the mob since x ticks) they only receive the loot if max_players is not reached
requirements: If the killing player does not meet the requirements they do not receive the loot
Example:
The following is the configuration the mod ships with
{
"damaged_within": 300,
"exclude": [],
"include": "#c:bosses",
"max_players": 5,
"min_damage": 0.05,
"percentage": true,
"priority": 10
}


