How to make a pokeball type item

Started by Tontin97 on Mon, 08/29/2022 - 23:13

Topic category: Help with modding (Java Edition)

Last seen on 21:26, 29. Sep 2022
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a pokeball type item
Mon, 08/29/2022 - 23:13

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 21:26, 29. Sep 2022
Joined Oct 2020
Points:

User statistics:

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

i require assistance

 

Last seen on 07:52, 21. Nov 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 21:26, 29. Sep 2022
Joined Oct 2020
Points:

User statistics:

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

ok thanks