Posted March 29, 201510 yr I've successfully created several blocks in 1.8 that are full blocks, with orientable parent and working textures. Now I'm trying a more complicated shape -- in this case it is a tanning rack that has two posts and a plane between them. I want the posts to have a wood texture and the plane will have a leather hide texture. Anyway, the cuboid shapes work fine but I'm trying to map a texture and it is just using the pink and black checkered default. To keep it simple, I started by avoiding the uv mapping and just trying to map a hardened clay texture onto all faces of all three elements. However, it doesn't seem to put the textures on. Here is my JSON: { "elements":[ { "__comment":"The skin on the tanning rack", "from":[ 4, 3, 7.5 ], "to":[ 12, 15, 7.5 ], "faces":{ "north":{ "texture":"blocks/hardened_clay_stained_brown" }, "south":{ "texture":"blocks/hardened_clay_stained_brown" } } }, { "__comment":"The right post of the tanning rack", "from":[ 13, 0, 7 ], "to":[ 15, 16, 8 ], "faces":{ "down":{ "texture":"blocks/hardened_clay_stained_brown" }, "up":{ "texture":"blocks/hardened_clay_stained_brown" }, "north":{ "texture":"blocks/hardened_clay_stained_brown" }, "south":{ "texture":"blocks/hardened_clay_stained_brown" }, "west":{ "texture":"blocks/hardened_clay_stained_brown" }, "east":{ "texture":"blocks/hardened_clay_stained_brown" } } }, { "__comment":"The left post of the tanning rack", "from":[ 1, 0, 7 ], "to":[ 3, 16, 8 ], "faces":{ "down":{ "texture":"blocks/hardened_clay_stained_brown" }, "up":{ "texture":"blocks/hardened_clay_stained_brown" }, "north":{ "texture":"blocks/hardened_clay_stained_brown" }, "south":{ "texture":"blocks/hardened_clay_stained_brown" }, "west":{ "texture":"blocks/hardened_clay_stained_brown" }, "east":{ "texture":"blocks/hardened_clay_stained_brown" } } } ] } Any ideas? I understand the concept, but I must have a typo or am missing something simple. Do I need to specify a parent? (I tried using some of the common parents but it makes the model into a full block instead). Check out my tutorials here: http://jabelarminecraft.blogspot.com/
March 29, 201510 yr Hi Jabelar This might give you some clues https://github.com/TheGreyGhost/MinecraftByExample/blob/master/src/main/resources/assets/minecraftbyexample/models/block/mbe02_block_partial_model.json -TGG
March 29, 201510 yr Author I was able to fix it by following your example of defining the textures at the top and using the #base, #pole references. So it works. I still hate how this JSON stuff fails silently -- no long really a warning that it can't find the texture. Oh, well thanks again! Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.