How to check if statement is null - Procedures

Started by ChickenMission on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check if statement is null - Procedures

Hey, is there a way to check for a statement that doesn't return null in the mcreator procedure. if x == [codesnippet"(null)"] doesn;t work, it still throws the error.

 

Thanks!

Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
X is a double value. It…
Fri, 06/25/2021 - 19:04

X is a double value. It simply can't be null. Could you give some more elaboration of your use case? The error it throws, maybe?