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

Started by DerexXD on

Topic category: Help with MCreator software

Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to check the player's main hand when right clicked on another entity?

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? 

Joined Dec 2017
Points:

User statistics:

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

change event target entity to source entity. 99% sure

Joined Jan 2016
Points:

User statistics:

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

yep thanks!