How can I fix this which is caused by return value of "java.util.Optional.orElse(Object)" is nul

Started by Xyther on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I fix this which is caused by return value of "java.util.Optional.orElse(Object)" is nul

I'm trying to make a procedure which is going to make my custom mob able to move when I'm not looking at it with my crosshair but somehow ended up crashing when I put "Attempt to override motion vector" into the procedure. Is there an alternative way to this or a fix?

procedure

Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try using "attempt to stop…
Mon, 03/17/2025 - 15:13

Try using "attempt to stop navigation of event/target entity".