Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

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/

  • 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.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.