Started by
myxical
on
Topic category: Help with Minecraft modding (Java Edition)
I made a block that sets the nearest entity on fire. Works, but crashes if no mob is nearby. How to fix it?
Topic category: Help with Minecraft modding (Java Edition)
I made a block that sets the nearest entity on fire. Works, but crashes if no mob is nearby. How to fix it?
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
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