Download Anvil Enchantments — Minecraft Mods — ModStock

Anvil Enchantments

Active

Downloads

14

Last update

6 years ago
Client
Weapons and armor
Magic

Information

 

Tired of wasting levels to get a single enchantment? Than this is the mod for you!

 

Anvil Enchantments adds Anvil Recipes for Level 1 Enchanted Books of every single vanilla enchantment, allowing you to craft any enchantment in the game! 

 


Code and Rights

 

All Source code is Available at https://github.com/lazerzes/Anvil-Enchantments

 

Please note the GPLv3 License!

 

You are allowed to include this within modpacks!

 

This mod has plugin functionality for mod developers(as of version 2.0.1). If you would like your mod to be compatible with AnvilEnchantments, or would like to use AnvilEnchantments to handle Anvil Recipes, you can create a plugin. Creating a plugin is simple click here for a tutorial!


Recipes can be found with JEI(as of Version 1.3.1.0).

Recipe Hints can be found with Guide-API(As of Version 2.0)(WIP).


Adding/Editing Recipes:

Recipes can be edited by going into the config files. After initialization there will be an anvils folder with a recipes folder inside of it. Each recipe should have its own json file.

Default Exmaple:

{
  "recipeName": "Aqua Affinity",
  "anvilLeft": {
    "registry": {
      "domain": "minecraft",
      "path": "book"
    },
    "count": 1,
    "meta": 0
  },
  "anvilRight": {
    "registry": {
      "domain": "minecraft",
      "path": "waterlily"
    },
    "count": 1,
    "meta": 0
  },
  "anvilOutput": {
    "registry": {
      "domain": "minecraft",
      "path": "enchanted_book"
  },
    "nbt": {
      "data": "{StoredEnchantments:[{lvl:1s,id:6s}]}"
    },
    "count": 1,
    "meta": 0
},
  "anvilLevelCost": 5,
  "showRecipe": true
}


 

 

A note, if a mod makes changes to anything in base Minecraft, it may cause recipes of the base mod to fail.

As these issues are cause by other mods and due to the fact that going into the configs can solve this issues, creating a workaround for this is not very high priority for me. Sorry!

Project members
reiily_

reiily_

sensdoggo

sensdoggo