Started by
ShadeCatt
on
Topic category: Help with Minecraft modding (Java Edition)
i recently made a geckolib model, and i gave it some special attacks. one of them, is like a ground slam that checks if the player is on the ground, and if so flings them up into the air. it works great, but if the entity does is when there isn't a player in the 20x20x20 detection range, it just crashes my game. someone please help. i'm almost completely sure it has to do with the null block thing
check if the entity player exists in that area before checking if is on the ground, you can use the "does entity exist" block
Thanks so much, that worked.
You're welcome