-
Notifications
You must be signed in to change notification settings - Fork 5
Modder & Modpack Creators
If you are creating mods and want to interact with Energized Power, this page is for you!
Currently only recipes and the energized power book can be configured, in future releases all energy transfer rates, capacity values, consumption and production rates/factors can be configured.
Recipes can be added via configuration files like any other recipe.
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 toenergizedpower: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)
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 toenergizedpower: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)
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 toenergizedpower: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)
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 toenergizedpower: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)
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 toenergizedpower: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.
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 toenergizedpower: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)
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 toenergizedpower: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 anoutput
and apercentages
element]-
output
: The output item stack (Count must be 1, because the count is determined by thepercentages
element] -
percentages
: An array of double values. More than 4 values can be used but excess items will vanish. If a percentage of 100% is used, it must be within the first 4 elements to guarantee that it won't vanish. Every element is independent from other elements and represents the change to add 1 to the final output count. (e.g. 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%)) (Another example:[1, 0.33, 0.33]
-> (count is 0: 0%, count is 1: 44.89%, count is 2: 44.22%, count is 3: 10.89%))
-
[WIP]