Enemy manipulation

Started by Goldy on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Enemy manipulation

Hello,

Anyone know how i can make a "gun" that brings the enemy hit, to the player?

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You mean teleport the entity…
Mon, 03/28/2022 - 11:23

You mean teleport the entity that got hit to the player?

If so, then it's simple. In the gun procedure when it hits entity, you could do teleport the target entity to the source entity.