Jump to content

[SOLVED] [1.10.2] Stairs model bug


DBLouis

Recommended Posts

Hi,

 

I have a problem with the stairs in my mod: when placed upside down (except when facing east) it display the bottom east model instead of the corresponding one.

But, the properties are correctly set, as I see it when looking at the block with 'F3' enabled. So the bug have to come from the blockstate files right?

If someone could have a look at those, here, it would be great.

 

Thanks in advance :)

Link to comment
Share on other sites

Rotations are atomic.  By specifying two different rotations for the two different block properties, the one overwrites the other.

Yes, you have "x" in one and "y" in the other, but that's just convenience.  What you're really saying for both is "rotation":"0,90" or "rotation":"180,0" and they don't add together.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

Either:

Use the vanilla way of specifying block states.

Or:

Use two models, one of which is pre-rotated upside down.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

The vanilla way is a pain, that was what I was using before, I had hundreds of files, and it took me a lot of time to generate all blockstate files correctly.

 

You say "they don't add together" but on one line, like that : "facing=west,half=top,shape=straight": { "x": 180, "y": 180 }

It works (even with vanilla file) so why not on separate lines? Shouldn't be so difficult to implement.

Link to comment
Share on other sites

Because the parser is set up to read it that way. When it is two different properties the cartesian product is computed on the fly and it isn't set up to add the values.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.