Need some help!

Started by 8BitBunnie on

Topic category: Help with MCreator software

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need some help!
Wed, 04/06/2022 - 23:27 (edited)

Hey there! I'm making a Mob Grabber item that I want to pick up mobs, teleport them above you, and follow you until you take damage, anybody know of any ways to make this?

Edited by 8BitBunnie on Wed, 04/06/2022 - 23:27
Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
when entity is right clicked…
Thu, 05/12/2022 - 15:30

when entity is right clicked with item, set NBT variable to true, when NBT variable is true then teleport event/target entity to the position of the nearest entity + 2, when source entity is damaged then set NBT variable to false and teleport event/target to source entity's position