Documentation
¶
Index ¶
- type ChangeDifficulty
- type ChangeRecipeBookSettings
- type ChatCommand
- type ChatMessage
- type ClickContainer
- type ClickContainerButton
- type ClientCommand
- type ClientInformation
- type CloseContainer
- type CommandSuggestionsRequest
- type ConfirmTeleportation
- type EditBook
- type InteractEntity
- type JigsawGenerate
- type KeepAlive
- type LockDifficulty
- type MessageAcknowledgement
- type MoveVehicle
- type PaddleBoat
- type PickItem
- type PlaceRecipe
- type PlayerAbilities
- type PlayerAction
- type PlayerCommand
- type PlayerInput
- type PlayerSession
- type PluginMessage
- type Pong
- type ProgramCommandBlock
- type ProgramCommandBlockMinecart
- type ProgramJigsawBlock
- type ProgramStructureBlock
- type QueryBlockEntityTag
- type QueryEntityTag
- type RenameItem
- type ResourcePack
- type SeenAdvancements
- type SelectTrade
- type SetBeaconEffect
- type SetCreativeModeSlot
- type SetHeldItem
- type SetPlayerOnGround
- type SetPlayerPosition
- type SetPlayerPositionAndRotation
- type SetPlayerRotation
- type SetSeenRecipe
- type SwingArm
- type TeleportToEntity
- type UpdateSign
- type UseItem
- type UseItemOn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChangeDifficulty ¶
type ChangeDifficulty struct {
NewDifficulty byte // TODO: Enum
}
type ChatCommand ¶
type ChatMessage ¶
type ClickContainer ¶
type ClickContainerButton ¶
type ClientCommand ¶
type ClientInformation ¶
type CloseContainer ¶
type CloseContainer struct {
WindowID uint8
}
type ConfirmTeleportation ¶
type InteractEntity ¶
type JigsawGenerate ¶
type JigsawGenerate struct {
Location common.BlockPosition
Levels common.VarInt
KeepJigsaws bool
}
type LockDifficulty ¶
type LockDifficulty struct {
Locked bool
}
type MessageAcknowledgement ¶
type MoveVehicle ¶
type PaddleBoat ¶
type PlaceRecipe ¶
type PlaceRecipe struct {
WindowID uint8
Recipe common.Identifier
MakeAll bool
}
type PlayerAbilities ¶
type PlayerAbilities struct {
Flags uint8 // TODO: Enum
}
type PlayerAction ¶
type PlayerCommand ¶
type PlayerInput ¶
type PluginMessage ¶
type PluginMessage struct {
Channel common.Identifier
Data []byte
}
type ProgramCommandBlock ¶
type ProgramJigsawBlock ¶
type ProgramJigsawBlock struct {
Location common.BlockPosition
Name common.Identifier
Target common.Identifier
Pool common.Identifier
FinalState string
JointType string
}
type ProgramStructureBlock ¶
type ProgramStructureBlock struct {
Location common.BlockPosition
Action common.VarInt // TODO: Enum
Mode common.VarInt // TODO: Enum
Name string
OffsetX byte
OffsetY byte
OffsetZ byte
SizeX byte
SizeY byte
SizeZ byte
Mirror common.VarInt // TODO: Enum
Rotation common.VarInt // TODO: Enum
Metadata string
Integrity float32
Seed common.VarLong
Flags byte // TODO: Enum
}
type QueryBlockEntityTag ¶
type QueryBlockEntityTag struct {
TransactionID common.VarInt
Location common.BlockPosition
}
type QueryEntityTag ¶
type RenameItem ¶
type RenameItem struct {
ItemName string
}
type ResourcePack ¶
type SeenAdvancements ¶
type SeenAdvancements struct {
Action common.VarInt // TODO: Enum
TabID *common.Identifier
}
type SelectTrade ¶
type SetBeaconEffect ¶
type SetCreativeModeSlot ¶
type SetHeldItem ¶
type SetHeldItem struct {
Slot int16
}
type SetPlayerOnGround ¶
type SetPlayerOnGround struct {
OnGround bool
}
type SetPlayerPosition ¶
type SetPlayerRotation ¶
type SetSeenRecipe ¶
type SetSeenRecipe struct {
RecipeID common.Identifier
}
type TeleportToEntity ¶
type UpdateSign ¶
Click to show internal directories.
Click to hide internal directories.