How to make a pokeball type item

Started by Tontin97 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a pokeball type item

i need help to make a item that when you right click a special entity (pet) it stores in there and if you right click again it would launch the pet like a pokeball

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i require assistance  
Tue, 08/30/2022 - 02:36

i require assistance

 

Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is a bit complicated…
Tue, 08/30/2022 - 20:09

This is a bit complicated. Make an item and projectile. When your projectile hits an entity, if your item has no data, make a procedure to get the data from the entity and save it to the item and despawn the entity. Then if that item has data, spawn that entity when the projectile is shot where it lands instead of saving it. I will make a tutorial on this maybe eventually.

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok thanks  
Wed, 08/31/2022 - 01:37

ok thanks