Skip to content

Modder & Modpack Creators

JDDev0 edited this page Oct 15, 2023 · 37 revisions

If you are creating mods and want to interact with Energized Power, this page is for you!

Everything including recipes, the energized power book, and other values (energy transfer rates, capacity, consumption and production rates/multipliers, recipe duration, or recipe duration multiplier) can be configured.

Configurations [v2.0.0 and newer]

  • All configuration files are located in the energizedpower directory inside the config directory of the game instance.

Recipes

Recipes can be added via configuration files like any other recipe.
Folder: data/<name>/recipes/<folder_1>/<folder_2>/.../<recipe_id>.json

General

Percentages value

percentages is an array of double element which determines the output amount odds of an accompanying output item stack element. Every element is independent from other elements and represents the chance to add 1 to the final output count.

Examples:

  • The item count for the array [0.75, 0.25] would be at least 0 and at most 2. There is a 75% chance the first element would add 1 to the final output count and there is a 25% chance the second element would add 1 to the final output count. The general odds would be the following (count is 0: 18.75%, count is 1: 62.5%, count is 2: 18.75%)
  • [1, 0.33, 0.33] -> (count is 0: 0%, count is 1: 44.89%, count is 2: 44.22%, count is 3: 10.89%)

Charger

Example for charging Copper Ingots to get Energized Copper Ingots:

{
  "type": "energizedpower:charger",
  "ingredient": {
    "item": "minecraft:copper_ingot"
  },
  "energy": 524288,
  "output": {
    "item": "energizedpower:energized_copper_ingot"
  }
}

Explanation:

  • type: Must be set to energizedpower:charger
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • energy: The amount of energy in FE which is required to charge the ingredient
  • output: The output item stack (Count must be 1)

Energizer

Example for energizing Copper Ingots to get Energized Copper Ingots:

{
  "type": "energizedpower:energizer",
  "ingredient": {
    "item": "minecraft:copper_ingot"
  },
  "energy": 8192,
  "output": {
    "item": "energizedpower:energized_copper_ingot"
  }
}

Explanation:

  • type: Must be set to energizedpower:energizer
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • energy: The amount of energy in FE which is required to charge the ingredient
  • output: The output item stack (Min count: 1, max count: 64)

Crusher

Example for crushing Cobbelstone blocks to get Gravel:

{
  "type": "energizedpower:crusher",
  "ingredient": {
    "tag": "forge:cobblestone/normal"
  },
  "output": {
    "item": "minecraft:gravel"
  }
}

Explanation:

  • type: Must be set to energizedpower:crusher
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • output: The output item stack (Min count: 1, max count: 64)

Sawmill

Example for sawing Oak Logs to get Oak Planks:

{
  "type": "energizedpower:sawmill",
  "ingredient": {
    "tag": "minecraft:oak_logs"
  },
  "output": {
    "item": "minecraft:oak_planks",
    "count": 4
  },
  "sawdustAmount": 2
}
  • type: Must be set to energizedpower:sawmill
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • output: The output item stack (Min count: 1, max count: 64)
  • sawdustAmount: The amount of sawdust produced by the recipe (Will be put in the sawdust output slot) (Min count: 0, max count: 64) (If the count is set to 0, the sawdust output slot won't be used by the recipe)

Sawmill with other secondary output item [v1.4.4 and newer]

Example for sawing Jukebox to get Oak Planks:

{
  "type": "energizedpower:sawmill",
  "ingredient": {
    "item": "minecraft:jukebox"
  },
  "output": {
    "item": "minecraft:oak_planks",
    "count": 8
  },
  "secondaryOutput": {
    "item": "minecraft:diamond",
    "count": 1
  }
}
  • type: Must be set to energizedpower:sawmill
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • output: The output item stack (Min count: 1, max count: 64)
  • secondaryOutput: The secondary output item stack (Min count: 0, max count: 64), If the count is set to 0, no secondary output will be produced.

Compressor [v1.5.0 and newer]

Example for compressing Copper Ingots to get Copper Plates:

{
  "type": "energizedpower:compressor",
  "ingredient": {
    "tag": "forge:ingots/copper"
  },
  "output": {
    "item": "energizedpower:copper_plate"
  }
}

Explanation:

  • type: Must be set to energizedpower:compressor
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • output: The output item stack (Min count: 1, max count: 64)

Plant Growth Chamber [v1.6.0 and newer]

Example 1 for growing Beetroot Seeds to get Beetroots:

{
  "type": "energizedpower:plant_growth_chamber",
  "ingredient": {
    "item": "minecraft:beetroot_seeds"
  },
  "ticks": 16000,
  "outputs": [
    {
      "output": {
        "item": "minecraft:beetroot_seeds"
      },
      "percentages": [1.0, 0.33, 0.33]
    },
    {
      "output": {
        "item": "minecraft:beetroot"
      },
      "percentages": [1.0, 0.75, 0.25, 0.25]
    }
  ]
}

Example 2 for growing Potato to get Potatoes:

{
  "type": "energizedpower:plant_growth_chamber",
  "ingredient": {
    "item": "minecraft:potato"
  },
  "ticks": 16000,
  "outputs": [
    {
      "output": {
        "item": "minecraft:potato"
      },
      "percentages": [1.0, 0.75, 0.25, 0.25]
    },
    {
      "output": {
        "item": "minecraft:poisonous_potato"
      },
      "percentages": [0.125]
    }
  ]
}

Explanation:

  • type: Must be set to energizedpower:plant_growth_chamber
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • ticks: The amount of ticks the recipe takes without using fertilizers
  • outputs: A list of outputs [Each contains an output and a percentages element]. More than 4 values can be used but excess items will vanish.
    • output: The output item stack (Count must be 1, because the count is determined by the percentages element)
    • percentages: An array of double values. If a percentage of 100% is used, it must be within the first 4 outputs elements to guarantee that it won't vanish. For details see: percentages-value.

Plant Growth Chamber - Fertilizer [v1.6.0 and newer]

Example Bone Meal fertilizer:

{
  "type": "energizedpower:plant_growth_chamber_fertilizer",
  "ingredient": {
    "item": "minecraft:bone_meal"
  },
  "speedMultiplier": 1.5,
  "energyConsumptionMultiplier": 3.0
}

Explanation:

  • type: Must be set to energizedpower:plant_growth_chamber_fertilizer
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • speedMultiplier: A double value by which the ticks value from Plant Growth Chamber recipes is divided.
  • energyConsumptionMultiplier: A double value by which the energy consumption per tick value of the Plant Growth Chamber is multiplied.

Heat Generator [v2.0.0 and newer]

Example for generating energy from flowing lava:

{
  "type": "energizedpower:heat_generator",
  "input": "minecraft:flowing_lava",
  "energy": 15
}

Explanation:

  • type: Must be set to energizedpower:heat_generator
  • input: Must be a single fluid id or a list of fluid ids (Flowing fluids are allowed too)
  • energy: The amount of energy produced per block face per tick

Thermal Generator [v2.0.0 and newer]

Example for generating energy from lava:

{
  "type": "energizedpower:thermal_generator",
  "input": "minecraft:lava",
  "energy": 20000
}

Explanation:

  • type: Must be set to energizedpower:thermal_generator
  • input: Must be a single fluid id or a list of fluid ids (Flowing fluids are allowed too)
  • energy: The amount of energy generated from 1000 mB (milli Buckets) of the input fluid(s)

Pulverizer [v2.0.0 and newer]

Example 1 for pulverizing Gold ores to get Gold Dust:

{
  "type": "energizedpower:pulverizer",
  "ingredient": {
    "tag": "minecraft:gold_ores"
  },
  "output": {
    "output": {
      "item": "energizedpower:gold_dust"
    },
    "percentages": [ 1.0, 1.0, 0.25 ]
  }
}

Example 2 for pulverizing Copper ores to get Copper Dust and Gold Dust:

{
  "type": "energizedpower:pulverizer",
  "ingredient": {
    "tag": "minecraft:copper_ores"
  },
  "output": {
    "output": {
      "item": "energizedpower:copper_dust"
    },
    "percentages": [ 1.0, 1.0, 1.0, 1.0, 0.5, 0.5 ]
  },
  "secondaryOutput": {
    "output": {
      "item": "energizedpower:gold_dust"
    },
    "percentages": [ 0.1 ]
  }
}

Explanation:

  • type: Must be set to energizedpower:pulverizer
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • output: Must contain an item and a list of percentages
    • output: The output item stack (Count must be 1, because the count is determined by the percentages element)
    • percentages: An array of double values. At least one percentage must be 100%. For details see: percentages-value.
  • secondaryOutput: Must contain an item and a list of percentages [OPTIONAL]
    • output: The output item stack (Count must be 1, because the count is determined by the percentages element)
    • percentages: An array of double values. May or may not contain a percentage of 100%. For details see: percentages-value.

Press Mold Maker [v2.2.0 and newer]

Example for creating a Raw Gear Press Mold:

{
  "type": "energizedpower:press_mold_maker",
  "clayCount": 4,
  "output": {
    "item": "energizedpower:raw_gear_press_mold"
  }
}

Explanation:

  • type: Must be set to energizedpower:press_mold_maker
  • clayCount: The amount of Clay Balls required to craft the Raw Press Mold (Min count: 1, max count: 64)
  • output: The output item stack (Should be in the energizedpower:metal_press/raw_press_molds tag and should have a smelting recipe for the non-raw version of the Press Mold (This should be in the energizedpower:metal_press/press_molds tag) which can be used in the Metal Press) (Min count: 1, max count: 64)

Metal Press [v2.2.0 and newer]

Example for pressing Copper Plates into Copper Wires:

{
  "type": "energizedpower:metal_press",
  "ingredient": [
    {
      "tag": "forge:plates/copper"
    }
  ],
  "pressMold": {
    "item": "energizedpower:wire_press_mold"
  },
  "output": {
    "item": "energizedpower:copper_wire",
    "count": 3
  }
}

Explanation:

  • type: Must be set to energizedpower:metal_press
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • pressMold: The Press Mold item stack (Must be in the energizedpower:metal_press/press_molds tag) (Will not be consumed by the recipe; Count must always be 1)
  • output: The output item stack (Min count: 1, max count: 64)

Metal Press with more than one count of the ingredient [v2.2.0 and newer]

Example for pressing Iron Plates into Iron Gear:

{
  "type": "energizedpower:metal_press",
  "ingredient": [
    {
      "tag": "forge:plates/iron"
    }
  ],
  "inputCount": 2,
  "pressMold": {
    "item": "energizedpower:gear_press_mold"
  },
  "output": {
    "item": "energizedpower:iron_gear"
  }
}

Explanation:

  • type: Must be set to energizedpower:metal_press
  • ingredient: Must contain a single ingredient object (a single item/tag or a list of items/tags)
  • inputCount: The count of the ingredient (Min count: 1, max count: 64)
  • pressMold: The Press Mold item stack (Must be in the energizedpower:metal_press/press_molds tag) (Will not be consumed by the recipe; Count must always be 1)
  • output: The output item stack (Min count: 1, max count: 64)

Energized Power Book

Folder: assets/<name>/book_pages/chapters/<####_chapter_id>/<####_sub_chapter_id>/.../<####_page_id>.json

  • ####: Number for sorting chapters and pages (Last digit should be 0 to allow for insertion of up to 9 chapters/pages between 2 chapters/pages)

[WIP]

Clone this wiki locally