world

package
v1.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2023 License: MIT Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventsListener added in v1.18.2

type EventsListener struct {
	LoadChunk   func(pos level.ChunkPos) error
	UnloadChunk func(pos level.ChunkPos) error
}

type World

type World struct {
	Columns map[level.ChunkPos]*level.Chunk
	// contains filtered or unexported fields
}

func NewWorld added in v1.18.2

func NewWorld(c *bot.Client, p *basic.Player, events EventsListener) (w *World)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL