Right Click on Entity not working?

Started by berberborscing on

Topic category: Help with MCreator software

Last seen on 04:55, 23. Dec 2019
Joined May 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Right Click on Entity not working?

I originally thought this was an issue with just Villager type entities but upon further inspection this doesn't work at all. According to this code, if I right click on a Spider with Paper in my hand, it should remove it and give me a certain item. Is this perhaps a problem with Current entity instanceof EntitySpider targeting the player instead of the target entity?

Last seen on 04:55, 23. Dec 2019
Joined May 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Issue resolved. Upon…
Fri, 11/01/2019 - 22:16

Issue resolved. Upon inspecting the code, it turns out the code was testing if the SPIDER was holding a paper and trying to give the spider the item.

Last seen on 14:54, 25. May 2020
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how did you fix that
Mon, 03/02/2020 - 19:22

how did you fix that

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
change it to source entity,…
Wed, 08/12/2020 - 01:34

change it to source entity, found in minecraft components