Started by
GamesOfLife
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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.
If the images are low quality, like are here
TOP: https://postimg.cc/vcF2DD70
BOTTOM: https://postimg.cc/KRPqTFJx
The issue is that you are using an if block entity block.(Maybe not i will keep looking)
FOUND IT! You arnt increasing the ray distance variable!
Oh my... im dumb. How did I not notice that?!