Jump to content

[Solved] Top block texture rotating as the player faces [1.5.2]


larsgerrits
 Share

Recommended Posts

Ok, I made a multi-textured  block and all the textures are (kinda) working, but the top texture is always facing at the same direction, and i don't want that. I would appriciate it very much cause it would make my mod better.

 

Thanks in advance,

- larsgerrits

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Ok, I made a multi-texturedblock and all the textures are (kinda) working, but the top texture is always facing at the same direction, and i don't want that. I would appriciate it very much cause it would make my mod better.

 

Thanks in advance,

- larsgerrits

The easiest way to do it is to have all four rotations of the texture. Otherwise, you'll have to mess with BSRs.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Link to comment
Share on other sites

Ok, I made a multi-texturedblock and all the textures are (kinda) working, but the top texture is always facing at the same direction, and i don't want that. I would appriciate it very much cause it would make my mod better.

 

Thanks in advance,

- larsgerrits

The easiest way to do it is to have all four rotations of the texture. Otherwise, you'll have to mess with BSRs.

Ok, It's easy to do the four rotations of the texture, but how would I implement them?

 

BTW, what are BSRs?

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Ok, I made a multi-texturedblock and all the textures are (kinda) working, but the top texture is always facing at the same direction, and i don't want that. I would appriciate it very much cause it would make my mod better.

 

Thanks in advance,

- larsgerrits

The easiest way to do it is to have all four rotations of the texture. Otherwise, you'll have to mess with BSRs.

Ok, It's easy to do the four rotations of the texture, but how would I implement them?

 

BTW, what are BSRs?

Block special renderers.

 

You need to register all four icons, then override getBlockTexture(side,meta) (both of which I assume you're already doing) and return the appropriate top rotation for the metadata passed in.

BEWARE OF GOD

---

Co-author of Pentachoron Labs' SBFP Tech.

Link to comment
Share on other sites

Can you give me an example of the getBlockTexture method, cause i can't find block that use that method, only blocks that use the getIcon method.

Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support.

 

1.12 -> 1.13 primer by williewillus.

 

1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support.

 

http://www.howoldisminecraft1710.today/

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share



×
×
  • Create New...

Important Information

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