Bug with directions

Started by ShAdOw112 on Sun, 08/29/2021 - 14:45

Topic category: Help with MCreator software

Last seen on 16:31, 9. Sep 2021
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Bug with directions
Sun, 08/29/2021 - 14:45

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!