How to make a pokeball type item

Started by Tontin97 on

Topic category: Help with modding (Java Edition)

Last seen on 22:31, 16. Sep 2023
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

Last seen on 22:31, 16. Sep 2023
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

 

Last seen on 06:22, 13. Mar 2023
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.

Last seen on 22:31, 16. Sep 2023
Joined Oct 2020
Points:

User statistics:

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

ok thanks