Jump to content

Recommended Posts

Posted

After digging through the native sided textures for a while I tried this:

{
"parent": "block/cube_all",
"textures": {
	"side": "technica:blocks/rubberlogSide",
	"top": "technica:blocks/rubberlogTop"
}
}

 

Shouldn't this cause the textures of my block to be sided?

The block is called "rubbertreeLog" btw.

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Posted

I am not extending the rotated pillar / blockLog classes, since I need some extra functionality. At the time being by block class simply extends Block.class

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

Posted

i never said u need to extend that, i just told you take a look how vanilla does. look at the log.json (i think it was that im not sure and got no ide here) , you will find how it is done there.

Posted

since the log.json should be rather complicated because it is a "rotated pillar" I took a look at bookshelf.json. Which is basically what I want. It has a texture on its sides and on on its end. And it worked.

For anyone looking at this:

When making a sided block cant use "block/cube_all" you have to use cube_column (in my case) or others.

The json file also has to be FLAWLESS

using the wrong texture name will cause the whole model to break. Errors in json code as well.

PM's regarding modding questions should belong in the Modder Support sub-forum and won't be answered.

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.