im trrying to make something attack players if the player isnt riding it

Started by Chasebear777 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im trrying to make something attack players if the player isnt riding it

im making a tank and i want to have npcs that will ride the tank but i also want players to be able to ride it but i dont know how to make it so it will only attack players that arent riding it so is there any way to make it so it will only attack players that arent riding it?