Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ByteArrayTag ¶
type ByteArrayTag []int8
func (ByteArrayTag) ID ¶
func (b ByteArrayTag) ID() uint8
func (ByteArrayTag) PushToWriter ¶
func (b ByteArrayTag) PushToWriter(writer io.ByteWriter, endian Endian, includeTagID bool) error
func (ByteArrayTag) Size ¶
func (b ByteArrayTag) Size(includeTagID bool) int
type CompoundTag ¶ added in v1.0.1
func (CompoundTag) ID ¶ added in v1.0.1
func (c CompoundTag) ID() uint8
func (CompoundTag) PushToWriter ¶ added in v1.0.1
func (c CompoundTag) PushToWriter(writer io.ByteWriter, endian Endian, includeTagID bool) error
func (CompoundTag) Size ¶ added in v1.0.1
func (c CompoundTag) Size(includeTagID bool) int
type IntArrayTag ¶
type IntArrayTag []int32
func (IntArrayTag) ID ¶
func (i IntArrayTag) ID() uint8
func (IntArrayTag) PushToWriter ¶
func (i IntArrayTag) PushToWriter(writer io.ByteWriter, endian Endian, includeTagID bool) error
func (IntArrayTag) Size ¶
func (i IntArrayTag) Size(includeTagID bool) int
type LongArrayTag ¶
type LongArrayTag []int64
func (LongArrayTag) ID ¶
func (l LongArrayTag) ID() uint8
func (LongArrayTag) PushToWriter ¶
func (l LongArrayTag) PushToWriter(writer io.ByteWriter, endian Endian, includeTagID bool) error
func (LongArrayTag) Size ¶
func (l LongArrayTag) Size(includeTagID bool) int
type NBT ¶
type NBT struct {
Name *string
Tags CompoundTag // Please don't put NBT in NBT
}
NBT We use NBT to represent Compound
func NewNBTWithTags ¶ added in v1.0.8
func NewNBTWithTags(name string, tags CompoundTag) *NBT
func NewRootNBT ¶ added in v1.0.8
func NewRootNBT() *NBT
func NewRootNBTWithTags ¶ added in v1.0.8
func NewRootNBTWithTags(tags CompoundTag) *NBT
func (*NBT) FormatSNBT ¶
func (*NBT) PushToWriter ¶
Click to show internal directories.
Click to hide internal directories.