setLeggingsDropChance

public abstract void setLeggingsDropChance(float chance)

Sets the chance of the leggings being dropped upon this creature's death.

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

Parameters

chance

chance of the leggings being dropped

Throws

when called on players