Overlay with Procedure Crashing the Game

Started by RamenNoods on

Topic category: Help with modding (Java Edition)

Last seen on 04:54, 27. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Overlay with Procedure Crashing the Game

I have an overlay that is supposed to return the properties of blocks within my mod. It crashed the game and wouldn't let me join any worlds, so I set it to only show when the player is looking at a block in my mod, and it still crashed.

I removed the procedure that gets the properties, and instead set the string to display to simply "test", and then the boolean procedure crashed the game. The overlay works when there are no procedures attached to it. Any way to fix? I'll add images if anyone needs em.

Last seen on 04:54, 27. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
TOP is the procedure that…
Sat, 02/17/2024 - 20:25

Boolean ProcedurString Procedure

TOP is the procedure that checks whether the player is looking at a block in my mod. True displays the overlay, false does not.

BOTTOM is the procedure that creates a string of the properties of the block the player is looking at, and sends the string to the overlay to display.

Last seen on 19:33, 18. Feb 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The issue is that you are…
Sat, 02/17/2024 - 22:17

The issue is that you are using an if block entity block.(Maybe not i will keep looking)

Last seen on 19:33, 18. Feb 2024
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
FOUND IT! You arnt…
Sat, 02/17/2024 - 22:17

FOUND IT! You arnt increasing the ray distance variable!

Last seen on 04:54, 27. Apr 2024
Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh my... im dumb. How did I…
Sat, 02/17/2024 - 22:38

Oh my... im dumb. How did I not notice that?!