Bug with directions

Started by ShAdOw112 on

Topic category: Help with MCreator software

Last seen on 12:01, 16. Feb 2023
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bug with directions

Today I started making a new mod in MCreator (version 2021.2). I made a new possibility to 'walk' on the water. Here's the procedure:
 

The procedure of the water-walk

The problem is that it works if you look at all directions (except for -Z) and once you looked at -Z direction you'll walk only in that direction (doesn't matter if you look at different directions after that). I had tried "else if" before this image but it didn't help at all. Help please!