Attribute Loot Condition

⭐ — (7 endorsements) 📥 821 downloads 📌 v1.0.2 📅 8/26/2024
🟠 Updated over a year ago

By Karashok-Leo · fabric

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 4/21/2025 📅 Created: 8/26/2024
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.9% endorsement rate
  • 🏆 #507 of 888 fabric mods in this game by downloads

📋 About This Mod

## 🪄Introduction This mod has added a new type of loot table condition ((https://minecraft.wiki/w/Predicate)) so that you can configure the loot based on entity attributes. Recommended to use with (https://modrinth.com/mod/rpgdifficulty), (https://modrinth.com/mod/l2hostility) and other mods that implement monster attribute scaling. ## ⚙️Configuration ### The initial configuration file looks like: ### ```(config/attribute_loot_condition.json)``` ``` { "attributeWeights": } ``` The entries in this array determine the weights of various attributes. You can configure addtional attributes, not just limited to these four. ## 📜Example Usage It is obvious that there should be no comments in the JSON format file, and this case is only for the sake of explanation. ### Datapack: ### ```data/minecraft/loot_tables/entities/zombie.json``` ``` { "pools": , "conditions": } ] } ``` After loading this datapack, when a player kills a zombie, the game will weight and sum the maximum health, armor, armor toughness, and attack damage of the zombie. If this sum is not less than 20, then the condition is met. ## ✉️Feedback If there are any bugs or suggestions, please provide feedback to the issue page.

## 🪄Introduction

This mod has added a new type of loot table condition ((https://minecraft.wiki/w/Predicate)) so that you can configure the loot based on entity attributes.

Recommended to use with (https://modrinth.com/mod/rpgdifficulty), (https://modrinth.com/mod/l2hostility) and other mods that implement monster attribute scaling.

## ⚙️Configuration

### The initial configuration file looks like:

### ```(config/attribute_loot_condition.json)```

``` {   "attributeWeights": [     {       "attribute": "minecraft:generic.max_health",       "weight": 1. 0     },     {       "attribute": "minecraft:generic.armor",       "weight": 1. 0     },     {       "attribute": "minecraft:generic.armor_toughness",       "weight": 1. 0     },     {       "attribute": "minecraft:generic.attack_damage",       "weight": 1. 0     }   ] } ```

The entries in this array determine the weights of various attributes.

You can configure addtional attributes, not just limited to these four.

## 📜Example Usage

It is obvious that there should be no comments in the JSON format file, and this case is only for the sake of explanation.

### Datapack:

### ```data/minecraft/loot_tables/entities/zombie.json```

``` {     "pools": [         {             "rolls": 1,             "entries": [                 {                     "type": "item",                     "name": "minecraft:apple"                 }             ],             "conditions": [                 {                     "condition": "attribute_loot_condition:attribute_weighted_sum",                     "entity": "this",                     "min": 20,                     "max": 0 // Not greater than 0 means canceling this check                 }             ]         }     ] } ```

After loading this datapack, when a player kills a zombie, the game will weight and sum the maximum health, armor, armor toughness, and attack damage of the zombie. If this sum is not less than 20, then the condition is met.

## ✉️Feedback

If there are any bugs or suggestions, please provide feedback to the issue page.

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
Karashok-Leo
Version
1.0.2
Downloads
821
Endorsements
7
Category
fabric
Created
8/26/2024
Updated
4/21/2025
Game Versions
1.21, 1.21.1
Tags
game-mechanics

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Attribute Loot Condition support?

The author lists 1.21, 1.21.1. Other versions may work but are untested by the author.

What is the latest version of Attribute Loot Condition?

Version 1.0.2, published 2025-04-21 with 821 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More fabric 👤 More by Karashok-Leo 🔎 Similar Mods 🌐 Best fabric (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods