Documentation ¶
Index ¶
- Constants
- Variables
- func MakeTaskDisplayMode(mode byte) string
- func MakeTaskType(mode byte) string
- func ParseDelayMode(mode string) byte
- func ParseTaskDisplayMode(mode string) byte
- func ParseTaskType(mode string) byte
- func StrDelayMode(mode byte) string
- type Block
- type ChestData
- type ChestSlot
- type CommandBlockData
- type Config
- type ConstBlock
- type DelayConfig
- type Direction
- type DoubleModule
- type Entity
- type FloatPosition
- type GlobalConfig
- type Item
- type MainConfig
- type Module
- type Position
- type RuntimeModule
- type Target
Constants ¶
View Source
const ( DelayModeContinuous = 0 DelayModeDiscrete = 1 DelayModeNone = 2 DelayModeInvalid = 100 )
View Source
const ( TaskTypeSync = 0 TaskTypeAsync = 1 TaskTypeInvalid = 100 )
View Source
const ( TaskDisplayYes = 1 TaskDisplayNo = 0 TaskDisplayInvalid = 30 )
Variables ¶
View Source
var ForwardedBrokSender chan string
Functions ¶
func MakeTaskDisplayMode ¶
func MakeTaskType ¶
func ParseDelayMode ¶
func ParseTaskDisplayMode ¶
func ParseTaskType ¶
func StrDelayMode ¶
Types ¶
type Block ¶
func CreateBlock ¶
type CommandBlockData ¶
type ConstBlock ¶
func (*ConstBlock) Take ¶
func (req *ConstBlock) Take() *Block
type DelayConfig ¶
type DoubleModule ¶
type FloatPosition ¶
type FloatPosition struct {
X, Y, Z float64
}
func (*FloatPosition) TransferInt ¶
func (p *FloatPosition) TransferInt() Position
type GlobalConfig ¶
type MainConfig ¶
type Module ¶
type Module struct { Block *Block CommandBlockData *CommandBlockData //Entity *Entity ChestSlot *ChestSlot Point Position }
type RuntimeModule ¶
type RuntimeModule struct { BlockRuntimeId uint32 // The current total count of runtime ids didn't exceed 65536 CommandBlockData *CommandBlockData ChestData *ChestData Point Position }
Click to show internal directories.
Click to hide internal directories.