blob: e7ca84a2d97080e7c78cc4567ea3d1a8bb001966 (
plain)
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
29
|
// Package mt implements the high-level Minetest protocol.
// This version is compatible with
// https://github.com/ClamityAnarchy/minetest/commit/66adeade9d5c45a5499b5ad1ad4bd91dae82482a.
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
}
|