Commits
Shane Bee authored and md_5 committed c45e2fafdd1
434 434 | * <br> |
435 435 | * Also note that the client will currently only render {@link Parrot} |
436 436 | * entities. |
437 437 | * |
438 438 | * @param entity right shoulder entity |
439 439 | * @deprecated There are currently no well defined semantics regarding |
440 440 | * serialized entities in Bukkit. Use with care. |
441 441 | */ |
442 442 | |
443 443 | public void setShoulderEntityRight( Entity entity); |
444 + | |
445 + | /** |
446 + | * Make the entity drop the item in their hand. |
447 + | * <br> |
448 + | * This will force the entity to drop the item they are holding with |
449 + | * an option to drop the entire {@link ItemStack} or just 1 of the items. |
450 + | * |
451 + | * @param dropAll True to drop entire stack, false to drop 1 of the stack |
452 + | * @return True if item was dropped successfully |
453 + | */ |
454 + | public boolean dropItem(boolean dropAll); |
444 455 | } |