Slab block rotation

Started by Lendill on Sat, 11/27/2021 - 23:19

Topic category: Help with modding (Java Edition)

Last seen on 00:31, 9. Dec 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Slab block rotation
Sat, 11/27/2021 - 23:19

I want to add rotation (y-axis, player based) to a modified slab block. For some tests i created a slab block and a block with y-axis rotation, modified the slab model and mixed some code together. It can actually compile but gives me an error message when i run the client. This is the code:

 

https://pastebin.com/CiYqSsRW

 

Can someone explain me what i need to change and why?

Last seen on 17:00, 28. Jan 2022
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Well first of the error…
Sun, 11/28/2021 - 21:33

Well first of the error could be pretty useful to have