getItemInHandDropChance

public abstract float getItemInHandDropChance()

Gets the chance of the currently held item being dropped upon this creature's death.

  • A drop chance of 0F will never drop
  • A drop chance of 1F will always drop

Return

chance of the currently held item being dropped (1 for players)