Repository navigation
Continuous Texture Type
Continuous textures are textures that stretch over multiple blocks. This allows for patterns larger than single block.
Continuous textures have the following properties:
Note
Continuous textures also support all properties of the base texture type.
| key | values | default | description |
|---|---|---|---|
rows |
integer, >0 <=32 | 1 |
Number of rows in the image |
columns |
integer, >0 <=32 | 1 |
Number of columns in the image |
The rows and columns options specify the number of grid in the image. It can be though of as the number of blocks the texture is stretches across before it repeats
Here is an example of a stone bricks texture that extends over multiple blocks.
{
"fusion": {
"type": "continuous",
"rows": 2,
"columns": 3
}
} |
|
In Minecraft, the example would look like this:
Continuous textures can also be animated. The setup is the same as for a vanilla animated texture.
Tip
A description of the vanilla animation metadata is available at the Minecraft Wiki.
Here is an example of an animated continuous texture:
{
"fusion": {
"type": "continuous",
"rows": 2,
"columns": 2
},
"animation": {
"frametime": 10,
"interpolate": true
}
} |
|