Documentation
¶
Index ¶
- Constants
- func ParseBlockStatesString(blockStatesString string, isLegacy bool) (result map[string]any)
- func ReadBDXCommand(reader *encoding.Reader) (cmd command.Command, err error)
- func ReadBDXFileInfo(path string) (authorName string, reader *encoding.Reader, fileCloser func() error, err error)
- type BlockPos
- type GeneralReader
- type GeneralWriter
- type MCWorld
- func (m *MCWorld) Close() (err error)
- func (m *MCWorld) Flush()
- func (m *MCWorld) LoadBlock(x int32, y int16, z int32) (blockRuntimeID uint32, err error)
- func (m *MCWorld) SetBlock(x int32, y int16, z int32, blockRuntimeID uint32) error
- func (m *MCWorld) SetBlockNBT(x int32, y int32, z int32, blockNBT map[string]any) error
Constants ¶
View Source
const ( BlockStatesDefaultSeparator = "=" BlockStatesLegacySeparator = ":" )
"color":"orange" [legacy] or "color"="orange" [current]
Variables ¶
This section is empty.
Functions ¶
func ParseBlockStatesString ¶
ParseBlockStatesString ..
func ReadBDXCommand ¶
ReadBDXCommand ..
Types ¶
type GeneralReader ¶ added in v0.1.0
type GeneralReader struct {
// contains filtered or unexported fields
}
GeneralReader ..
func NewGeneralReader ¶ added in v0.1.0
func NewGeneralReader(r io.Reader) *GeneralReader
NewGeneralReader ..
func (*GeneralReader) Read ¶ added in v0.1.0
func (g *GeneralReader) Read(p []byte) (n int, err error)
func (*GeneralReader) ReadByte ¶ added in v0.1.0
func (g *GeneralReader) ReadByte() (byte, error)
type GeneralWriter ¶ added in v0.1.0
type GeneralWriter struct {
// contains filtered or unexported fields
}
GeneralWriter ..
func NewGeneralWriter ¶ added in v0.1.0
func NewGeneralWriter(w io.Writer) *GeneralWriter
NewGeneralWriter ..
func (*GeneralWriter) Write ¶ added in v0.1.0
func (g *GeneralWriter) Write(p []byte) (n int, err error)
func (*GeneralWriter) WriteByte ¶ added in v0.1.0
func (g *GeneralWriter) WriteByte(c byte) error
Click to show internal directories.
Click to hide internal directories.