typesforbukkit
Version:
Types For Bukkit
16 lines (14 loc) • 722 B
text/typescript
// API Link: https://tfb.neocities.org/1.16.5/org/bukkit/GameMode
namespace org.bukkit {
/** @description Represents the various type of game modes that HumanEntitys may have */
export enum GameMode {
/** @description Adventure mode cannot break blocks without the correct tools */
ADVENTURE,
/** @description Creative mode may fly, build instantly, become invulnerable and create free items */
CREATIVE,
/** @description Spectator mode cannot interact with the world in anyway and is invisible to normal players */
SPECTATOR,
/** @description Survival mode is the "normal" gameplay type, with no special features */
SURVIVAL
}
}