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

Started by DerexXD on

Topic category: Help with MCreator software

Last seen on 07:40, 14. Apr 2024
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? 

Last seen on 21:24, 26. Dec 2022
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

Last seen on 07:40, 14. Apr 2024
Joined Jan 2016
Points:

User statistics:

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

yep thanks!