Slab block rotation

Started by Lendill on

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:
  • MCreator plugins:
  • Comments:
Slab block rotation

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 02:22, 24. Apr 2024
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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