Explanation file for collection.rwbym
(it's only a json file containing the data about the weapons the mod should add)

form :

collection :
{
    "swords": <array of sword>,
    "bows": <array of bow>
}

swords = the sword-based weapons to add
bows = the bow-based weapons to add


sword :
{
    "name": <string>,
    "durability": <int>,
    "damage": <float>,
    "enchantability": <int>,
    "data": <string>,
    "recipe": <recipe>
}

name = name to be used for registry and model finding
    Please DO NOT put spaces or things like that (these are to define trough en_US.lang or whatever other translation file you might want)
    This will be used to define the item.
    Example : "swordOP"
    To retrieve an item in-game (for /give for example) you should use rwbym:name
    Example : "/give rwbym:swordOP"

durability = number of uses for the item
    vanilla values are :
        wood = 59
        stone = 131
        iron = 250
        diamond = 1561
        gold = 32

damage = damage bonus
    vanilla values are :
        wood = 0.0
        stone = 1.0
        iron = 2.0
        diamond = 3.0
        gold = 0.0

enchantability = enchanting potential
    vanilla values are :
        wood = 15
        stone = 5
        iron = 14
        diamond = 10
        gold = 22

data = Optional and for advanced users! If you don't want to, you can completely omit this tag.
    NBT data to add to an item, like when using a /give command with special effects to the given item
    Be aware to escape " in your string.
    They CAN act a bit funky btw...
    Example :
        "{AttributeModifiers:[{Slot:\"mainhand\",AttributeName:\"generic.maxHealth\",Name:\"generic.maxHealth\",Amount:5,Operation:0,UUIDMost:81903,UUIDLeast:141973}]}"
        will make your weapon add 5 HP.


// TODO: complete

Recipes are optional, means you can just omit them if you don't want a crafting recipe
Recipes examples :

"recipes": [{
        "type": "SHAPED",       -> shaped recipe
        "resultAmount": 1,      -> amount of items rewarded by crafting
        "recipeLines": [        -> lines to use for the recipe, empty spots to be replaced by spaces. ex: chest crafting is ["I I", "III", "III"]
          "I",
          "I",
          "G"
        ],
        "recipeMap": {          -> aka what item each used character refers to
          "G": "minecraft:gold_ingot",
          "I": "minecraft:iron_ingot"
        }
      }]

"recipes": [{
        "type": "SHAPELESS",    -> shapeless recipe
        "resultAmount": 1,      -> amount of items rewarded by crafting
        "recipeLines": [        -> anywhere between 1 and 9 items (different or not) to use in the shapeless crafting
          "minecraft:gold_ingot", "minecraft:gold_ingot", "minecraft:gold_ingot",
          "minecraft:iron_ingot", "minecraft:iron_ingot", "minecraft:iron_ingot",
          "minecraft:diamond", "minecraft:diamond", "minecraft:diamond"
        ]
      }]

"recipes": [{
        "type": "FURNACE",      -> smelting recipe
        "resultAmount": 1,      -> amount of items rewarded by smelting
        "recipeLines": [
          "minecraft:flint",    -> item to use
          "3",                  -> amount of items to use (optional, default is 1)
          "15"                  -> exp reward (float, so could be 7.5 for example)
        ]
      }]


You can add multiple recipes for the same item like so :
(note how they are separated by a comma)

"recipes": [
      {
        "type": "SHAPED",       -> shaped recipe
        "resultAmount": 1,      -> amount of items rewarded by crafting
        "recipeLines": [        -> lines to use for the recipe, empty spots to be replaced by spaces. ex: chest crafting is ["I I", "III", "III"]
          "I",
          "I",
          "G"
        ],
        "recipeMap": {          -> aka what item each used character refers to
          "G": "minecraft:gold_ingot",
          "I": "minecraft:iron_ingot"
        }
      }, {
        "type": "SHAPELESS",    -> shapeless recipe
        "resultAmount": 1,      -> amount of items rewarded by crafting
        "recipeLines": [        -> anywhere between 1 and 9 items (different or not) to use in the shapeless crafting
          "minecraft:gold_ingot", "minecraft:gold_ingot", "minecraft:gold_ingot",
          "minecraft:iron_ingot", "minecraft:iron_ingot", "minecraft:iron_ingot",
          "minecraft:diamond", "minecraft:diamond", "minecraft:diamond"
        ]
      }, {
        "type": "FURNACE",      -> smelting recipe
        "resultAmount": 1,      -> amount of items rewarded by smelting
        "recipeLines": [
          "minecraft:flint",    -> item to use
          "3",                  -> amount of items to use (optional, default is 1)
          "15"                  -> exp reward (float, so could be 7.5 for example)
        ]
      }
]
