Multiblock Page
Page type: modonomicon:multiblock
Displays a multiblock, optionally the multiblock's name and a text.
Attributes
multiblock_name (DescriptionId or Component JSON, optional)
The multiblock name. Will not parse markdown, instead it uses the default title color as defined in the book.json
.
See Book.json for details.
multiblock_id (ResourceLocation, mandatory)
The ResourceLocation to the multiblock to display.
text (DescriptionId or Component JSON, optional)
The page text. Can be styled using markdown.
show_visualize_button (Boolean, optional)
Defaults to true
. If true, the visualize button will be enabled for this page, allowing the player to preview the multiblock in-world.
Usage Examples
<entry>.json
:
{
...
"pages": [
{
"type": "modonomicon:multiblock",
"multiblock_name": "modonomicon.testbook.test_category.multiblock.page0.multiblock_name",
"multiblock_id": "modonomicon:dense",
"text": "modonomicon.testbook.test_category.multiblock.page0.text"
}
]
}
/lang/*.json
:
{
"modonomicon.testbook.test_category.multiblock.page0.multiblock_name": "Test Multiblock",
"modonomicon.testbook.test_category.multiblock.page0.text": "A page with multiblock!"
}