MonitoringMinecraft MonitoringMinecraft

Magic Find

Мод Forge

Adds extra loot to chests based on the player's Magic Find attribute, with configurable chances, rewards, and bonus rolls

0 скачиваний 0 подписчиков
Оцените первым

Magic Find

Magic Find is a player attribute that adds extra rewards to loot tables from containers and entities depending on the number of points the player has.

(It does not replace the original loot.)

Features

  • ✨ Adds additional rewards to any loot table for chests or entities via Datapack.
  • 🔊 Plays a special sound when activated. Items added by Magic Find inside containers are visually marked with a silhouette.
  • 🏆 Includes a reward system that grants Magic Find points for completed achievements (only Magic Find points are awarded).

How It Works

When a player opens a container or defeats a configured entity, Magic Find checks the player's current points and the configuration assigned to that loot table. If activation occurs, the mod selects and adds extra rewards into empty slots, keeping the original loot intact. The player hears an activation sound, and the added items are visually marked.

Configuration Location

Place JSON files in:

data/magicfind/mf_inject/

Example:

data/magicfind/mf_inject/my_rewards.json

Use /reload after adding or changing a file.

Configuration Example

{
  "target": "minecraft:chests/simple_dungeon",
  "replace": false,
      "rolls_by_mf": {
        "0": { "min": 1, "max": 1 },
        "2200": { "min": 1, "max": 2 },
        "3750": { "min": 1, "max": 3 }
      },
  "pool": [
    {
      "item": "minecraft:iron_ingot",
      "count_min": 2,
      "count_max": 5,
      "required_mf": 0,
      "weight": 40
    },
    {
      "item": "minecraft:diamond",
      "count_min": 1,
      "count_max": 2,
      "required_mf": 1650,
      "weight": 10
    }
  ]
}

Configuration Options

target

The loot table that receives bonus rewards.

"target": "minecraft:chests/simple_dungeon"

Use the complete loot table ID, including its namespace.

Examples:

minecraft:chests/simple_dungeon
minecraft:chests/abandoned_mineshaft
minecraft:chests/end_city_treasure
minecraft:entities/zombie

rolls_by_mf

Controls the number of bonus reward rolls.

      "rolls_by_mf": {
        "0": { "min": 1, "max": 1 },
        "2200": { "min": 1, "max": 2 },
        "3750": { "min": 1, "max": 3 }
      },

The highest Magic Find threshold reached by the player is used. In this example:

  • From 0: 1 bonus roll.
  • From 2200: 1 to 2 bonus rolls.
  • From 3750: 1 to 3 bonus rolls.

A number creates a fixed amount of rolls. min and max create a random range.

pool

The list of rewards that can be added.

Each reward uses:

{
  "item": "minecraft:diamond",
  "count_min": 1,
  "count_max": 2,
  "required_mf": 1650,
  "weight": 10
}
  • item: the item ID.
  • count_min: minimum amount.
  • count_max: maximum amount.
  • required_mf: Magic Find required to unlock the reward.
  • weight: relative chance of selection.

A reward with weight 20 is selected twice as often as an eligible reward with weight 10.

Creating Your Own Rewards

Create a pool that fits the container you are modifying. For example:

  • Add tools and materials to a tool-related container.
  • Add weapons and combat equipment to a weapon-related container.
  • Add Nether resources to a Nether container.
  • Add End resources to an End container.
  • Add food and supplies to a survival container.

Use higher required_mf values for stronger rewards and lower weight values for rarer rewards.

Magic Find Progression

Players can gain Magic Find from:

  • Eligible advancements.
  • Configured entity kills.

Higher Magic Find can unlock better rewards and increase the number of bonus rolls.

Datapacks

Configurations can be added through a datapack using the same path:

<datapack>/data/magicfind/mf_inject/my_rewards.json

Datapacks allow you to add or change rewards without modifying the mod's Java code.

Compatibility

Magic Find supports vanilla loot tables, modded loot tables and Lootr containers. Attribute Core is required for the Magic Find progression system.


🌐 Join Our Discord Community

Do you have new ideas, improvements for my mods, or have you found a bug? This is the perfect place to share them!

In our Discord community you can:

💡 Submit proposals and suggestions for improving the mods.

🛠️ Report problems and bugs so we can fix them together.

🎮 Show your creativity: you're free to use my mods in your own modpacks.

📢 Share your modpack on the server and show the community your unique style.

This space is designed for us to grow together, with respect and enthusiasm for creating mods and modpacks. Your contribution is always welcome!

Discord XP
Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
990 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
SparkTime
SparkTime Bedrock
116 онлайн
1.0 — 26.20 версия
SparkTime | Анархия на телефон
PazikCraft
11 онлайн
1.17 — 26.1.2 версия
Ванильное выживание со свадьбами, прокачкой боевых навыков и голосовым чатом
Mineland Network
245 онлайн
1.8 — 26.2 версия
⚔️ АНАРХИЯ 🔥 СКАЙБЛОК 🛏️ БЕДВАРС 🏗️ КРЕАТИВ+ 🌟 МНОГО РЕЖИМОВ
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.1, 26.1.2. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат