Started by
AndrewHG
on
Topic category: Help with Minecraft modding (Java Edition)
hello! I created this piece of code but it seems to crash my game when i try to load into a world. Is there something wrong with this? am I being stupid
Topic category: Help with Minecraft modding (Java Edition)
hello! I created this piece of code but it seems to crash my game when i try to load into a world. Is there something wrong with this? am I being stupid
Get nearest entity can return NULL, as indicated with NULL text on the left.
You need to gett nearest entity, store it in local variable, and then do null check (e.g. by checking for entity type)
thank you! :D how do i do that?