Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adventure ¶
type Adventure struct{}
Adventure represents the adventure game mode: Players with this game mode cannot edit the world (placing or breaking blocks).
type Creative ¶
type Creative struct{}
Creative represents the creative game mode: Players with this game mode have infinite blocks and items and can break blocks instantly. Players with creative mode can also fly.
type GameMode ¶
type GameMode interface {
// contains filtered or unexported methods
}
GameMode represents a game mode that may be assigned to a player. Upon joining the world, players will be given the default game mode that the world holds. Game modes specify the way that a player interacts with and plays in the world.
Click to show internal directories.
Click to hide internal directories.