Block Rotation on 1.14 with MCreator 2020.2

Started by Aunuli on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 06:13, 7. Aug 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Block Rotation on 1.14 with MCreator 2020.2

Hello, I recently tried to port my 1.12 mod to 1.14 on the latest MCreator version. In it I have some code that changes block rotations and since porting to 1.14, the compiler has errored with this directional code. For every spot that I have a rotation, it errors like this:

error: double cannot be dereferenced
          return Direction.NORTH;
                                  ^

Any help would be great, thanks!

Seems like method returns…
Mon, 04/06/2020 - 06:54

Seems like method returns double, not direction. I suggest you to learn some Java if you plan on doing code corrections.

Last seen on 06:13, 7. Aug 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know Java just not how it…
Fri, 04/24/2020 - 23:38

I know Java just not how it works with regards to Minecraft. Know of any decent tutorials?

Last seen on 06:13, 7. Aug 2020
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured out a work around…
Mon, 05/18/2020 - 17:38

I figured out a work around. Thank you