How to create a item that functions like a lead?

Started by DDeli on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to create a item that functions like a lead?
Tue, 04/06/2021 - 23:04 (edited)

Hello, I wanted to make a custom item that functions like a regular lead. However I am unsure on how to create this kind of procedure, How could I do this? Thanks!

Edited by DDeli on Tue, 04/06/2021 - 23:04
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm still waiting for a…
Tue, 04/06/2021 - 04:07

I'm still waiting for a response, Thanks!

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think this is really…
Tue, 04/06/2021 - 05:33

I don't think this is really possible in MCreator, but you could maybe do it that the item is ranged (though with short range). Then, on the trigger "when bullet hits living entity", you affect the entity with custom potion effect, which you create before and on the potion's trigger "on potion active tick" you make a procedure, where it checks for an entity with your "lead" item in hand and teleports to them.