HEY! This is those rare occasions where I can't find out how to do something. I'm writing a plugin that requires a mob to hold an item, however, I can't seem to find how to do this. If anyone knows any way to do this, please reply to this thread.
First find the entity then set the item in their hand: Code (Text): p.setItemInHand(arg0); can y0u send me a copy of your code so far so I can see what you are trying to do.
@JoeTheHuman https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/LivingEntity.html#getEquipment() (Note: doesn't work with all entities)
Thanks! I don't know if it will work with a chicken, but I'm gonna try it. It's what I've been looking for. Setting the thread as solved.