modopedia:page/multiblock and modopedia:page/block
Description
A page with a Multiblock Display and Text Box. Includes a template processor which automatically positions the text box and multiblock display.
The modopedia:page/block variant also includes a template processor which creates a simple multiblock from a BlockState, for ease of use.
Screenshots
JSON Schemas
Shared
| ID | Type | Required | Default | Description |
|---|---|---|---|---|
| text | FString | ✓ | - | Height of the multiblock display. |
| text_offset | Integer | ✗ | 0 | Y offset of the description text. In most cases you will not need to change this. |
| height | Integer | ✗ | 100 | Height of the multiblock display. |
| offset_x | Float | ✗ | 0 | X viewing offset of the multiblock. |
| offset_y | Float | ✗ | 0 | Y viewing offset of the multiblock. |
| scale | Float | ✗ | 0 | Scale of the multiblock. |
| view_angle | Float | ✗ | 30 | X axis angle the multiblock will be viewed at. Default is isometric. |
| previewable | Boolean | ✗ | false | If true, the multiblock component will have an in-world preview button |
modopedia:page/multiblock
| ID | Type | Required | Default | Description |
|---|---|---|---|---|
| multiblock_id | ResourceLocation | * | - | ID of the multiblock to be rendered. |
| multiblock | Multiblock | * | - | Multiblock to be rendered. See here for details. |
| no_offsets | Boolean | ✗ | false | If true, blocks with an offset function (like flowers) will not be offset. |
modopedia:page/block
| ID | Type | Required | Default | Description |
|---|---|---|---|---|
| block | BlockState* | ✓ | - | BlockState to be displayed. This is in the same format as /setblock. |