Skip to content

Datapack

Elenterius edited this page Aug 18, 2023 · 1 revision

Ids

Mod Id: biomancy

Don't forget select the correct tag (mod version) when viewing these ids

Item Ids: https://github.com/Elenterius/Biomancy/blob/v1.0.0-beta.8/src/main/java/com/github/elenterius/biomancy/init/ModItems.java

Block Ids: https://github.com/Elenterius/Biomancy/blob/v1.0.0-beta.8/src/main/java/com/github/elenterius/biomancy/init/ModBlocks.java

Fluid Ids: https://github.com/Elenterius/Biomancy/blob/v1.0.0-beta.8/src/main/java/com/github/elenterius/biomancy/init/ModFluids.java

Mob Ids: https://github.com/Elenterius/Biomancy/blob/v1.0.0-beta.8/src/main/java/com/github/elenterius/biomancy/init/ModEntityTypes.java

Mod Packs / Servers

To apply data packs globally across all save files in a game instance use https://www.curseforge.com/minecraft/mc-mods/open-loader

Entity Type Tags

directory: /biomancy/tags/entity_types

directory: /forge/tags/entity_types

Item Tags

directory: /biomancy/tags/items

tag description used by/for
biomass contains all other biomass tags (poor_biomass, average_biomass, good_biomass, superb_biomass) internal
poor_biomass all items that are worth 200 mb of nutrient slurry Digester
average_biomass all items that are worth 400 mb of nutrient slurry Digester
good_biomass all items that are worth 600 mb of nutrient slurry Digester
superb_biomass all items that are worth 800 mb of nutrient slurry Digester
raw_meats all items that are raw meat (includes fish) Digester, eating, recipe
cooked_meats all items that are cooked meat Digester, eating, recipe

Recipes

directory: /biomancy/recipes/<unique recipe name>.json

All recipes are data pack driven and are defined using JSON files.

Recipes: https://github.com/Elenterius/Biomancy/tree/v1.0.0-beta.8/src/generated/resources/data/biomancy/recipes

Recipe Types

recipe type (id)
Evolution Pool biomancy:evolution_pool
Chewer biomancy:chewing
Decomposer biomancy:decomposing
Gland biomancy:solidifying

Chewer Recipe

{
  "type": "biomancy:chewing",
  "ingredient": {
    "item": "minecraft:stone"
  },
  "result": {
    "item": "minecraft:cobblestone"
  },
  "time": 200
}
{
  "type": "biomancy:chewing",
  "ingredient": {
    "tag": "biomancy:average_biomass"
  },
  "result": {
    "item": "biomancy:bolus",
    "count": 4
  },
  "time": 195
}

Decomposer Recipe

{
  "type": "biomancy:decomposing",
  "input": {
    "ingredient": {
      "item": "minecraft:golden_apple"
    },
    "count": 1
  },
  "byproducts": [
    {
      "result": {
        "item": "biomancy:oxide_powder",
        "count": 16
      },
      "chance": 1.0
    }
  ],
  "result": {
    "item": "biomancy:rejuvenating_mucus",
    "count": 6
  },
  "time": 200
}

Gland Recipe

{
  "type": "biomancy:solidifying",
  "ingredient": {
    "fluid": "biomancy:nutrient_slurry",
    "nbt": {},
    "amount": 200
  },
  "result": {
    "item": "biomancy:nutrient_paste"
  },
  "time": 40
}
{
  "type": "biomancy:solidifying",
  "ingredient": {
    "fluidTag": "forge:milk",
    "amount": 1000
  },
  "result": {
    "item": "biomancy:milk_gel"
  },
  "time": 200
}

Evolution Pool Recipe

{
  "type": "biomancy:evolution_pool",
  "ingredients": [
    {
      "item": "minecraft:iron_ingot"
    },
    {
      "item": "biomancy:flesh_block"
    },
    {
      "item": "biomancy:oxide_powder"
    },
    {
      "item": "biomancy:oxide_powder"
    },
    {
      "item": "biomancy:keratin_filaments"
    },
    {
      "item": "biomancy:hormone_bile"
    }
  ],
  "result": {
    "item": "biomancy:biometal"
  },
  "time": 400
}