How to check if statement is null - Procedures

Started by ChickenMission on

Topic category: Help with modding (Java Edition)

Last seen on 19:46, 27. Jun 2021
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!

Last seen on 00:30, 24. Aug 2023
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?