Block Rotation on 1.14 with MCreator 2020.2

Started by Aunuli on

Topic category: Troubleshooting, bugs, and solutions

Active 5 years ago
Joined Feb 2020
Points:
644

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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.

Active 5 years ago
Joined Feb 2020
Points:
644

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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?

Active 5 years ago
Joined Feb 2020
Points:
644

User statistics:

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

I figured out a work around. Thank you