Jump to content

[SOLVED][1.8] Having trouble with texture on a custom block model


jabelar

Recommended Posts

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/

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.