How to check the player's main hand when right clicked on another entity?

Started by DerexXD on Wed, 08/12/2020 - 01:29

Topic category: Help with MCreator software

Last seen on 23:44, 7. Sep 2021
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to check the player's main hand when right clicked on another entity?
Wed, 08/12/2020 - 01:29

I made a cow mob, and want to milk it when I right click. However, when i check the player's main hand for a bucket, it checks the cow's main hand for a bucket. How can I make it so that it checks the player's main hand when I right click on the cow? 

Last seen on 06:55, 27. Apr 2021
Joined Dec 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
change event target entity…
Wed, 08/12/2020 - 03:32

change event target entity to source entity. 99% sure

Last seen on 23:44, 7. Sep 2021
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
yep thanks!
Wed, 08/12/2020 - 23:06

yep thanks!