Started by
gozillaman
on
Topic category: Troubleshooting, bugs, and solutions
I'm currently creating a boss, but I'm having trouble recognizing whether the entity I'm attacking is within range. What I want to do is change the attack method depending on the distance, such as attack A when there is an enemy within range and attack B when the enemy is outside of range. thank you.
Yes, there is procedure block to get nearest entity of type.
This may also help: https://mcreator.net/wiki/my-entity-procedure-crashes-game
I suggest you check our tutorials collection playlist on our YouTube channel which contains many examples and tutorials that can help you get started with MCreator: https://www.youtube.com/playlist?list=PLAeL-oIFIEngE6jRgFYeFMfuj8WQsO3Ei