Modder & Modpack Creators
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
energizedpowerdirectory inside theconfigdirectory of the game instance.
Custom recipes and Data
Due to the changes in Vanilla, recipe and other datapack files have a different set of fields in different MC versions:
- See Recipes and Data (v1) for MC versions 1.20.4 and older
- See Recipes and Data (v2) for MC versions 1.20.5 to 1.21.1
- See Recipes and Data (v3) for MC versions 1.21.2 and newer
Energized Power Book
The Energized Power book can be modified with a custom resource pack.
Add book page
Path: 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)
Examples
Resources chapter page
{
"changePageIntToId": {
"1": "energizedpower:chapters/0000_welcome/0020_table_of_contents"
},
"content": {
"extra": [
{
"translate": "book.energizedpower.page.chapter.resources.1"
},
{
"bold": true,
"color": "black",
"extra": [
{
"click_event": {
"action": "change_page",
"page": 1
},
"color": "dark_green",
"hover_event": {
"action": "show_text",
"value": {
"translate": "book.energizedpower.tooltip.page"
}
},
"translate": "book.energizedpower.page.table_of_contents.title",
"underlined": true
}
],
"font": "minecraft:uniform",
"text": "\n\n"
}
],
"text": ""
},
"image": "energizedpower:textures/item/energized_copper_ingot.png",
"title": {
"color": "gold",
"translate": "book.energizedpower.page.chapter.resources.title"
}
}
content: A single Text Component (See: https://minecraft.wiki/w/Text_component_format)changePageIntToId: A mapping from integer to book page id for the change page click event [Required since 1.21.11, before 1.21.11: Write ID of book page directly in click event for page change as string]image: A list of or a single image (Path to image namespace and path with png file ending) [Optional] [Should not be used in combination withblock]title: A large heading for chapter pages (If this element is present, the page will be centered vertically) [Optional]
Plates page
{
"changePageIntToId": {
"1": "energizedpower:chapters/0000_welcome/0020_table_of_contents"
},
"content": {
"extra": [
{
"translate": "book.energizedpower.page.chapter.resources.1"
},
{
"bold": true,
"color": "black",
"extra": [
{
"click_event": {
"action": "change_page",
"page": 1
},
"color": "dark_green",
"hover_event": {
"action": "show_text",
"value": {
"translate": "book.energizedpower.tooltip.page"
}
},
"translate": "book.energizedpower.page.table_of_contents.title",
"underlined": true
}
],
"font": "minecraft:uniform",
"text": "\n\n"
}
],
"text": ""
},
"image": "energizedpower:textures/item/energized_copper_ingot.png",
"title": {
"color": "gold",
"translate": "book.energizedpower.page.chapter.resources.title"
}
}
content: A single Text Component (See: https://minecraft.wiki/w/Text_component_format)image: A list of or a single image (Path to image namespace and path with png file ending) [Optional] [Should not be used in combination withblock]
Press Mold Maker page
{
"block": "energizedpower:press_mold_maker",
"content": {
"extra": [
{
"bold": true,
"color": "black",
"font": "minecraft:uniform",
"translate": "book.energizedpower.page.press_mold_maker"
}
],
"text": ""
}
}
content: A single Text Componentblock: A list of or a single block id to be displayed (The default block state will be used) [Optional] [Should not be used in combination withimage]
Powered Furnace page
{
"block": [
"energizedpower:powered_furnace",
"energizedpower:advanced_powered_furnace"
],
"content": {
"extra": [
{
"bold": true,
"color": "black",
"extra": [
"\n"
],
"font": "minecraft:uniform",
"translate": "book.energizedpower.page.powered_furnaces.1"
},
{
"bold": true,
"color": "black",
"font": "minecraft:uniform",
"translate": "book.energizedpower.page.powered_furnaces.2"
}
],
"text": ""
}
}
content: A single Text Componentblock: A list of or a single block id to be displayed (The default block state will be used) [Optional] [Should not be used in combination withimage]
Electrician page (Without mentioning Electrician Building)
File name: assets/<name>/book_pages/chapters/0120_structures/0010_electrician/0010_electrician_no_building.json
{
"content": {
"extra": [
{
"bold": true,
"color": "gold",
"extra": [
"\n\n"
],
"translate": "book.energizedpower.page.electrician.title"
},
{
"bold": true,
"color": "black",
"font": "minecraft:uniform",
"translate": "book.energizedpower.page.electrician.3"
}
],
"text": ""
}
}
Explanation:
content: A single Text Component (See: https://minecraft.wiki/w/Text_component_format)
Remove book pages
Path: assets/<name>/book_pages/remove/<folder1>/<folder2>/.../<page_id>.json
<paeg_id>: File name can be anything, does not have to match the page id to be removed
Examples
Removal of the Electrician villager book page
File name: assets/<name>/book_pages/remove/electrician_page.json
{
"remove": "energizedpower:chapters/0120_structures/0010_electrician"
}
Explanation:
remove: The ID of the book page to be removed