summaryrefslogtreecommitdiff
path: root/mt.go
blob: 98519755d344ddd793c360a624260aed7e369782 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Package mt implements the high-level Minetest protocol.
// This version is compatible with Minetest 5.5.1.
package mt

type Node struct {
	Param0         Content
	Param1, Param2 uint8
}

type Content uint16

const (
	Unknown Content = 125
	Air     Content = 126
	Ignore  Content = 127
)

type Group struct {
	Name   string
	Rating int16
}

type Field struct {
	Name string

	//mt:len32
	Value string
}