Documentation
¶
Index ¶
- Constants
- Variables
- type AddInt8XValue
- type AddInt8YValue
- type AddInt8ZValue
- type AddInt16XValue
- type AddInt16YValue
- type AddInt16ZValue
- type AddInt16ZValue0
- type AddInt32XValue
- type AddInt32YValue
- type AddInt32ZValue
- type AddInt32ZValue0
- type AddXValue
- type AddYValue
- type AddZValue
- type AddZValue0
- type AssignDebugData
- type Command
- type CommandFunc
- type CreateConstantString
- type NoOperation
- type PlaceBlock
- type PlaceBlockWithBlockStates
- type PlaceBlockWithBlockStatesDeprecated
- type PlaceBlockWithChestData
- type PlaceBlockWithCommandBlockData
- type PlaceBlockWithNBTData
- type PlaceCommandBlockWithCommandBlockData
- type PlaceRuntimeBlock
- type PlaceRuntimeBlockWithChestData
- type PlaceRuntimeBlockWithChestDataAndUint32RuntimeID
- type PlaceRuntimeBlockWithCommandBlockData
- type PlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID
- type PlaceRuntimeBlockWithUint32RuntimeID
- type SetCommandBlockData
- type SubtractXValue
- type SubtractYValue
- type SubtractZValue
- type Terminate
- type UseRuntimeIDPool
Constants ¶
View Source
const ( IDCreateConstantString uint16 = iota + 1 IDPlaceBlockWithBlockStates IDAddInt16ZValue0 IDPlaceBlock IDAddZValue0 IDNOP IDAddInt32ZValue0 IDPlaceBlockWithBlockStatesDeprecated IDAddXValue IDSubtractXValue IDAddYValue IDSubtractYValue IDAddZValue IDSubtractZValue IDAddInt16XValue IDAddInt32XValue IDAddInt16YValue IDAddInt32YValue IDAddInt16ZValue IDAddInt32ZValue IDSetCommandBlockData IDPlaceBlockWithCommandBlockData IDAddInt8XValue IDAddInt8YValue IDAddInt8ZValue IDUseRuntimeIDPool IDPlaceRuntimeBlock IDPlaceRuntimeBlockWithUint32RuntimeID IDPlaceRuntimeBlockWithCommandBlockData IDPlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID IDPlaceCommandBlockWithCommandBlockData IDPlaceRuntimeBlockWithChestData IDPlaceRuntimeBlockWithChestDataAndUint32RuntimeID IDAssignDebugData IDPlaceBlockWithChestData IDPlaceBlockWithNBTData IDTerminate = 88 )
Variables ¶
View Source
var BDumpCommandPool = map[uint16]CommandFunc{ IDCreateConstantString: func() Command { return &CreateConstantString{} }, IDPlaceBlockWithBlockStates: func() Command { return &PlaceBlockWithBlockStates{} }, IDAddInt16ZValue0: func() Command { return &AddInt16ZValue0{} }, IDPlaceBlock: func() Command { return &PlaceBlock{} }, IDAddZValue0: func() Command { return &AddZValue0{} }, IDNOP: func() Command { return &NoOperation{} }, IDAddInt32ZValue0: func() Command { return &AddInt32ZValue0{} }, IDPlaceBlockWithBlockStatesDeprecated: func() Command { return &PlaceBlockWithBlockStatesDeprecated{} }, IDAddXValue: func() Command { return &AddXValue{} }, IDSubtractXValue: func() Command { return &SubtractXValue{} }, IDAddYValue: func() Command { return &AddYValue{} }, IDSubtractYValue: func() Command { return &SubtractYValue{} }, IDAddZValue: func() Command { return &AddZValue{} }, IDSubtractZValue: func() Command { return &SubtractZValue{} }, IDAddInt16XValue: func() Command { return &AddInt16XValue{} }, IDAddInt32XValue: func() Command { return &AddInt32XValue{} }, IDAddInt16YValue: func() Command { return &AddInt16YValue{} }, IDAddInt32YValue: func() Command { return &AddInt32YValue{} }, IDAddInt16ZValue: func() Command { return &AddInt16ZValue{} }, IDAddInt32ZValue: func() Command { return &AddInt32ZValue{} }, IDSetCommandBlockData: func() Command { return &SetCommandBlockData{} }, IDPlaceBlockWithCommandBlockData: func() Command { return &PlaceBlockWithCommandBlockData{} }, IDAddInt8XValue: func() Command { return &AddInt8XValue{} }, IDAddInt8YValue: func() Command { return &AddInt8YValue{} }, IDAddInt8ZValue: func() Command { return &AddInt8ZValue{} }, IDUseRuntimeIDPool: func() Command { return &UseRuntimeIDPool{} }, IDPlaceRuntimeBlock: func() Command { return &PlaceRuntimeBlock{} }, IDPlaceRuntimeBlockWithUint32RuntimeID: func() Command { return &PlaceRuntimeBlockWithUint32RuntimeID{} }, IDPlaceRuntimeBlockWithCommandBlockData: func() Command { return &PlaceRuntimeBlockWithCommandBlockData{} }, IDPlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID: func() Command { return &PlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID{} }, IDPlaceCommandBlockWithCommandBlockData: func() Command { return &PlaceCommandBlockWithCommandBlockData{} }, IDPlaceRuntimeBlockWithChestData: func() Command { return &PlaceRuntimeBlockWithChestData{} }, IDPlaceRuntimeBlockWithChestDataAndUint32RuntimeID: func() Command { return &PlaceRuntimeBlockWithChestDataAndUint32RuntimeID{} }, IDAssignDebugData: func() Command { return &AssignDebugData{} }, IDPlaceBlockWithChestData: func() Command { return &PlaceBlockWithChestData{} }, IDPlaceBlockWithNBTData: func() Command { return &PlaceBlockWithNBTData{} }, IDTerminate: func() Command { return &Terminate{} }, }
BDumpCommandPool ..
Functions ¶
This section is empty.
Types ¶
type AddInt8XValue ¶
type AddInt8XValue struct {
DeltaX int8
}
func (*AddInt8XValue) ID ¶
func (*AddInt8XValue) ID() uint16
func (*AddInt8XValue) Marshal ¶
func (a *AddInt8XValue) Marshal(io encoding.IO)
func (*AddInt8XValue) Name ¶
func (*AddInt8XValue) Name() string
type AddInt8YValue ¶
type AddInt8YValue struct {
DeltaY int8
}
func (*AddInt8YValue) ID ¶
func (*AddInt8YValue) ID() uint16
func (*AddInt8YValue) Marshal ¶
func (a *AddInt8YValue) Marshal(io encoding.IO)
func (*AddInt8YValue) Name ¶
func (*AddInt8YValue) Name() string
type AddInt8ZValue ¶
type AddInt8ZValue struct {
DeltaZ int8
}
func (*AddInt8ZValue) ID ¶
func (*AddInt8ZValue) ID() uint16
func (*AddInt8ZValue) Marshal ¶
func (a *AddInt8ZValue) Marshal(io encoding.IO)
func (*AddInt8ZValue) Name ¶
func (*AddInt8ZValue) Name() string
type AddInt16XValue ¶
type AddInt16XValue struct {
DeltaX int16
}
func (*AddInt16XValue) ID ¶
func (*AddInt16XValue) ID() uint16
func (*AddInt16XValue) Marshal ¶
func (a *AddInt16XValue) Marshal(io encoding.IO)
func (*AddInt16XValue) Name ¶
func (*AddInt16XValue) Name() string
type AddInt16YValue ¶
type AddInt16YValue struct {
DeltaY int16
}
func (*AddInt16YValue) ID ¶
func (*AddInt16YValue) ID() uint16
func (*AddInt16YValue) Marshal ¶
func (a *AddInt16YValue) Marshal(io encoding.IO)
func (*AddInt16YValue) Name ¶
func (*AddInt16YValue) Name() string
type AddInt16ZValue ¶
type AddInt16ZValue struct {
DeltaZ int16
}
func (*AddInt16ZValue) ID ¶
func (*AddInt16ZValue) ID() uint16
func (*AddInt16ZValue) Marshal ¶
func (a *AddInt16ZValue) Marshal(io encoding.IO)
func (*AddInt16ZValue) Name ¶
func (*AddInt16ZValue) Name() string
type AddInt16ZValue0 ¶
type AddInt16ZValue0 struct {
DeltaZ int16
}
func (*AddInt16ZValue0) ID ¶
func (*AddInt16ZValue0) ID() uint16
func (*AddInt16ZValue0) Marshal ¶
func (a *AddInt16ZValue0) Marshal(io encoding.IO)
func (*AddInt16ZValue0) Name ¶
func (*AddInt16ZValue0) Name() string
type AddInt32XValue ¶
type AddInt32XValue struct {
DeltaX int32
}
func (*AddInt32XValue) ID ¶
func (*AddInt32XValue) ID() uint16
func (*AddInt32XValue) Marshal ¶
func (a *AddInt32XValue) Marshal(io encoding.IO)
func (*AddInt32XValue) Name ¶
func (*AddInt32XValue) Name() string
type AddInt32YValue ¶
type AddInt32YValue struct {
DeltaY int32
}
func (*AddInt32YValue) ID ¶
func (*AddInt32YValue) ID() uint16
func (*AddInt32YValue) Marshal ¶
func (a *AddInt32YValue) Marshal(io encoding.IO)
func (*AddInt32YValue) Name ¶
func (*AddInt32YValue) Name() string
type AddInt32ZValue ¶
type AddInt32ZValue struct {
DeltaZ int32
}
func (*AddInt32ZValue) ID ¶
func (*AddInt32ZValue) ID() uint16
func (*AddInt32ZValue) Marshal ¶
func (a *AddInt32ZValue) Marshal(io encoding.IO)
func (*AddInt32ZValue) Name ¶
func (*AddInt32ZValue) Name() string
type AddInt32ZValue0 ¶
type AddInt32ZValue0 struct {
DeltaZ int32
}
func (*AddInt32ZValue0) ID ¶
func (*AddInt32ZValue0) ID() uint16
func (*AddInt32ZValue0) Marshal ¶
func (a *AddInt32ZValue0) Marshal(io encoding.IO)
func (*AddInt32ZValue0) Name ¶
func (*AddInt32ZValue0) Name() string
type AddZValue0 ¶
type AddZValue0 struct{}
func (*AddZValue0) ID ¶
func (*AddZValue0) ID() uint16
func (*AddZValue0) Marshal ¶
func (*AddZValue0) Marshal(io encoding.IO)
func (*AddZValue0) Name ¶
func (*AddZValue0) Name() string
type AssignDebugData ¶
type AssignDebugData struct {
Data []byte
}
func (*AssignDebugData) ID ¶
func (*AssignDebugData) ID() uint16
func (*AssignDebugData) Marshal ¶
func (a *AssignDebugData) Marshal(io encoding.IO)
func (*AssignDebugData) Name ¶
func (*AssignDebugData) Name() string
type CreateConstantString ¶
type CreateConstantString struct {
ConstantString string
}
func (*CreateConstantString) ID ¶
func (*CreateConstantString) ID() uint16
func (*CreateConstantString) Marshal ¶
func (c *CreateConstantString) Marshal(io encoding.IO)
func (*CreateConstantString) Name ¶
func (*CreateConstantString) Name() string
type NoOperation ¶
type NoOperation struct{}
func (*NoOperation) ID ¶
func (*NoOperation) ID() uint16
func (*NoOperation) Marshal ¶
func (*NoOperation) Marshal(io encoding.IO)
func (*NoOperation) Name ¶
func (*NoOperation) Name() string
type PlaceBlock ¶
func (*PlaceBlock) ID ¶
func (*PlaceBlock) ID() uint16
func (*PlaceBlock) Marshal ¶
func (p *PlaceBlock) Marshal(io encoding.IO)
func (*PlaceBlock) Name ¶
func (*PlaceBlock) Name() string
type PlaceBlockWithBlockStates ¶
type PlaceBlockWithBlockStates struct {
BlockConstantStringID uint16
BlockStatesConstantStringID uint16
}
func (*PlaceBlockWithBlockStates) ID ¶
func (*PlaceBlockWithBlockStates) ID() uint16
func (*PlaceBlockWithBlockStates) Marshal ¶
func (p *PlaceBlockWithBlockStates) Marshal(io encoding.IO)
func (*PlaceBlockWithBlockStates) Name ¶
func (*PlaceBlockWithBlockStates) Name() string
type PlaceBlockWithBlockStatesDeprecated ¶
type PlaceBlockWithBlockStatesDeprecated struct {
BlockConstantStringID uint16
BlockStatesString string
}
func (*PlaceBlockWithBlockStatesDeprecated) ID ¶
func (*PlaceBlockWithBlockStatesDeprecated) ID() uint16
func (*PlaceBlockWithBlockStatesDeprecated) Marshal ¶
func (p *PlaceBlockWithBlockStatesDeprecated) Marshal(io encoding.IO)
func (*PlaceBlockWithBlockStatesDeprecated) Name ¶
func (*PlaceBlockWithBlockStatesDeprecated) Name() string
type PlaceBlockWithChestData ¶
type PlaceBlockWithChestData struct {
BlockConstantStringID uint16
BlockData uint16
ChestSlots []encoding.ChestSlot
}
func (*PlaceBlockWithChestData) ID ¶
func (*PlaceBlockWithChestData) ID() uint16
func (*PlaceBlockWithChestData) Marshal ¶
func (p *PlaceBlockWithChestData) Marshal(io encoding.IO)
func (*PlaceBlockWithChestData) Name ¶
func (*PlaceBlockWithChestData) Name() string
type PlaceBlockWithCommandBlockData ¶
type PlaceBlockWithCommandBlockData struct {
BlockConstantStringID uint16
BlockData uint16
CommandBlockData encoding.CommandBlockData
}
func (*PlaceBlockWithCommandBlockData) ID ¶
func (*PlaceBlockWithCommandBlockData) ID() uint16
func (*PlaceBlockWithCommandBlockData) Marshal ¶
func (p *PlaceBlockWithCommandBlockData) Marshal(io encoding.IO)
func (*PlaceBlockWithCommandBlockData) Name ¶
func (*PlaceBlockWithCommandBlockData) Name() string
type PlaceBlockWithNBTData ¶
type PlaceBlockWithNBTData struct {
BlockConstantStringID uint16
BlockStatesConstantStringID uint16
NBTData map[string]interface{}
}
func (*PlaceBlockWithNBTData) ID ¶
func (*PlaceBlockWithNBTData) ID() uint16
func (*PlaceBlockWithNBTData) Marshal ¶
func (p *PlaceBlockWithNBTData) Marshal(io encoding.IO)
func (*PlaceBlockWithNBTData) Name ¶
func (*PlaceBlockWithNBTData) Name() string
type PlaceCommandBlockWithCommandBlockData ¶
type PlaceCommandBlockWithCommandBlockData struct {
BlockData uint16
CommandBlockData encoding.CommandBlockData
}
func (*PlaceCommandBlockWithCommandBlockData) ID ¶
func (*PlaceCommandBlockWithCommandBlockData) ID() uint16
func (*PlaceCommandBlockWithCommandBlockData) Marshal ¶
func (p *PlaceCommandBlockWithCommandBlockData) Marshal(io encoding.IO)
func (*PlaceCommandBlockWithCommandBlockData) Name ¶
func (*PlaceCommandBlockWithCommandBlockData) Name() string
type PlaceRuntimeBlock ¶
type PlaceRuntimeBlock struct {
BlockRuntimeID uint16
}
func (*PlaceRuntimeBlock) ID ¶
func (*PlaceRuntimeBlock) ID() uint16
func (*PlaceRuntimeBlock) Marshal ¶
func (p *PlaceRuntimeBlock) Marshal(io encoding.IO)
func (*PlaceRuntimeBlock) Name ¶
func (*PlaceRuntimeBlock) Name() string
type PlaceRuntimeBlockWithChestData ¶
type PlaceRuntimeBlockWithChestData struct {
BlockRuntimeID uint16
ChestSlots []encoding.ChestSlot
}
func (*PlaceRuntimeBlockWithChestData) ID ¶
func (*PlaceRuntimeBlockWithChestData) ID() uint16
func (*PlaceRuntimeBlockWithChestData) Marshal ¶
func (p *PlaceRuntimeBlockWithChestData) Marshal(io encoding.IO)
func (*PlaceRuntimeBlockWithChestData) Name ¶
func (*PlaceRuntimeBlockWithChestData) Name() string
type PlaceRuntimeBlockWithChestDataAndUint32RuntimeID ¶
type PlaceRuntimeBlockWithChestDataAndUint32RuntimeID struct {
BlockRuntimeID uint32
ChestSlots []encoding.ChestSlot
}
func (*PlaceRuntimeBlockWithChestDataAndUint32RuntimeID) ID ¶
func (*PlaceRuntimeBlockWithChestDataAndUint32RuntimeID) ID() uint16
func (*PlaceRuntimeBlockWithChestDataAndUint32RuntimeID) Marshal ¶
func (p *PlaceRuntimeBlockWithChestDataAndUint32RuntimeID) Marshal(io encoding.IO)
func (*PlaceRuntimeBlockWithChestDataAndUint32RuntimeID) Name ¶
func (*PlaceRuntimeBlockWithChestDataAndUint32RuntimeID) Name() string
type PlaceRuntimeBlockWithCommandBlockData ¶
type PlaceRuntimeBlockWithCommandBlockData struct {
BlockRuntimeID uint16
CommandBlockData encoding.CommandBlockData
}
func (*PlaceRuntimeBlockWithCommandBlockData) ID ¶
func (*PlaceRuntimeBlockWithCommandBlockData) ID() uint16
func (*PlaceRuntimeBlockWithCommandBlockData) Marshal ¶
func (p *PlaceRuntimeBlockWithCommandBlockData) Marshal(io encoding.IO)
func (*PlaceRuntimeBlockWithCommandBlockData) Name ¶
func (*PlaceRuntimeBlockWithCommandBlockData) Name() string
type PlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID ¶
type PlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID struct {
BlockRuntimeID uint32
CommandBlockData encoding.CommandBlockData
}
func (*PlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID) Marshal ¶
func (p *PlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID) Marshal(io encoding.IO)
func (*PlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID) Name ¶
func (*PlaceRuntimeBlockWithCommandBlockDataAndUint32RuntimeID) Name() string
type PlaceRuntimeBlockWithUint32RuntimeID ¶
type PlaceRuntimeBlockWithUint32RuntimeID struct {
BlockRuntimeID uint32
}
func (*PlaceRuntimeBlockWithUint32RuntimeID) ID ¶
func (*PlaceRuntimeBlockWithUint32RuntimeID) ID() uint16
func (*PlaceRuntimeBlockWithUint32RuntimeID) Marshal ¶
func (p *PlaceRuntimeBlockWithUint32RuntimeID) Marshal(io encoding.IO)
func (*PlaceRuntimeBlockWithUint32RuntimeID) Name ¶
func (*PlaceRuntimeBlockWithUint32RuntimeID) Name() string
type SetCommandBlockData ¶
type SetCommandBlockData struct {
CommandBlockData encoding.CommandBlockData
}
func (*SetCommandBlockData) ID ¶
func (*SetCommandBlockData) ID() uint16
func (*SetCommandBlockData) Marshal ¶
func (s *SetCommandBlockData) Marshal(io encoding.IO)
func (*SetCommandBlockData) Name ¶
func (*SetCommandBlockData) Name() string
type SubtractXValue ¶
type SubtractXValue struct{}
func (*SubtractXValue) ID ¶
func (*SubtractXValue) ID() uint16
func (*SubtractXValue) Marshal ¶
func (*SubtractXValue) Marshal(io encoding.IO)
func (*SubtractXValue) Name ¶
func (*SubtractXValue) Name() string
type SubtractYValue ¶
type SubtractYValue struct{}
func (*SubtractYValue) ID ¶
func (*SubtractYValue) ID() uint16
func (*SubtractYValue) Marshal ¶
func (*SubtractYValue) Marshal(io encoding.IO)
func (*SubtractYValue) Name ¶
func (*SubtractYValue) Name() string
type SubtractZValue ¶
type SubtractZValue struct{}
func (*SubtractZValue) ID ¶
func (*SubtractZValue) ID() uint16
func (*SubtractZValue) Marshal ¶
func (*SubtractZValue) Marshal(io encoding.IO)
func (*SubtractZValue) Name ¶
func (*SubtractZValue) Name() string
type UseRuntimeIDPool ¶
type UseRuntimeIDPool struct {
PoolID uint8
}
func (*UseRuntimeIDPool) ID ¶
func (*UseRuntimeIDPool) ID() uint16
func (*UseRuntimeIDPool) Marshal ¶
func (p *UseRuntimeIDPool) Marshal(io encoding.IO)
func (*UseRuntimeIDPool) Name ¶
func (*UseRuntimeIDPool) Name() string
Source Files
¶
- add_int16_x_value.go
- add_int16_y_value.go
- add_int16_z_value.go
- add_int16_z_value_0.go
- add_int32_x_value.go
- add_int32_y_value.go
- add_int32_z_value.go
- add_int32_z_value_0.go
- add_int8_x_value.go
- add_int8_y_value.go
- add_int8_z_value.go
- add_x_value.go
- add_y_value.go
- add_z_value.go
- add_z_value_0.go
- assign_debug_data.go
- command.go
- create_constant_string.go
- no_operation.go
- place_block.go
- place_block_with_block_states.go
- place_block_with_block_states_deprecated.go
- place_block_with_chest_data.go
- place_block_with_command_block_data.go
- place_block_with_nbt_data.go
- place_command_block_with_command_block_data.go
- place_runtime_block.go
- place_runtime_block_with_chest_data.go
- place_runtime_block_with_chest_data_and_uint32_runtime_id.go
- place_runtime_block_with_command_block_data.go
- place_runtime_block_with_command_block_data_and_uint32_runtime_id.go
- place_runtime_block_with_uint32_runtime_id.go
- set_command_block_data.go
- subtract_x_value.go
- subtract_y_value.go
- subtract_z_value.go
- terminate.go
- use_runtime_id_pool.go
Click to show internal directories.
Click to hide internal directories.