How to make an entity spawn from an item?

Started by RainyCandyRose on

Topic category: Help with MCreator software

Last seen on 03:18, 9. Aug 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make an entity spawn from an item?

So i have an entity that is tameable, and I want you to be able to right click it to pick it up in your inventory, then right click the item to spawn the entity back and tame it.

I am attempting to use the on item right click procedure but it tells me I am missing dependencies for what I want to do.

Can anyone tell me what I am doing wrong?

Last seen on 19:52, 14. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
try replacing get item event…
Sat, 08/03/2024 - 00:58

try replacing get item event/target entity is using with get item in main hand of event/target entity

Last seen on 03:18, 9. Aug 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sadly that didn't seem to…
Sat, 08/03/2024 - 01:18

Sadly that didn't seem to work, still says I am missing dependencies 

Last seen on 19:52, 14. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, I didn't read…
Sat, 08/03/2024 - 01:47

Yeah, I didn't read carefully what your problem was before, replacing source entity with event/target entity will fix that

Last seen on 03:18, 9. Aug 2024
Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I got it! Thank you!! Now it…
Sat, 08/03/2024 - 17:02

I got it! Thank you!! Now it works perfectly, can pick them up, and place them down without an issue. 

Last seen on 19:52, 14. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome 
Sat, 08/03/2024 - 17:06

You're welcome