Right Click give item

Started by Nerddogueto on

Topic category: Help with MCreator software

Last seen on 09:26, 20. Feb 2024
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Right Click give item

Hey guys!

So I need to make a simple mod that when I right click with any item in another player it transfers the item i´m holding to that player.

 

I´ve tried the blocks:

global trigger when player right clicks on entity

 

If is event/target entity subtype of player

               do add 1 item in main hand o f source entity to event/target entity inventory

                remove 1 item in main hand of source enity from sorce entity  main inventory

 

The item gets copied from my hand to the other player and them both get deleted.

What am I doing wrong????

 

 

 

 

Last seen on 09:26, 20. Feb 2024
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Damn I thought this one was…
Mon, 01/01/2024 - 19:28

Damn I thought this one was easy, but no one seems to know the answer.

Last seen on 09:26, 20. Feb 2024
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey?? Still nothing? Someone…
Sun, 01/21/2024 - 17:18

Hey?? Still nothing? Someone??