Checking for gamerules doesn't work

Started by Hercules1080 on

Topic category: Help with MCreator software

Last seen on 19:45, 23. Apr 2024
Joined Jan 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Checking for gamerules doesn't work

I tried making gamerules to switch things in my mod on or off, but when I was playing in the game, it wasn't checking for the gamerule. Whether it's true or false, it still acts as if it were true. I've checked and double checked my code, and it doesn't work. 

In the code, I check if the gamerule = true, and if so, it should do the procedure. Any ideas why this isn't working?

Maybe you are calling the…
Mon, 02/12/2024 - 18:11

Maybe you are calling the procedure from the client side? Gamerules may not be synced to client in all cases I think