typesforbukkit
Version:
Types For Bukkit
16 lines (14 loc) • 844 B
text/typescript
// API Link: https://tfb.neocities.org/1.16.5/org/bukkit/Difficulty
namespace org.bukkit {
/** @description Represents the various difficulty levels that are available */
export enum Difficulty {
/** @description Hostile mobs spawn, enemies deal less damage than on normal difficulty, the hunger bar does deplete and starving deals up to 5 hearts of damage */
EASY,
/** @description Hostile mobs spawn, enemies deal greater damage than on normal difficulty, the hunger bar does deplete and starving can kill players */
HARD,
/** @description Hostile mobs spawn, enemies deal normal amounts of damage, the hunger bar does deplete and starving deals up to 95 hearts of damage */
NORMAL,
/** @description Players regain health over time, hostile mobs don't spawn, the hunger bar does not deplete */
PEACEFUL
}
}