Documentation
¶
Index ¶
- func Block(m map[string]any, k string) world.Block
- func Bool(m map[string]any, k string) bool
- func Float32(m map[string]any, k string) float32
- func Float64(m map[string]any, k string) float64
- func Int16(m map[string]any, k string) int16
- func Int32(m map[string]any, k string) int32
- func Int32FromRGBA(x color.RGBA) int32
- func Int64(m map[string]any, k string) int64
- func InvFromNBT(inv *inventory.Inventory, items []any)
- func InvToNBT(inv *inventory.Inventory) []any
- func Item(data map[string]any, s *item.Stack) item.Stack
- func MapItem(x map[string]any, k string) item.Stack
- func Pos(x map[string]any, k string) cube.Pos
- func PosToInt32Slice(x cube.Pos) []int32
- func RGBAFromInt32(x int32) color.RGBA
- func Rotation(m map[string]any) cube.Rotation
- func Slice(m map[string]any, k string) []any
- func String(m map[string]any, k string) string
- func TickDuration[T constraints.Integer](m map[string]any, k string) time.Duration
- func Uint8(m map[string]any, k string) uint8
- func Vec3(x map[string]any, k string) mgl64.Vec3
- func Vec3ToFloat32Slice(x mgl64.Vec3) []float32
- func WriteBlock(b world.Block) map[string]any
- func WriteItem(s item.Stack, disk bool) map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int32FromRGBA ¶
func InvFromNBT ¶
func PosToInt32Slice ¶
func RGBAFromInt32 ¶
func TickDuration ¶
func Vec3ToFloat32Slice ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.