how can i make items that catch entities?

Started by andre20000 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how can i make items that catch entities?

i want to create pokeballs for my mod but i dont know how the pokeballs will catch the entities. can you help me?

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You can make a ranged item…
Sat, 11/30/2019 - 12:41

You can make a ranged item without munitions (arrow for example), and just create a procedure when one of the Pokeball touch a mob. After, get the entity in a nbt tag (in the item), and despawn the entity. If the pokeball has already something inside, get the entity, spawn it, and remove the text inside.

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I’m not sure if it’s work,…
Sat, 11/30/2019 - 12:42

I’m not sure if it’s work, but you can try this with add some elements because I just say you bases.