minetest_map

package
v0.0.0-...-aecff93 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDBMapBlockNoData = errors.New("No Data in field BLOB")
)

Functions

func Blk2DBPos

func Blk2DBPos(p [3]int16) int64

Types

type MinetestMapDriver

type MinetestMapDriver struct {
	NodeIdMap map[mt.Content]string
	IdNodeMap map[string]mt.Content
	// contains filtered or unexported fields
}

func (*MinetestMapDriver) GetBlk

func (drv *MinetestMapDriver) GetBlk(pos [3]int16) (*minetest.MapBlk, error)

func (*MinetestMapDriver) Make

func (drv *MinetestMapDriver) Make() minetest.MapDriver

func (*MinetestMapDriver) Open

func (drv *MinetestMapDriver) Open(file string) error

func (*MinetestMapDriver) SetBlk

func (drv *MinetestMapDriver) SetBlk(blk *minetest.MapBlk) error

Jump to

Keyboard shortcuts

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