
Continue editing the existing project and build the complete **Grimórdios** Minecraft datapack. BASIC CONFIGURATION * Minecraft Java Edition 1.21.6 * Pack format: 80 * Namespace: grimordios * Vanilla datapack only * No mods * No plugins * No Fabric * Use the modern Minecraft 1.21.6 datapack structure. * Use data/grimordios/function/ * Do NOT use the old functions folder. * Use modern 1.21.6 item component syntax. * Do NOT use old NBT item syntax. * Generate all required files. * Do not use placeholders. * If something cannot be implemented exactly in vanilla, use the closest functional vanilla alternative. * Do not remove any requested ability. MAIN FUNCTIONS Create: /function grimordios:give_all /function grimordios:give_grimorios /function grimordios:give_rituais /function grimordios:give_conhecimentos /function grimordios:reset Create the Minecraft load and tick function tags. MANA SYSTEM Create scoreboard: grimordios.mana Maximum mana: 10000. Display the player's mana on screen. Mana must recover through gameplay actions, including killing mobs and gaining XP. Spells must consume mana. A spell must NEVER consume more mana than the player currently has. If the player does not have enough mana: * Do not activate the spell. * Do not consume mana. * Show a message explaining that there is insufficient mana. Create cooldown systems to prevent spell spam. Initialize all required scoreboards before they are used. SPELL ACTIVATION SYSTEM Each magical grimoire must have its own unique custom_data. Books MUST NOT be identified only by their display names. Use modern Minecraft 1.21.6 item components, especially minecraft:custom_data. Each spell activation must: 1. Detect the correct grimoire. 2. Detect the activation reliably. 3. Check mana. 4. Check cooldown. 5. Consume mana. 6. Activate the spell. 7. Show the spell name in chat. 8. Play an appropriate sound. 9. Spawn appropriate particles. 10. Apply the effect or damage. 11. Start the cooldown. Make the activation system reliable in vanilla Minecraft 1.21.6. 22 MAGICAL GRIMOIRES 1. TOMO DO ABISMO Abilities: Yukji: * Launch a dark black particle sphere forward. * The projectile travels in the direction the player is looking. * Leave a dark particle trail. * When it hits a block or entity, explode. * After the explosion, release Dragon Breath particles. * Deal damage to nearby enemies. * Play appropriate sounds. * Show "Yukji" in chat. Iakye: * Create a second powerful abyss-themed attack. * Use dark particles. * Damage or affect enemies. Miekue: * Create a third abyss-themed ability. * Use dark particles. * Have a distinct effect. This book is one of the three Grimoires of Chaos. 2. GRIMÓRIO DA LUZ Create a light-themed magic grimoire. Include multiple light-related abilities using: * luminous particles * flashes * light effects * appropriate sounds * damage or buffs where appropriate Make the abilities visually distinct from other grimoires. 3. CÓDICE DOS MORTOS Create a necromancy grimoire with 3 abilities. At least one ability must summon 3 Wither Skeletons. Use dark/death particles and appropriate sounds. The summoned creatures should be allies of the caster whenever possible. 4. LIVRO DAS ALMAS Ability 1: * Summon 3 Wither Skeletons. * They should be allies of the caster whenever possible. Ability 2: * Create a decomposition mist. * Affect enemies. * Do NOT affect the caster. * Use dark/decomposition particles. * Apply damage/effects. Ability 3: * Create a decomposition arrow/projectile. Ability 4: * Summon a Wither. * Requires sufficient mana. * Consumes all available mana. * If there is insufficient mana, do nothing. * After successfully summoning the Wither, kill the player. * The Wither behaves normally. This book is one of the three Grimoires of Chaos. 5. GRIMÓRIO DAS 7 MALDIÇÕES Create exactly these 7 curses. They target another player. 1. Praga da Água * The cursed target dies if they touch water. 2. Veneno * Apply prolonged poison. 3. Maldição da Espada * If the target holds a sword, they lose health. 4. Decomposição * Apply decomposition damage/effect. 5. Fome * Apply strong hunger. 6. Maldição do Dano * If the cursed target receives damage, they die. 7. Maldição do Movimento * If the cursed target moves, they die. Use particles to indicate cursed players. Make the curses track their targets reliably. 6. GRIMÓRIO DA CURA Abilities: * Cura * Regeneração * Super Pulo * Força * Velocidade Abilities can affect: * the caster * nearby allies * a selected/targeted ally when appropriate Use positive particles and sounds. 7. GRIMÓRIO DA ÁGUA Only two abilities. Ability 1: * Create a water block where the player is looking. Ability 2: * Launch a water-particle projectile. * Travel forward. * Use water particles. * Damage enemies for approximately 2–3 damage. 8. GRIMÓRIO DO SILÊNCIO Create one spell. When a player is hit/affected: * Prevent them from attacking or becoming aggressive as much as vanilla allows. * Duration approximately 2 minutes. * Show an appropriate message. * Use silence-themed particles and sounds. If completely disabling attacks is impossible in vanilla, use the closest functional alternative. 9. GRIMÓRIO DOS ENCANTAMENTOS Create these abilities: * Fraqueza * Lentidão * Força * Velocidade * Regeneração * Super Pulo * Dano Positive abilities affect the caster or allies. Negative abilities affect enemies or a selected target. Use appropriate particles and sounds. 10. GRIMÓRIO DA INVocAÇÃO Create summoning abilities for: * Zombie — 2 hearts * Skeleton — 3 hearts * Horse — 4 hearts * Dog/Wolf — 5 hearts * Iron Golem — 6 hearts Summoned creatures must be allied to the caster whenever possible. Use tags/custom_data to identify summoned creatures and their owner if necessary. 11. TOMO DO TEMPO Abilities: * Dia * Noite * Chuva * Parar chuva * Pausar tempo * Despausar tempo Implement the closest functional vanilla interpretation of pausing time. The pause system must not permanently break the world. 12. GRIMÓRIO DA LAVA Ability 1: * Create a lava block where the player is looking. Ability 2: * Launch a lava projectile. * Travel forward. * Use lava/fire particles. * Damage enemies. * Play appropriate sounds. 13. LIVRO DAS CRIAÇÕES Abilities/items: * Madeira * Pedregulho * Terra * Ferro * Espada de ferro * Carne assada * Escudo * Peitoral de ferro When activated, give/create the corresponding item or material. 14. QUANTUM DA FOME Abilities give: * 5 breads * 1 water bottle * 5 apples * 5 carrots * 1 pumpkin pie 15. TOMO DA RUPTURA Create an ability that breaks blocks in a 3 x 3 x 3 area in front of the player. Requirements: * Break only breakable blocks. * Do NOT break bedrock. * Do NOT break indestructible blocks. * Show block-breaking particles. * Play block break sounds. * The area must be positioned in front of the player. 16. TOMO DA RIQUEZA Each spell costs 5 hearts. Abilities: * Coal * Iron * Gold * Diamond * Emerald * Copper * Netherite When used: * Remove 5 hearts from the caster. * Give the requested resource. * If the player cannot safely pay the cost, handle it safely and consistently. 17. SEGUNDO LIVRO DAS CRIAÇÕES Abilities/items: * Bow * 16 Arrows * Axe * Mace 18. GRIMÓRIO DOS RAIOS Ability 1: * Strike lightning exactly where the player is looking. Ability 2: * Apply Speed VI for 60 seconds. Use lightning particles and sounds. 19. TOMO DA VISÃO Ability: * Apply Night Vision 255 for 2 minutes. 20. TOMO DA MANSÃO Abilities: Evoker Fangs: * Summon Evoker Fangs from the ground in front of the player. Vexes: * Summon 2 Vexes. * They attack nearby enemies. * Make them allies of the caster whenever possible. Totem: * Give 1 Totem of Undying. 21. GRIMÓRIO DO SOM Create sound abilities using appropriate vanilla Minecraft sounds. Include: * cave sounds * Creeper sound * player damage sound * Ender Dragon sounds/screams * block breaking sounds * Allay sounds Each sound must be activated through the grimoire system. Show the sound/ability name in chat. 22. CÓDICE DE SANGUE Ability 1 — Gota Carmesim: * Red particle projectile. * Travels forward. * Damages enemies. Ability 2 — Rajada Carmesim: * More red particles. * Stronger damage than Gota Carmesim. Ability 3 — Sangue Vital: * Regenerate the caster. * Use red particles. Ability 4 — Explosão Carmesim: * Large red particle explosion. * High damage to enemies around the explosion. * Do not unnecessarily damage the caster. This book is one of the three Grimoires of Chaos. REQUIRED MAGICAL BOOK LIST The final magical collection must contain exactly these 22 books: 1. Tomo do Abismo 2. Grimório da Luz 3. Códice dos Mortos 4. Livro das Almas 5. Grimório das 7 Maldições 6. Grimório da Cura 7. Grimório da Água 8. Grimório do Silêncio 9. Grimório dos Encantamentos 10. Grimório da Invocação 11. Tomo do Tempo 12. Grimório da Lava 13. Livro das Criações 14. Quantum da Fome 15. Tomo da Ruptura 16. Tomo da Riqueza 17. Segundo Livro das Criações 18. Grimório dos Raios 19. Tomo da Visão 20. Tomo da Mansão 21. Grimório do Som 22. Códice de Sangue Do not omit any of them. Do not classify ritual, knowledge, entity, or totem books as magical grimoires. CODE ORGANIZATION Use a clean structure such as: data/grimordios/function/ * load.mcfunction * tick.mcfunction * mana/ * books/ * spells/ * rituals/ * knowledge/ * chaos/ * utilities/ Use subfunctions whenever necessary. Make sure every function reference points to an existing file. After completing this part, continue with Part 2 of the Grimórdios specification, which contains the Chaos system, rituals/totems, knowledge/entity books, lore, and final validation.