How to check if statement is null - Procedures

Started by ChickenMission on

Topic category: Help with Minecraft modding (Java Edition)

Active 4 years ago
Joined Dec 2019
Points:
647

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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!

Active 1 month ago
Joined May 2014
Points:
1036

User statistics:

  • Modifications: 3
  • Forum topics: 24
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 329
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?