Armory Expansion

Armory Expansion

9M Downloads

help me please, as soon as possible, create materials.

DarkerFALLEN opened this issue ยท 1 comments

commented

So, I've been learning to work on this mod lately and I have a very big doubt, how do you create new materials? I only know how to add armor until now, can someone help me by giving me an example of how I create the bow items and tools? and how is an alloy made of materials that I am creating?

commented

Bowstring example:
https://github.com/MinecraftModDevelopmentMods/Armory-Expansion-Bits-And-Pieces/blob/5ea183c0747529981d498fc4ea3855ad2ab12bdf/src/main/resources/assets/armoryexpansion/data/bitsandpieces/bitsandpieces-materials.json#L2-L6

Bow example:

"bowMaterialStats": {
"drawspeed": 1.0,
"range": 1.0,
"bonusDamage": 0.0,
"materialType": "bow"
},

Arrowshaft example:

"arrowShaftMaterialStats": {
"modifier": 1.0,
"bonusAmmo": 0,
"materialType": "arrowshaft"
},

You can see an example of nearly all tool parts here:

"headMaterialStats": {
"durability": 160,
"harvestLevel": 3,
"attack": -1.0,
"miningspeed": 3.8999999,
"materialType": "head"
},

Alloy example:

  {
    "inputs": {
      {
        "fluid": "copper",
        "amount": 1
      },
      {
        "fluid": "tin",
        "amount": 1
      },
    }
    "output": {
      "fluid": "bronze",
      "amount": 2
    }
  }

The amounts are in MB, the output amount doesn't have to be correspond to the sum of all input amounts. Take the example of Manyullyn, 1MB of Ardite with 1MB of Cobalt equals 1MB of Manyullyn.