-
Notifications
You must be signed in to change notification settings - Fork 9
Creating Block Models
Hephaestus-Dev edited this page Jan 7, 2021
·
5 revisions
Once you've created your model, all that's left is for it to be added to your BlockState file:
{
"multipart": [
{
"apply": { "model": "minecraft:block/stone", "uvlock": true}
},
{
"apply": [
{ "model": "myron:block/crystal_ore" },
{ "model": "myron:block/crystal_ore", "y": 90 },
{ "model": "myron:block/crystal_ore", "y": 180 },
{ "model": "myron:block/crystal_ore", "y": 270 },
{ "model": "myron:block/crystal_ore", "x": 90 },
{ "model": "myron:block/crystal_ore", "x": 270 }
]
}
]
}
Myron supports normal models, multipart models, and weighted variant models. Note that your model will have its UV's locked if either the uvlock option supplied in your block state file or the uvlock option in your material file is true.
Currently, multipart and variant models may not obey materials properly. There is a fix for this in the JMX library. There are plans to merge that fix into Fabric API itself.