Game crash when trying to set nearest mob on fire

Started by myxical on Fri, 05/28/2021 - 22:33

Topic category: Help with modding (Java Edition)

Last seen on 10:04, 18. Jul 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Game crash when trying to set nearest mob on fire
Fri, 05/28/2021 - 22:33

I made a block that sets the nearest entity on fire. Works, but crashes if no mob is nearby. How to fix it?

Last seen on 03:43, 24. Jul 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
by chance is it burning an…
Fri, 06/04/2021 - 04:23

by chance is it burning an item? because that crashes the game, make sure you add a if the entity is an not an item set it on fire, if its not that still do it, it saves you from that later

Last seen on 03:43, 24. Jul 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
oh also you could just make…
Fri, 06/04/2021 - 04:24

oh also you could just make it activate when there is a mob nearby, make it so the procedure only works if there are entities nearby