Globox1997 / AdditionZ

https://modrinth.com/mod/additionz
https://www.curseforge.com/minecraft/mc-mods/additionz
MIT License
2 stars 1 forks source link

AdditionZ

AdditionZ adds random features to the game.

Installation

AdditionZ is a mod built for the Fabric Loader. It requires Fabric API and Cloth Config API to be installed separately; all other dependencies are installed with the mod.

License

AdditionZ is licensed under MIT.

Datapacks

AdditionZ provides a new recipe type for the fletching table where new recipes can get added.
If you don't know how to create a datapack check out Data Pack Wiki website and try to create your first one for the vanilla game.
The new recipe files have to be inside a recipe folder, just like vanilla recipes.
An example for a recipe can be found below:

{
    "type": "minecraft:fletching",
    "top": {
        "item": "minecraft:flint"
    },
    "middle": {
        "item": "minecraft:stick"
    },
    "bottom": {
        "item": "minecraft:feather"
    },
    "addition": {
        "item": "minecraft:potion",
        "data": "{Potion:\"minecraft:harming\"}"
    },
    "result": {
        "item": "minecraft:tipped_arrow",
        "count": 6,
        "data": "{Potion:\"minecraft:harming\"}"
    }
}

Only the "addition" and "result" item can have nbt information.\ The "addition" field is not necessary!

Since v1.2.2 you can now change entity experience drops with a simple datapack. File must be stored under data/modid/entity_experience.

{
    "minecraft:zombie": 200,
    "minecraft:skeleton": 100
}