Started by
berberborscing
on
Topic category: Help with MCreator software
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?
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.
how did you fix that
change it to source entity, found in minecraft components