Skip to content

Recipes and Tags

RealTheBeastBoss edited this page Feb 20, 2022 · 3 revisions

Recipes and Tags

Diamond Converter Recipe JSON

How to make custom Diamond Converter recipes:

Firstly, you need to have a datapack to put them in, if you don't know how to do that, there are many good tutorials on YouTube.
Once you have a datapack, inside the "data" folder you need to create a folder named "tbbmod", one inside that called "recipes". This is where you'd put your JSON files.
These files need to be named with the casing "recipe_name.json". Inside this file, which can be opened in notepad, the recipe type needs to be "tbbmod:diamond_converting". Then there needs to be an array of two items called "ingredients", these two items correspond with the two input slots of the Diamond Converter. You cannot specify the item count in the input slots. The output item can have a custom output count of 64 or under.

As an example, here is the recipe file for the Diamond to BeastBoss Banana (diamond_to_beastboss_banana.json):

{
   "type": "tbbmod:diamond_converting",
   "ingredients": [
     {
       "item": "minecraft:diamond"
     },
     {
       "item": "tbbmod:beastboss_banana"
     }
   ],
   "output": {
     "item": "tbbmod:beastboss_banana",
     "count": 8
   }
}

Wood Changer Valuables Tag

What is it used for?

This tag is used by the BeastBoss Wand to determine what blocks are considered valuable. It includes all ores, chests, resource blocks and spawners.

How to add blocks to the tag

There are two ways, one is for adding custom ores, chests or resource blocks while the other is for registering any other blocks as valuable.

The first way is to add your custom blocks to the "forge/ores", "forge/chests" and the "forge/storage_blocks" tag files. This will automatically work with the BeastBoss Wand.
The second one is to have a datapack with a tag addition. This is done in the "data/forge/tags/blocks" folder, where you need to create a file called "wood_changer_valuables.json".
Here you can list all of the blocks you want to add to the valuables list. Make sure that the replace value is set to false. This is what that would look like:

{
  "replace": false,
  "values": [
    "#minecraft:example_tag",
    "#forge:another_tag",
    "minecraft:example_block",
    "mod_id:another_block"
  ]
}

How to change the tag's values

This is just like the second way to add blocks to the tag, however the replace value would need to be true. This will delete any instances of the tag lower in datapack priority than yours. For quick reference, here is the original tag code:

{
  "replace": false,
  "values": [
    "#forge:ores",
    "#forge:chests",
    "#forge:storage_blocks",
    "minecraft:spawner",
    "minecraft:gilded_blackstone"
  ]
}

Clone this wiki locally