modopedia:image
Description
Renders images from a resource pack. If multiple images are specified, the gallery will include small arrow buttons to change image.
The image will be stretched or squished to fit the size of the image gallery.
Screenshot
JSON Schema
ID | Type | Required | Default | Description |
---|---|---|---|---|
images | ResourceLocation[] | ✓ | - | Images to be displayed. |
width | Integer | ✗ | 100 | Width of the images on the page. |
height | Integer | ✗ | 100 | Height of the images on the page. |