Documentation ¶
Overview ¶
Package gamemode defines all available game modes and some utility functions.
Index ¶
Constants ¶
View Source
const ( Survival = iota Creative Adventure )
Variables ¶
This section is empty.
Functions ¶
func IsHardcore ¶
IsHardcore returns true if gamemode has the hardcore flag, false otherwise.
func SetHardcore ¶
SetHardcore returns gamemode d with or without the hardcore flag.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.