setHelmetDropChance

public abstract void setHelmetDropChance(float chance)

Sets the chance of the helmet 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

of the helmet being dropped

Throws

when called on players