OpenFletching

Quick rating

Community listing page, reviews here may not be monitored by the author.

OpenFletching

No reviews yet

Adds GUI and recipes for Fletching Table

Mod Loaders
Minecraft

About

Description

This mod adds GUI opened by right click on Fletching Table and read recipes type fletching:fletching.


Tags:
  at tags/blocks/fletching_tables.json,
  all blocks registered in this tag will open the GUI for custom fletching tables, include Minecraft's fletching table.
  [ ! ] Avoid from adding blocks that already own they gui and interactions.

where

"potion": {
  "any_potion": true,
  "count": 1
},

can be

"potion": {
  "item": "torch",
  "count": 1
},

for if an mod have torch arrow.

or

"potion": {
  "items": [
    {
      "item": "minecraft:potion",
      "nbt": "{Potion:\"example:explode\"}"
    },
    {
      "item": "minecraft:splash_potion",
      "nbt": "{Potion:\"example:lightning\"}"
    },
    {
      "item": "minecraft:lingering_potion",
      "nbt": "{Potion:\"example:shocking\"}"
    }
  ],
  "count": 1
},

for specific potion effect.


Customization of recipes:


If an potion effect have only potion bottle, and no tipped arrow,
resault falls to minecraft's tipped arrow with custom potion effect.

Recipe example4.json 8 arrows for 8 tipped arrows with any potions. (1.0.1),

{
  "type": "fletching:fletching",
  "arrow":{
    "item": "minecraft:arrow",
    "count": 8
  },
  "potion": {
    "any_potion": true,
    "count": 1
  },
  "result": {
    "item": "minecraft:tipped_arrow",
    "count": 8,
    "copy_potion": true
  }
}

Recipe example5.json combination of materials with arrows for tipped arrows with any potions. (1.0.1)

{
  "type": "fletching:fletching",
  "head": {
    "item": "minecraft:flint",
    "count": 1
  },
  "stick": {
    "item": "minecraft:stick",
    "count": 1
  },
  "feather": {
    "item": "minecraft:feather",
    "count": 1
  },
  "arrow":{
    "item": "minecraft:arrow",
    "count": 4
  },
  "potion": {
    "any_potion": true,
    "count": 1
  },
  "result": {
    "item": "minecraft:tipped_arrow",
    "count": 8,
    "copy_potion": true
  }
}

Recipe example1.json default arrow.

{
  "type": "fletching:fletching",
  "head": {
    "item": "minecraft:flint",
    "count": 1
  },
  "stick": {
    "item": "minecraft:stick",
    "count": 1
  },
  "feather": {
    "item": "minecraft:feather",
    "count": 1
  },
  "result": {
    "item": "minecraft:arrow",
    "count": 4
  }
}

Recipe example2.json tipped arrow.

{
  "type": "fletching:fletching",
  "head": {
    "item": "minecraft:flint",
    "count": 2
  },
  "stick": {
    "item": "minecraft:stick",
    "count": 2
  },
  "feather": {
    "item": "minecraft:feather",
    "count": 2
  },
  "potion": {
    "items": [
      {
        "item": "minecraft:potion",
        "nbt": "{Potion:\"minecraft:regeneration\"}"
      },
      {
        "item": "minecraft:splash_potion",
        "nbt": "{Potion:\"minecraft:regeneration\"}"
      },
      {
        "item": "minecraft:lingering_potion",
        "nbt": "{Potion:\"minecraft:regeneration\"}"
      }
    ],
    "count": 1
  },
  "result": {
    "item": "minecraft:tipped_arrow",
    "nbt": "{Potion:\"minecraft:regeneration\"}",
    "count": 8
  }
}

Recipe example3.json apply any potions effect to customed arrow.

{
  "type": "fletching:fletching",
  "head": {
    "item": "minecraft:diamond",
    "count": 2
  },
  "stick": {
    "item": "minecraft:blaze_rod",
    "count": 2
  },
  "feather": {
    "item": "minecraft:gunpowder",
    "count": 2
  },
  "potion": {
    "any_potion": true,
    "count": 1
  },
  "result": {
    "item": "mod_id:rocket_arrow",
    "count": 8,
    "copy_potion": true
  }
}

"type" is for check if crafting in fletching table.
"count" how much items needs for craft an arrow, in example 2 if an item less than 2 and with potion, resaulted'll non, without potions recipe falls to 4 arrows in example 1.
in potions solt can registered some multi items.
[in example 2, recipe how in crafting table resoult count].
at example 3, recipe do tell to mod add potion to an customed arrows.


License:
  non-licensed.
  Created using mod maker MCreator, Developed by ArthurVesta(MNTS) with assistance from OpenAI Codex.
  Logo generated by Gemini.
  Idea ArthurVesta(MNTS).