item that repels or attracts an entity

Started by Heroi4k on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
item that repels or attracts an entity

Hi all! I need to make one item that attracts or repels entities in the player's line of sight when you hold this item. can you tell me how to do this?