the model and texture are not visible  [Solved]

Get help and support for using Cubik Studio.
Post Reply

the model and texture are not visible

Post by Mathdn » 04 Jun 2022, 07:52

Hello, I tried to create a dead tube coral model, but the shape and texture of the model do not show up.
the 3d model supposed to replace dead tube coral is "livre_1"
I describe below the files I used with their location:

assets/minecraft/blockstates/dead_tube_coral.json :
{
"variants": {
"": [
{ "model": "custom/livre_1" },
]
}
}
assets/minecraft/models/custom/livre_1.json :
{
"__comment": [...],
"textures": {
"livre_1": "custom/blocks/livre_1"
},
"elements": [
{
[...]
}
}
]
}

the location of the texture is : assets/minecraft/textures/custom/block/livre_1

thank you in advance for your help :)
x
User avatar
Mathdn
Supporter
Posts: 5
Joined: 17 Dec 2021, 12:50

Re: the model and texture are not visible  [Solved]

Post by HanFox » 04 Jun 2022, 11:01

The blockstate you've posted isn't valid json.

You should verify it using a website like https://jsonlint.com/

Basically you have an extra comma where it shouldn't be.
x
Create your own thread for purchase/activation/key issues.

Please don't Private Message admins without prior permission. Your message may be missed.

Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
User avatar
HanFox
Web Admin
Posts: 1139
Joined: 16 Apr 2012, 00:46

Re: the model and texture are not visible

Post by Mathdn » 04 Jun 2022, 12:01

It works now, thank you :)
x
User avatar
Mathdn
Supporter
Posts: 5
Joined: 17 Dec 2021, 12:50

Post Reply

Return to “Help Centre”