[Bug] Wiki page example has json errors
WenXin20 opened this issue ยท 5 comments
Description of the Bug
This wiki page's example has json errors when placed in a json file. Because of this, I am unsure of the format to use when defining multiple textures.
Steps to Reproduce
- Visit https://jsonlint.com/
- Input example into text box.
Thanks!
I am trying to get this working, but it is giving me an error. Is this not what it has?
Match block predicate must have string property 'block'!
"connections": {
"side": {
"type": "match_state",
"block": "warp_pipes:clear_warp_pipe",
"properties": "entrance"
},
"default": {
"type": "is_same_block"
}
}
Might be me copy-pasting and forgetting to change the error message.
What's wrong here, is that properties
should be an object.
For example:
...
"properties": {
"waterlogged": "true"
}
...
Ah thanks, it is rendering now, although the textures are not connecting even though the state entrance
is true
for both blocks next to each other. Any idea why? The block does have multiple blockstates though.
"connections": {
"side": {
"type": "match_state",
"block": "warp_pipes:clear_warp_pipe",
"properties": { "entrance": "true" }
},
"default": { "type": "is_same_block" }
},