Project MMO: Iron's Spells & Spellbooks Compat

Adds compatability between Project MMO and Iron's Spells and Spellbooks.

Редакция NLZONE · 3 мин чтения · 1 просмотр
Project MMO: Iron's Spells & Spellbooks Compat
Скачать Project MMO: Iron's Spells & Spellbooks Compat1.20.1 – 1.21.9 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Adds compatability between Project MMO and Iron's Spells and Spellbooks.

  • Тип: мод
  • Загрузчик: forge, neoforge
  • Версии Minecraft: 1.20.1 – 1.21.9
  • Скачиваний на Modrinth: 6 787

Подробно

  This mod requires  Project MMO  and  Iron's Spells and Spellbooks  for 1.20.1 About This compatability mod allows you to add skill requirements to spells using datapacks. If a player doesn't meet the requirements then they can't cast the spell. It allows you to specify requirements on a per spell level basis as well. These requirements can be configured to only apply when casting from scrolls, spellbooks, and/or swords. You can also make it so these requirements prevent players from inscribing the spell into their spellbook entirely. Additionally there is a config that allows you to award xp to a player when their spell heals another player. This enables healers/priest archetypes to actually be able to level a skill while supporting other players.   Guide The easiest way to start is to load into the world in question and run the command: /pmmoironscompat genSpellData I know, snake case and camel case in one command, provocative. This will generate a datapack with defaults for every spell that is currently enabled in Iron's Spells and Spellbooks. You can modify this datapack and then delete the JSON files for spells that you did not configure. You can run this command at any time to repopulate the list of spells and it won't affect the JSON files you already have in there. After running the command and generating the datapack I modified the fireball.json file to look like this: { "requirements": { "1": {}, "2": { "magic": 5} }, "defaultrequirements": { "magic": 10, "charisma": 2 }, "sources": [ "scroll", "spellbook", "sword", "inscribe" ], "replace": true }   The " defaultrequirements" key will add a requirement to all fireball spell levels. In this case all fireball spell levels will require a magic of level 10 and a charisma of level 2 to cast. The "requirements" section allows you to set requirements for specific spell levels. In this json the level 1 fireball spell now has no requirement to cast. This will override "defaultrequirements" for that specific spell level. The level 2 fireball spell has been configured to require level 5 magic to cast. Every other level of fireball would require 10 magic and 2 charisma to cast. The  "sources" section allows you to specify when to apply these requirements and when not to. Right now this would restrict casting fireball spells from scrolls, spellbooks, and swords. It would also not allow you to inscribe the fireball spell into a spellbook unless you meet the requirements. If you

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также