entity crashes game

Started by ShadeCatt on

Topic category: Help with modding (Java Edition)

Last seen on 21:52, 13. Sep 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
entity crashes game

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


 

 

 

 

 

Last seen on 19:52, 14. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
check if the entity player…
Tue, 08/06/2024 - 16:27

check if the entity player exists in that area before checking if is on the ground, you can use the "does entity exist" block

Last seen on 21:52, 13. Sep 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks so much, that worked.
Thu, 08/08/2024 - 00:48

Thanks so much, that worked.

Last seen on 19:52, 14. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome 
Thu, 08/08/2024 - 01:00

You're welcome