SYMBOL INDEX (988 symbols across 102 files) FILE: cmd/gomine/main.go function main (line 13) | func main() { function must (line 37) | func must(err error) { function GetServerPath (line 44) | func GetServerPath() (string, error) { function SetUpDirectories (line 50) | func SetUpDirectories(path string) { FILE: cmd/gomine/shared_server_test.go function TestSharedServer (line 11) | func TestSharedServer(t *testing.T) { function StartServer (line 19) | func StartServer(port uint16) { FILE: commands/arguments/argument.go type Argument (line 5) | type Argument struct method GetName (line 16) | func (argument *Argument) GetName() string { method SetName (line 21) | func (argument *Argument) SetName(name string) { method IsOptional (line 26) | func (argument *Argument) IsOptional() bool { method SetOptional (line 31) | func (argument *Argument) SetOptional(value bool) { method GetInputAmount (line 36) | func (argument *Argument) GetInputAmount() int { method SetInputAmount (line 41) | func (argument *Argument) SetInputAmount(amount int) { method SetOutput (line 46) | func (argument *Argument) SetOutput(value interface{}) { method GetOutput (line 51) | func (argument *Argument) GetOutput() interface{} { method ShouldMerge (line 56) | func (argument *Argument) ShouldMerge() bool { method IsValidValue (line 61) | func (argument *Argument) IsValidValue(value string) bool { method ConvertValue (line 66) | func (argument *Argument) ConvertValue(value string) interface{} { function IsInt (line 71) | func IsInt(value string) bool { function IsFloat (line 77) | func IsFloat(value string) bool { FILE: commands/arguments/basic.go function NewFloat (line 9) | func NewFloat(name string, optional bool) *Argument { function NewInt (line 19) | func NewInt(name string, optional bool) *Argument { function NewString (line 29) | func NewString(name string, optional bool) *Argument { function NewStringEnum (line 39) | func NewStringEnum(name string, optional bool, options []string) *Argume... FILE: commands/command.go type Command (line 12) | type Command struct method GetUsage (line 35) | func (command *Command) GetUsage() string { method ExemptFromPermissionCheck (line 41) | func (command *Command) ExemptFromPermissionCheck(value bool) { method IsPermissionChecked (line 46) | func (command *Command) IsPermissionChecked() bool { method GetName (line 51) | func (command *Command) GetName() string { method GetDescription (line 56) | func (command *Command) GetDescription() string { method SetDescription (line 61) | func (command *Command) SetDescription(description string) { method SetPermission (line 66) | func (command *Command) SetPermission(permission string) { method GetPermission (line 71) | func (command *Command) GetPermission() string { method GetAliases (line 76) | func (command *Command) GetAliases() []string { method GetArguments (line 81) | func (command *Command) GetArguments() []*arguments.Argument { method SetArguments (line 86) | func (command *Command) SetArguments(arguments []*arguments.Argument) { method AppendArgument (line 91) | func (command *Command) AppendArgument(argument *arguments.Argument) { method parseUsage (line 98) | func (command *Command) parseUsage() { method Execute (line 125) | func (command *Command) Execute(sender Sender, commandArgs []string) { method parse (line 133) | func (command *Command) parse(sender Sender, commandArgs []string) ([]... method parseArgsAndExecute (line 190) | func (command *Command) parseArgsAndExecute(sender Sender) { function NewCommand (line 26) | func NewCommand(name string, description string, permission string, alia... FILE: commands/manager.go type Manager (line 7) | type Manager struct method IsCommandRegistered (line 19) | func (holder *Manager) IsCommandRegistered(commandName string) bool { method DeregisterCommand (line 26) | func (holder *Manager) DeregisterCommand(commandName string) bool { method GetCommand (line 40) | func (holder *Manager) GetCommand(commandName string) (*Command, error) { method GetCommandByAlias (line 49) | func (holder *Manager) GetCommandByAlias(aliasName string) (*Command, ... method GetCommandByName (line 57) | func (holder *Manager) GetCommandByName(commandName string) (*Command,... method RegisterCommand (line 66) | func (holder *Manager) RegisterCommand(command *Command) { method AliasExists (line 74) | func (holder *Manager) AliasExists(aliasName string) bool { method registerAlias (line 80) | func (holder *Manager) registerAlias(aliasName string, command *Comman... method deregisterAlias (line 85) | func (holder *Manager) deregisterAlias(aliasName string) { function NewManager (line 13) | func NewManager() *Manager { FILE: commands/selectors/all_entities.go type AllEntitiesSelector (line 3) | type AllEntitiesSelector struct function NewAllEntitiesSelector (line 7) | func NewAllEntitiesSelector() *AllEntitiesSelector { FILE: commands/selectors/all_players.go type AllPlayersSelector (line 3) | type AllPlayersSelector struct function NewAllPlayersSelector (line 7) | func NewAllPlayersSelector() *AllPlayersSelector { FILE: commands/selectors/nearest_player.go type NearestPlayerSelector (line 3) | type NearestPlayerSelector struct function NewNearestPlayerSelector (line 7) | func NewNearestPlayerSelector() *NearestPlayerSelector { FILE: commands/selectors/random_player.go type RandomPlayerSelector (line 3) | type RandomPlayerSelector struct function NewRandomPlayerSelector (line 7) | func NewRandomPlayerSelector() *RandomPlayerSelector { FILE: commands/selectors/selector.go constant NearestPlayer (line 4) | NearestPlayer = "@p" constant RandomPlayer (line 5) | RandomPlayer = "@r" constant AllPlayers (line 6) | AllPlayers = "@a" constant AllEntities (line 7) | AllEntities = "@e" constant Self (line 8) | Self = "@s" type TargetSelector (line 11) | type TargetSelector struct function NewTargetSelector (line 16) | func NewTargetSelector(variable string) *TargetSelector { FILE: commands/selectors/self.go type SelfSelector (line 3) | type SelfSelector struct function NewSelfSelector (line 7) | func NewSelfSelector() *SelfSelector { FILE: commands/sender.go type Sender (line 3) | type Sender interface FILE: default_commands.go function NewTest (line 10) | func NewTest(_ *Server) *commands.Command { function NewList (line 21) | func NewList(server *Server) *commands.Command { function NewPing (line 38) | func NewPing() *commands.Command { function NewStop (line 50) | func NewStop(server *Server) *commands.Command { FILE: items/conversion.go function GetKey (line 28) | func GetKey(id int16, data int16) string { function FromKey (line 35) | func FromKey(key string) (int16, int16) { FILE: items/enchantments/enchantable.go type Enchantable (line 3) | type Enchantable struct FILE: items/enchantments/enchantment.go type Type (line 6) | type Type struct method GetStringId (line 14) | func (t Type) GetStringId() string { method GetId (line 20) | func (t Type) GetId() int16 { type Instance (line 28) | type Instance struct FILE: items/enchantments/enchantment_ids.go constant Protection (line 4) | Protection byte = iota constant FireProtection (line 5) | FireProtection constant FeatherFalling (line 6) | FeatherFalling constant BlastProtection (line 7) | BlastProtection constant ProjectileProtection (line 8) | ProjectileProtection constant Thorns (line 9) | Thorns constant Respiration (line 10) | Respiration constant DepthStrider (line 11) | DepthStrider constant AquaAffinity (line 12) | AquaAffinity constant Sharpness (line 13) | Sharpness constant Smite (line 14) | Smite constant BaneOfArthropods (line 15) | BaneOfArthropods constant Knockback (line 16) | Knockback constant FireAspect (line 17) | FireAspect constant Looting (line 18) | Looting constant Efficiency (line 19) | Efficiency constant SilkTouch (line 20) | SilkTouch constant Unbreaking (line 21) | Unbreaking constant Fortune (line 22) | Fortune constant Power (line 23) | Power constant Punch (line 24) | Punch constant Flame (line 25) | Flame constant Infinity (line 26) | Infinity constant LuckOfTheSea (line 27) | LuckOfTheSea constant Lure (line 28) | Lure constant FrostWalker (line 29) | FrostWalker constant Mending (line 30) | Mending FILE: items/enchantments/manager.go type Manager (line 5) | type Manager struct method RegisterDefaults (line 35) | func (manager *Manager) RegisterDefaults() { function init (line 21) | func init() { function NewManager (line 28) | func NewManager() *Manager { FILE: items/inventory/inventory.go type Inventory (line 13) | type Inventory struct method IsEmpty (line 44) | func (inventory *Inventory) IsEmpty(slot int) bool { method GetItem (line 59) | func (inventory *Inventory) GetItem(slot int) (*items.Stack, error) { method SetItem (line 74) | func (inventory *Inventory) SetItem(stack *items.Stack, slot int) error { method AddItem (line 89) | func (inventory *Inventory) AddItem(item *items.Stack) error { method RemoveItem (line 125) | func (inventory *Inventory) RemoveItem(searched *items.Stack) bool { method ClearSlot (line 153) | func (inventory *Inventory) ClearSlot(slot int) error { method GetAll (line 169) | func (inventory *Inventory) GetAll() []*items.Stack { method SetAll (line 179) | func (inventory *Inventory) SetAll(items []*items.Stack) { method Contains (line 189) | func (inventory *Inventory) Contains(searched *items.Stack) bool { method String (line 208) | func (inventory *Inventory) String() string { function NewInventory (line 36) | func NewInventory(size int) *Inventory { FILE: items/inventory/inventory_test.go function Test (line 9) | func Test(t *testing.T) { FILE: items/inventory/io/inventory_action_io.go constant ContainerSource (line 9) | ContainerSource = iota + 0 constant WorldSource (line 10) | WorldSource = 2 type InventoryActionIO (line 14) | type InventoryActionIO struct method WriteToBuffer (line 27) | func (IO *InventoryActionIO) WriteToBuffer(bs *packets.MinecraftStream) { method ReadFromBuffer (line 44) | func (IO *InventoryActionIO) ReadFromBuffer(bs *packets.MinecraftStrea... function NewInventoryActionIO (line 23) | func NewInventoryActionIO() InventoryActionIO{ FILE: items/inventory/io/inventory_action_io_list.go type InventoryActionIOList (line 7) | type InventoryActionIOList struct method GetCount (line 15) | func (IOList *InventoryActionIOList) GetCount() int { method PutAction (line 19) | func (IOList *InventoryActionIOList) PutAction(io InventoryActionIO) { method WriteToBuffer (line 23) | func (IOList *InventoryActionIOList) WriteToBuffer(bs *packets.Minecra... method ReadFromBuffer (line 31) | func (IOList *InventoryActionIOList) ReadFromBuffer(bs *packets.Minecr... function NewInventoryActionIOList (line 11) | func NewInventoryActionIOList() *InventoryActionIOList{ FILE: items/item_test.go function Test (line 8) | func Test(t *testing.T) { FILE: items/manager.go type Manager (line 8) | type Manager struct method Register (line 43) | func (registry *Manager) Register(t Type, registerCreative bool) { method RegisterMultiple (line 55) | func (registry *Manager) RegisterMultiple(types []Type, registerCreati... method RegisterCreativeType (line 68) | func (registry *Manager) RegisterCreativeType(t Type) { method IsCreativeTypeRegistered (line 74) | func (registry *Manager) IsCreativeTypeRegistered(stringId string) bool { method DeregisterCreativeType (line 83) | func (registry *Manager) DeregisterCreativeType(stringId string) bool { method GetCreativeTypes (line 91) | func (registry *Manager) GetCreativeTypes() map[string]Type { method IsRegistered (line 98) | func (registry *Manager) IsRegistered(stringId string) bool { method Deregister (line 106) | func (registry *Manager) Deregister(stringId string) bool { method Get (line 120) | func (registry *Manager) Get(stringId string, count int) (*Stack, bool) { method GetTypes (line 130) | func (registry *Manager) GetTypes() map[string]Type { method RegisterDefaults (line 137) | func (registry *Manager) RegisterDefaults() { function init (line 26) | func init() { function NewManager (line 33) | func NewManager() *Manager { FILE: items/nbt_tag_names.go constant Display (line 4) | Display = "display" constant DisplayName (line 5) | DisplayName = "Name" constant DisplayLore (line 6) | DisplayLore = "Lore" constant Ench (line 8) | Ench = "ench" constant EnchId (line 9) | EnchId = "id" constant EnchLevel (line 10) | EnchLevel = "lvl" FILE: items/stack.go type Stack (line 13) | type Stack struct method GetDisplayName (line 50) | func (stack Stack) GetDisplayName() string { method String (line 60) | func (stack Stack) String() string { method CanStackOn (line 70) | func (stack Stack) CanStackOn(stack2 *Stack) (bool, int) { method StackOn (line 89) | func (stack *Stack) StackOn(stack2 *Stack) (success bool, notZero bool... method Equals (line 103) | func (stack Stack) Equals(stack2 *Stack) bool { method EqualsExact (line 110) | func (stack Stack) EqualsExact(stack2 *Stack) bool { method EqualsLore (line 116) | func (stack Stack) EqualsLore(stack2 *Stack) bool { method EqualsEnchantments (line 130) | func (stack Stack) EqualsEnchantments(stack2 *Stack) bool { FILE: items/type.go type Type (line 12) | type Type struct method GetName (line 68) | func (t Type) GetName() string { method GetId (line 75) | func (t Type) GetId() string { method IsBreakable (line 82) | func (t Type) IsBreakable() bool { method GetMaximumStackSize (line 89) | func (t Type) GetMaximumStackSize() int { method String (line 96) | func (t Type) String() string { method GetAuxValue (line 102) | func (t Type) GetAuxValue(stack *Stack, data int16) int32 { method Equals (line 112) | func (t Type) Equals(t2 Type) bool { function NewType (line 45) | func NewType(stringId string) Type { function NewBreakable (line 60) | func NewBreakable(stringId string) Type { function ParseNBT (line 119) | func ParseNBT(compound *gonbt.Compound, stack *Stack) { function EmitNBT (line 132) | func EmitNBT(compound *gonbt.Compound, stack *Stack) { FILE: net/info/info.go constant LatestProtocol (line 4) | LatestProtocol = 332 constant LatestGameVersion (line 5) | LatestGameVersion = "v1.9.0" constant LatestGameVersionNetwork (line 6) | LatestGameVersionNetwork = "1.9.0" type PacketIdList (line 9) | type PacketIdList type PacketName (line 11) | type PacketName constant LoginPacket (line 13) | LoginPacket PacketName = "LoginPacket" constant PlayStatusPacket (line 14) | PlayStatusPacket PacketName = "PlayStatusPacket" constant ServerHandshakePacket (line 15) | ServerHandshakePacket PacketName = "ServerHandshakePacket" constant ClientHandshakePacket (line 16) | ClientHandshakePacket PacketName = "ClientHandshakePacket" constant DisconnectPacket (line 17) | DisconnectPacket PacketName = "DisconnectPacket" constant ResourcePackInfoPacket (line 18) | ResourcePackInfoPacket PacketName = "ResourcePackInfoPacket" constant ResourcePackStackPacket (line 19) | ResourcePackStackPacket PacketName = "ResourcePackStackPacket" constant ResourcePackClientResponsePacket (line 20) | ResourcePackClientResponsePacket PacketName = "ResourcePackClientRespon... constant TextPacket (line 21) | TextPacket PacketName = "TextPacket" constant SetTimePacket (line 22) | SetTimePacket PacketName = "SetTimePacket" constant StartGamePacket (line 23) | StartGamePacket PacketName = "StartGamePacket" constant AddPlayerPacket (line 24) | AddPlayerPacket PacketName = "AddPlayerPacket" constant AddEntityPacket (line 25) | AddEntityPacket PacketName = "AddEntityPacket" constant RemoveEntityPacket (line 26) | RemoveEntityPacket PacketName = "RemoveEntityPacket" constant AddItemEntityPacket (line 27) | AddItemEntityPacket PacketName = "AddItemEntityPacket" constant AddHangingEntityPacket (line 28) | AddHangingEntityPacket PacketName = "AddHangingEntityPacket" constant TakeItemEntityPacket (line 29) | TakeItemEntityPacket PacketName = "TakeItemEntityPacket" constant MoveEntityPacket (line 30) | MoveEntityPacket PacketName = "MoveEntityPacket" constant MovePlayerPacket (line 31) | MovePlayerPacket PacketName = "MovePlayerPacket" constant RiderJumpPacket (line 32) | RiderJumpPacket PacketName = "RiderJumpPacket" constant UpdateBlockPacket (line 33) | UpdateBlockPacket PacketName = "UpdateBlockPacket" constant AddPaintingPacket (line 34) | AddPaintingPacket PacketName = "AddPaintingPacket" constant ExplodePacket (line 35) | ExplodePacket PacketName = "ExplodePacket" constant LevelSoundEventPacket (line 36) | LevelSoundEventPacket PacketName = "LevelSoundEventPacket" constant LevelEventPacket (line 37) | LevelEventPacket PacketName = "LevelEventPacket" constant BlockEventPacket (line 38) | BlockEventPacket PacketName = "BlockEventPacket" constant EntityEventPacket (line 39) | EntityEventPacket PacketName = "EntityEventPacket" constant MobEffectPacket (line 40) | MobEffectPacket PacketName = "MobEffectPacket" constant UpdateAttributesPacket (line 41) | UpdateAttributesPacket PacketName = "UpdateAttributesPacket" constant InventoryTransactionPacket (line 42) | InventoryTransactionPacket PacketName = "InventoryTransactionPacket" constant MobEquipmentPacket (line 43) | MobEquipmentPacket PacketName = "MobEquipmentPacket" constant MobArmorEquipmentPacket (line 44) | MobArmorEquipmentPacket PacketName = "MobArmorEquipmentPacket" constant InteractPacket (line 45) | InteractPacket PacketName = "InteractPacket" constant BlockPickRequestPacket (line 46) | BlockPickRequestPacket PacketName = "BlockPickRequestPacket" constant EntityPickRequestPacket (line 47) | EntityPickRequestPacket PacketName = "EntityPickRequestPacket" constant PlayerActionPacket (line 48) | PlayerActionPacket PacketName = "PlayerActionPacket" constant EntityFallPacket (line 49) | EntityFallPacket PacketName = "EntityFallPacket" constant HurtArmorPacket (line 50) | HurtArmorPacket PacketName = "HurtArmorPacket" constant SetEntityDataPacket (line 51) | SetEntityDataPacket PacketName = "SetEntityDataPacket" constant SetEntityMotionPacket (line 52) | SetEntityMotionPacket PacketName = "SetEntityMotionPacket" constant SetEntityLinkPacket (line 53) | SetEntityLinkPacket PacketName = "SetEntityLinkPacket" constant SetHealthPacket (line 54) | SetHealthPacket PacketName = "SetHealthPacket" constant SetSpawnPositionPacket (line 55) | SetSpawnPositionPacket PacketName = "SetSpawnPositionPacket" constant AnimatePacket (line 56) | AnimatePacket PacketName = "AnimatePacket" constant RespawnPacket (line 57) | RespawnPacket PacketName = "RespawnPacket" constant ContainerOpenPacket (line 58) | ContainerOpenPacket PacketName = "ContainerOpenPacket" constant ContainerClosePacket (line 59) | ContainerClosePacket PacketName = "ContainerClosePacket" constant PlayerHotbarPacket (line 60) | PlayerHotbarPacket PacketName = "PlayerHotbarPacket" constant InventoryContentPacket (line 61) | InventoryContentPacket PacketName = "InventoryContentPacket" constant InventorySlotPacket (line 62) | InventorySlotPacket PacketName = "InventorySlotPacket" constant ContainerSetDataPacket (line 63) | ContainerSetDataPacket PacketName = "ContainerSetDataPacket" constant CraftingDataPacket (line 64) | CraftingDataPacket PacketName = "CraftingDataPacket" constant CraftingEventPacket (line 65) | CraftingEventPacket PacketName = "CraftingEventPacket" constant GuiDataPickItemPacket (line 66) | GuiDataPickItemPacket PacketName = "GuiDataPickItemPacket" constant AdventureSettingsPacket (line 67) | AdventureSettingsPacket PacketName = "AdventureSettingsPacket" constant BlockEntityDataPacket (line 68) | BlockEntityDataPacket PacketName = "BlockEntityDataPacket" constant PlayerInputPacket (line 69) | PlayerInputPacket PacketName = "PlayerInputPacket" constant FullChunkDataPacket (line 70) | FullChunkDataPacket PacketName = "FullChunkDataPacket" constant SetCommandsEnabledPacket (line 71) | SetCommandsEnabledPacket PacketName = "SetCommandsEnabledPacket" constant SetDifficultyPacket (line 72) | SetDifficultyPacket PacketName = "SetDifficultyPacket" constant ChangeDimensionPacket (line 73) | ChangeDimensionPacket PacketName = "ChangeDimensionPacket" constant SetPlayerGameTypePacket (line 74) | SetPlayerGameTypePacket PacketName = "SetPlayerGameTypePacket" constant PlayerListPacket (line 75) | PlayerListPacket PacketName = "PlayerListPacket" constant SimpleEventPacket (line 76) | SimpleEventPacket PacketName = "SimpleEventPacket" constant EventPacket (line 77) | EventPacket PacketName = "EventPacket" constant SpawnExperienceOrbPacket (line 78) | SpawnExperienceOrbPacket PacketName = "SpawnExperienceOrbPacket" constant ClientboundMapItemDataPacket (line 79) | ClientboundMapItemDataPacket PacketName = "ClientboundMapItemDataPa... constant MapInfoRequestPacket (line 80) | MapInfoRequestPacket PacketName = "MapInfoRequestPacket" constant RequestChunkRadiusPacket (line 81) | RequestChunkRadiusPacket PacketName = "RequestChunkRadiusPacket" constant ChunkRadiusUpdatedPacket (line 82) | ChunkRadiusUpdatedPacket PacketName = "ChunkRadiusUpdatedPacket" constant ItemFrameDropItemPacket (line 83) | ItemFrameDropItemPacket PacketName = "ItemFrameDropItemPacket" constant GameRulesChangedPacket (line 84) | GameRulesChangedPacket PacketName = "GameRulesChangedPacket" constant CameraPacket (line 85) | CameraPacket PacketName = "CameraPacket" constant BossEventPacket (line 86) | BossEventPacket PacketName = "BossEventPacket" constant ShowCreditsPacket (line 87) | ShowCreditsPacket PacketName = "ShowCreditsPacket" constant AvailableCommandsPacket (line 88) | AvailableCommandsPacket PacketName = "AvailableCommandsPacket" constant CommandRequestPacket (line 89) | CommandRequestPacket PacketName = "CommandRequestPacket" constant CommandBlockUpdatePacket (line 90) | CommandBlockUpdatePacket PacketName = "CommandBlockUpdatePacket" constant CommandOutputPacket (line 91) | CommandOutputPacket PacketName = "CommandOutputPacket" constant UpdateTradePacket (line 92) | UpdateTradePacket PacketName = "UpdateTradePacket" constant UpdateEquipPacket (line 93) | UpdateEquipPacket PacketName = "UpdateEquipPacket" constant ResourcePackDataInfoPacket (line 94) | ResourcePackDataInfoPacket PacketName = "ResourcePackDataInfoPacket" constant ResourcePackChunkDataPacket (line 95) | ResourcePackChunkDataPacket PacketName = "ResourcePackChunkDataPac... constant ResourcePackChunkRequestPacket (line 96) | ResourcePackChunkRequestPacket PacketName = "ResourcePackChunkRequest... constant TransferPacket (line 97) | TransferPacket PacketName = "TransferPacket" constant PlaySoundPacket (line 98) | PlaySoundPacket PacketName = "PlaySoundPacket" constant StopSoundPacket (line 99) | StopSoundPacket PacketName = "StopSoundPacket" constant SetTitlePacket (line 100) | SetTitlePacket PacketName = "SetTitlePacket" constant AddBehaviorTreePacket (line 101) | AddBehaviorTreePacket PacketName = "AddBehaviorTreePacket" constant StructureBlockUpdatePacket (line 102) | StructureBlockUpdatePacket PacketName = "StructureBlockUpdatePacket" constant ShowStoreOfferPacket (line 103) | ShowStoreOfferPacket PacketName = "ShowStoreOfferPacket" constant PurchaseReceiptPacket (line 104) | PurchaseReceiptPacket PacketName = "PurchaseReceiptPacket" constant PlayerSkinPacket (line 105) | PlayerSkinPacket PacketName = "PlayerSkinPacket" constant SubClientLoginPacket (line 106) | SubClientLoginPacket PacketName = "SubClientLoginPacket" constant WSConnectPacket (line 107) | WSConnectPacket PacketName = "WSConnectPacket" constant SetLastHurtByPacket (line 108) | SetLastHurtByPacket PacketName = "SetLastHurtByPacket" constant BookEditPacket (line 109) | BookEditPacket PacketName = "BookEditPacket" constant NpcRequestPacket (line 110) | NpcRequestPacket PacketName = "NpcRequestPacket" constant PhotoTransferPacket (line 111) | PhotoTransferPacket PacketName = "PhotoTransferPacket" constant ModalFormRequestPacket (line 112) | ModalFormRequestPacket PacketName = "ModalFormRequestPacket" constant ModalFormResponsePacket (line 113) | ModalFormResponsePacket PacketName = "ModalFormResponsePacket" constant ServerSettingsRequestPacket (line 114) | ServerSettingsRequestPacket PacketName = "ServerSettingsRequestPac... constant ServerSettingsResponsePacket (line 115) | ServerSettingsResponsePacket PacketName = "ServerSettingsResponsePa... constant ShowProfilePacket (line 116) | ShowProfilePacket PacketName = "ShowProfilePacket" constant SetDefaultGameTypePacket (line 117) | SetDefaultGameTypePacket PacketName = "SetDefaultGameTypePacket" constant NetworkChunkPublisherUpdatePacket (line 118) | NetworkChunkPublisherUpdatePacket PacketName = "NetworkChunkPublisherUpd... FILE: net/manager.go type SessionManager (line 12) | type SessionManager struct method GetSessions (line 26) | func (manager *SessionManager) GetSessions() map[string]*MinecraftSess... method AddMinecraftSession (line 31) | func (manager *SessionManager) AddMinecraftSession(session *MinecraftS... method RemoveMinecraftSession (line 41) | func (manager *SessionManager) RemoveMinecraftSession(session *Minecra... method GetSessionCount (line 53) | func (manager *SessionManager) GetSessionCount() int { method HasSession (line 58) | func (manager *SessionManager) HasSession(name string) bool { method GetSession (line 67) | func (manager *SessionManager) GetSession(name string) (*MinecraftSess... method HasSessionWithRakNetSession (line 75) | func (manager *SessionManager) HasSessionWithRakNetSession(rakNetSessi... method GetSessionByRakNetSession (line 84) | func (manager *SessionManager) GetSessionByRakNetSession(rakNetSession... method HasSessionWithXUID (line 92) | func (manager *SessionManager) HasSessionWithXUID(xuid string) bool { method GetSessionByXUID (line 101) | func (manager *SessionManager) GetSessionByXUID(xuid string) (*Minecra... method HasSessionWithUUID (line 109) | func (manager *SessionManager) HasSessionWithUUID(uuid uuid.UUID) bool { method GetSessionByUUID (line 118) | func (manager *SessionManager) GetSessionByUUID(uuid uuid.UUID) (*Mine... function NewSessionManager (line 21) | func NewSessionManager() *SessionManager { FILE: net/minecraft_packet_batch.go constant McpeFlag (line 16) | McpeFlag = 0xFE type MinecraftPacketBatch (line 18) | type MinecraftPacketBatch struct method Decode (line 42) | func (batch *MinecraftPacketBatch) Decode() { method Encode (line 77) | func (batch *MinecraftPacketBatch) Encode() { method fetchPackets (line 94) | func (batch *MinecraftPacketBatch) fetchPackets(packetData [][]byte) { method peekProtocol (line 113) | func (batch *MinecraftPacketBatch) peekProtocol(packetData []byte) int... method encrypt (line 129) | func (batch *MinecraftPacketBatch) encrypt(d []byte) []byte { method decrypt (line 143) | func (batch *MinecraftPacketBatch) decrypt() { method putPackets (line 153) | func (batch *MinecraftPacketBatch) putPackets(stream *binutils.Stream) { method compress (line 162) | func (batch *MinecraftPacketBatch) compress(stream *binutils.Stream) [... method decompress (line 172) | func (batch *MinecraftPacketBatch) decompress() error { method AddPacket (line 192) | func (batch *MinecraftPacketBatch) AddPacket(packet packets.IPacket) { method GetPackets (line 198) | func (batch *MinecraftPacketBatch) GetPackets() []packets.IPacket { function NewMinecraftPacketBatch (line 27) | func NewMinecraftPacketBatch(session *MinecraftSession) *MinecraftPacket... FILE: net/minecraft_session.go type MinecraftSession (line 21) | type MinecraftSession struct method SetData (line 57) | func (session *MinecraftSession) SetData(permissionManager *permission... method GetPlayer (line 87) | func (session *MinecraftSession) GetPlayer() *players.Player { method SetPlayer (line 93) | func (session *MinecraftSession) SetPlayer(player *players.Player) { method GetName (line 98) | func (session *MinecraftSession) GetName() string { method GetDisplayName (line 106) | func (session *MinecraftSession) GetDisplayName() string { method HasSpawned (line 114) | func (session *MinecraftSession) HasSpawned() bool { method SetViewDistance (line 119) | func (session *MinecraftSession) SetViewDistance(distance int32) { method GetViewDistance (line 124) | func (session *MinecraftSession) GetViewDistance() int32 { method GetChunkLoader (line 129) | func (session *MinecraftSession) GetChunkLoader() *worlds.Loader { method GetPlatform (line 134) | func (session *MinecraftSession) GetPlatform() int32 { method GetProtocolNumber (line 139) | func (session *MinecraftSession) GetProtocolNumber() int32 { method GetGameVersion (line 144) | func (session *MinecraftSession) GetGameVersion() string { method GetSession (line 149) | func (session *MinecraftSession) GetSession() *server.Session { method GetPing (line 154) | func (session *MinecraftSession) GetPing() int64 { method GetUUID (line 159) | func (session *MinecraftSession) GetUUID() uuid.UUID { method GetXUID (line 164) | func (session *MinecraftSession) GetXUID() string { method SetLanguage (line 169) | func (session *MinecraftSession) SetLanguage(language string) { method GetLanguage (line 174) | func (session *MinecraftSession) GetLanguage() string { method GetClientId (line 179) | func (session *MinecraftSession) GetClientId() int { method GetEncryptionHandler (line 184) | func (session *MinecraftSession) GetEncryptionHandler() *utils.Encrypt... method UsesEncryption (line 189) | func (session *MinecraftSession) UsesEncryption() bool { method EnableEncryption (line 194) | func (session *MinecraftSession) EnableEncryption() { method IsXBOXLiveAuthenticated (line 201) | func (session *MinecraftSession) IsXBOXLiveAuthenticated() bool { method SetXBOXLiveAuthenticated (line 206) | func (session *MinecraftSession) SetXBOXLiveAuthenticated(value bool) { method SendMessage (line 211) | func (session *MinecraftSession) SendMessage(message ...interface{}) { method GetPermissionGroup (line 216) | func (session *MinecraftSession) GetPermissionGroup() *permissions.Gro... method SetPermissionGroup (line 221) | func (session *MinecraftSession) SetPermissionGroup(group *permissions... method HasPermission (line 226) | func (session *MinecraftSession) HasPermission(permission string) bool { method AddPermission (line 236) | func (session *MinecraftSession) AddPermission(permission *permissions... method RemovePermission (line 246) | func (session *MinecraftSession) RemovePermission(permission string) b... method SendSkin (line 255) | func (session *MinecraftSession) SendSkin(target *MinecraftSession) { method SendPacket (line 261) | func (session *MinecraftSession) SendPacket(packet packets.IPacket) { method SendBatch (line 272) | func (session *MinecraftSession) SendBatch(batch *MinecraftPacketBatch) { method HandlePacket (line 280) | func (session *MinecraftSession) HandlePacket(packet packets.IPacket) { method Close (line 304) | func (session *MinecraftSession) Close(reason string, hideDisconnectio... method Kick (line 323) | func (session *MinecraftSession) Kick(reason string, hideDisconnection... method SyncMove (line 335) | func (session *MinecraftSession) SyncMove(x, y, z float64, pitch, yaw,... method Tick (line 339) | func (session *MinecraftSession) Tick() { function NewMinecraftSession (line 52) | func NewMinecraftSession(adapter *NetworkAdapter, session *server.Sessio... FILE: net/network_adapter.go type NetworkAdapter (line 12) | type NetworkAdapter struct method GetRakLibManager (line 42) | func (adapter *NetworkAdapter) GetRakLibManager() *server.Manager { method HandlePacket (line 47) | func (adapter *NetworkAdapter) HandlePacket(session *MinecraftSession,... method GetSession (line 65) | func (adapter *NetworkAdapter) GetSession(address string, port uint16)... method SendPacket (line 71) | func (adapter *NetworkAdapter) SendPacket(pk packets.IPacket, session ... method SendBatch (line 79) | func (adapter *NetworkAdapter) SendBatch(batch *MinecraftPacketBatch, ... function NewNetworkAdapter (line 19) | func NewNetworkAdapter(packetManager protocol2.IPacketManager, sessionMa... FILE: net/packet_handler.go type PacketHandler (line 10) | type PacketHandler struct method SetPriority (line 23) | func (handler *PacketHandler) SetPriority(priority int) bool { method GetPriority (line 32) | func (handler *PacketHandler) GetPriority() int { function NewPacketHandler (line 17) | func NewPacketHandler(function func(packet packets.IPacket, session *Min... FILE: net/packets/bedrock/add_entity.go type AddEntityPacket (line 10) | type AddEntityPacket struct method Encode (line 27) | func (pk *AddEntityPacket) Encode() { method Decode (line 39) | func (pk *AddEntityPacket) Decode() { function NewAddEntityPacket (line 23) | func NewAddEntityPacket() *AddEntityPacket { FILE: net/packets/bedrock/add_player.go type AddPlayerPacket (line 11) | type AddPlayerPacket struct method Encode (line 37) | func (pk *AddPlayerPacket) Encode() { method Decode (line 64) | func (pk *AddPlayerPacket) Decode() { function NewAddPlayerPacket (line 33) | func NewAddPlayerPacket() *AddPlayerPacket { FILE: net/packets/bedrock/animate.go constant SwingArm (line 9) | SwingArm = 1 constant StopSleeping (line 10) | StopSleeping = 3 constant CriticalHit (line 11) | CriticalHit = 4 type AnimatePacket (line 14) | type AnimatePacket struct method Encode (line 25) | func (pk *AnimatePacket) Encode() { method Decode (line 33) | func (pk *AnimatePacket) Decode() { function NewAnimatePacket (line 21) | func NewAnimatePacket() *AnimatePacket { FILE: net/packets/bedrock/chunk_radius_updated.go type ChunkRadiusUpdatedPacket (line 8) | type ChunkRadiusUpdatedPacket struct method Encode (line 17) | func (pk *ChunkRadiusUpdatedPacket) Encode() { method Decode (line 21) | func (pk *ChunkRadiusUpdatedPacket) Decode() { function NewChunkRadiusUpdatedPacket (line 13) | func NewChunkRadiusUpdatedPacket() *ChunkRadiusUpdatedPacket { FILE: net/packets/bedrock/client_handshake.go type ClientHandshakePacket (line 8) | type ClientHandshakePacket struct method Encode (line 16) | func (pk *ClientHandshakePacket) Encode() { method Decode (line 20) | func (pk *ClientHandshakePacket) Decode() { function NewClientHandshakePacket (line 12) | func NewClientHandshakePacket() *ClientHandshakePacket { FILE: net/packets/bedrock/command_request.go type CommandRequestPacket (line 9) | type CommandRequestPacket struct method Encode (line 22) | func (pk *CommandRequestPacket) Encode() { method Decode (line 26) | func (pk *CommandRequestPacket) Decode() { function NewCommandRequestPacket (line 18) | func NewCommandRequestPacket() *CommandRequestPacket { FILE: net/packets/bedrock/crafting_data.go type CraftingDataPacket (line 8) | type CraftingDataPacket struct method Encode (line 16) | func (pk *CraftingDataPacket) Encode() { method Decode (line 21) | func (pk *CraftingDataPacket) Decode() { function NewCraftingDataPacket (line 12) | func NewCraftingDataPacket() *CraftingDataPacket { FILE: net/packets/bedrock/disconnect.go type DisconnectPacket (line 8) | type DisconnectPacket struct method Encode (line 18) | func (pk *DisconnectPacket) Encode() { method Decode (line 23) | func (pk *DisconnectPacket) Decode() { function NewDisconnectPacket (line 14) | func NewDisconnectPacket() *DisconnectPacket { FILE: net/packets/bedrock/full_chunk_data.go type FullChunkDataPacket (line 8) | type FullChunkDataPacket struct method Encode (line 19) | func (pk *FullChunkDataPacket) Encode() { method Decode (line 25) | func (pk *FullChunkDataPacket) Decode() { function NewFullChunkDataPacket (line 15) | func NewFullChunkDataPacket() *FullChunkDataPacket { FILE: net/packets/bedrock/interact_packet.go constant RightClick (line 9) | RightClick = 1 constant LeftClick (line 10) | LeftClick = 2 constant LeaveCehicle (line 11) | LeaveCehicle = 3 constant MouseOver (line 12) | MouseOver = 4 type InteractPacket (line 15) | type InteractPacket struct method Encode (line 25) | func (pk *InteractPacket) Encode() { method Decode (line 30) | func (pk *InteractPacket) Decode() { function NewInteractPacket (line 21) | func NewInteractPacket() *InteractPacket { FILE: net/packets/bedrock/inventory_transaction.go constant Normal (line 14) | Normal = iota + 0 constant Mismatch (line 15) | Mismatch constant UseItem (line 16) | UseItem constant UseItemOnEntity (line 17) | UseItemOnEntity constant ReleaseItem (line 18) | ReleaseItem constant ItemClickBlock (line 23) | ItemClickBlock = iota + 0 constant ItemClickAir (line 24) | ItemClickAir constant ItemBreakBlock (line 25) | ItemBreakBlock constant ItemRelease (line 28) | ItemRelease = iota + 0 constant ItemConsume (line 29) | ItemConsume constant ItemOnEntityInteract (line 34) | ItemOnEntityInteract = iota + 0 constant ItemOnEntityAttack (line 35) | ItemOnEntityAttack type InventoryTransactionPacket (line 38) | type InventoryTransactionPacket struct method Encode (line 65) | func (pk *InventoryTransactionPacket) Encode() { method Decode (line 100) | func (pk *InventoryTransactionPacket) Decode() { function NewInventoryTransactionPacket (line 49) | func NewInventoryTransactionPacket() *InventoryTransactionPacket { FILE: net/packets/bedrock/login.go type LoginPacket (line 16) | type LoginPacket struct method Encode (line 42) | func (pk *LoginPacket) Encode() { method Decode (line 46) | func (pk *LoginPacket) Decode() { method BuildChain (line 104) | func (pk *LoginPacket) BuildChain(raw string) types.Chain { function NewLoginPacket (line 37) | func NewLoginPacket() *LoginPacket { FILE: net/packets/bedrock/move_entity.go type MoveEntityPacket (line 10) | type MoveEntityPacket struct method Encode (line 22) | func (pk *MoveEntityPacket) Encode() { method Decode (line 29) | func (pk *MoveEntityPacket) Decode() { function NewMoveEntityPacket (line 18) | func NewMoveEntityPacket() *MoveEntityPacket { FILE: net/packets/bedrock/move_player.go type MovePlayerPacket (line 11) | type MovePlayerPacket struct method Encode (line 26) | func (pk *MovePlayerPacket) Encode() { method Decode (line 39) | func (pk *MovePlayerPacket) Decode() { function NewMovePlayerPacket (line 22) | func NewMovePlayerPacket() *MovePlayerPacket { FILE: net/packets/bedrock/network_chunk_publisher_update.go type NetworkChunkPublisherUpdatePacket (line 9) | type NetworkChunkPublisherUpdatePacket struct method Encode (line 19) | func (pk *NetworkChunkPublisherUpdatePacket) Encode() { method Decode (line 24) | func (pk *NetworkChunkPublisherUpdatePacket) Decode() { function NewNetworkChunkPublisherUpdatePacket (line 15) | func NewNetworkChunkPublisherUpdatePacket() *NetworkChunkPublisherUpdate... FILE: net/packets/bedrock/play_status.go type PlayStatusPacket (line 8) | type PlayStatusPacket struct method Encode (line 17) | func (pk *PlayStatusPacket) Encode() { method Decode (line 21) | func (pk *PlayStatusPacket) Decode() { function NewPlayStatusPacket (line 13) | func NewPlayStatusPacket() *PlayStatusPacket { FILE: net/packets/bedrock/player_action.go constant PlayerStartBreak (line 10) | PlayerStartBreak = iota constant PlayerAbortBreak (line 11) | PlayerAbortBreak constant PlayerStopBreak (line 12) | PlayerStopBreak constant PlayerGetUpdatedBlock (line 13) | PlayerGetUpdatedBlock constant PlayerDropItem (line 14) | PlayerDropItem constant playerStartSleeping (line 15) | playerStartSleeping constant PlayerStopSleeping (line 16) | PlayerStopSleeping constant PlayerRespawn (line 17) | PlayerRespawn constant PlayerJump (line 18) | PlayerJump constant PlayerStartSprint (line 19) | PlayerStartSprint constant PlayerStopSprint (line 20) | PlayerStopSprint constant PlayerStartSneak (line 21) | PlayerStartSneak constant PlayerStopSneak (line 22) | PlayerStopSneak constant PlayerDimensionChangeRequest (line 23) | PlayerDimensionChangeRequest constant PlayerDimensionChangeAck (line 24) | PlayerDimensionChangeAck constant PlayerStartGlide (line 25) | PlayerStartGlide constant PlayerStopGlide (line 26) | PlayerStopGlide constant PlayerBuildDenied (line 27) | PlayerBuildDenied constant PlayerContinueBreak (line 28) | PlayerContinueBreak type PlayerActionPacket (line 33) | type PlayerActionPacket struct method Encode (line 45) | func (pk *PlayerActionPacket) Encode() { method Decode (line 52) | func (pk *PlayerActionPacket) Decode() { function NewPlayerActionPacket (line 41) | func NewPlayerActionPacket() *PlayerActionPacket { FILE: net/packets/bedrock/player_list.go type PlayerListPacket (line 10) | type PlayerListPacket struct method Encode (line 20) | func (pk *PlayerListPacket) Encode() { method Decode (line 44) | func (pk *PlayerListPacket) Decode() { function NewPlayerListPacket (line 16) | func NewPlayerListPacket() *PlayerListPacket { FILE: net/packets/bedrock/player_skin.go type PlayerSkinPacket (line 9) | type PlayerSkinPacket struct method Encode (line 29) | func (pk *PlayerSkinPacket) Encode() { method Decode (line 41) | func (pk *PlayerSkinPacket) Decode() { function NewPlayerSkinPacket (line 25) | func NewPlayerSkinPacket() *PlayerSkinPacket { FILE: net/packets/bedrock/remove_entity.go type RemoveEntityPacket (line 8) | type RemoveEntityPacket struct method Encode (line 17) | func (pk *RemoveEntityPacket) Encode() { method Decode (line 21) | func (pk *RemoveEntityPacket) Decode() { function NewRemoveEntityPacket (line 13) | func NewRemoveEntityPacket() *RemoveEntityPacket { FILE: net/packets/bedrock/request_chunk_radius.go type RequestChunkRadiusPacket (line 8) | type RequestChunkRadiusPacket struct method Encode (line 17) | func (pk *RequestChunkRadiusPacket) Encode() { method Decode (line 21) | func (pk *RequestChunkRadiusPacket) Decode() { function NewRequestChunkRadiusPacket (line 13) | func NewRequestChunkRadiusPacket() *RequestChunkRadiusPacket { FILE: net/packets/bedrock/resource_pack_chunk_data.go type ResourcePackChunkDataPacket (line 8) | type ResourcePackChunkDataPacket struct method Encode (line 20) | func (pk *ResourcePackChunkDataPacket) Encode() { method Decode (line 28) | func (pk *ResourcePackChunkDataPacket) Decode() { function NewResourcePackChunkDataPacket (line 16) | func NewResourcePackChunkDataPacket() *ResourcePackChunkDataPacket { FILE: net/packets/bedrock/resource_pack_chunk_request.go type ResourcePackChunkRequestPacket (line 8) | type ResourcePackChunkRequestPacket struct method Encode (line 18) | func (pk *ResourcePackChunkRequestPacket) Encode() { method Decode (line 22) | func (pk *ResourcePackChunkRequestPacket) Decode() { function NewResourcePackChunkRequestPacket (line 14) | func NewResourcePackChunkRequestPacket() *ResourcePackChunkRequestPacket { FILE: net/packets/bedrock/resource_pack_client_response.go type ResourcePackClientResponsePacket (line 8) | type ResourcePackClientResponsePacket struct method Encode (line 18) | func (pk *ResourcePackClientResponsePacket) Encode() { method Decode (line 22) | func (pk *ResourcePackClientResponsePacket) Decode() { function NewResourcePackClientResponsePacket (line 14) | func NewResourcePackClientResponsePacket() *ResourcePackClientResponsePa... FILE: net/packets/bedrock/resource_pack_data_info.go type ResourcePackDataInfoPacket (line 8) | type ResourcePackDataInfoPacket struct method Encode (line 21) | func (pk *ResourcePackDataInfoPacket) Encode() { method Decode (line 29) | func (pk *ResourcePackDataInfoPacket) Decode() { function NewResourcePackDataInfoPacket (line 17) | func NewResourcePackDataInfoPacket() *ResourcePackDataInfoPacket { FILE: net/packets/bedrock/resource_pack_info.go type ResourcePackInfoPacket (line 9) | type ResourcePackInfoPacket struct method Encode (line 21) | func (pk *ResourcePackInfoPacket) Encode() { method Decode (line 28) | func (pk *ResourcePackInfoPacket) Decode() { function NewResourcePackInfoPacket (line 17) | func NewResourcePackInfoPacket() *ResourcePackInfoPacket { FILE: net/packets/bedrock/resource_pack_stack.go type ResourcePackStackPacket (line 9) | type ResourcePackStackPacket struct method Encode (line 21) | func (pk *ResourcePackStackPacket) Encode() { method Decode (line 28) | func (pk *ResourcePackStackPacket) Decode() { function NewResourcePackStackPacket (line 17) | func NewResourcePackStackPacket() *ResourcePackStackPacket { FILE: net/packets/bedrock/server_handshake.go type ServerHandshakePacket (line 8) | type ServerHandshakePacket struct method Encode (line 17) | func (pk *ServerHandshakePacket) Encode() { method Decode (line 21) | func (pk *ServerHandshakePacket) Decode() { function NewServerHandshakePacket (line 13) | func NewServerHandshakePacket() *ServerHandshakePacket { FILE: net/packets/bedrock/set_entity_data.go type SetEntityDataPacket (line 8) | type SetEntityDataPacket struct method Encode (line 18) | func (pk *SetEntityDataPacket) Encode() { method Decode (line 23) | func (pk *SetEntityDataPacket) Decode() { function NewSetEntityDataPacket (line 14) | func NewSetEntityDataPacket() *SetEntityDataPacket { FILE: net/packets/bedrock/start_game.go constant GameBroadcastSettingNone (line 14) | GameBroadcastSettingNone = iota constant GameBroadcastSettingInviteOnly (line 15) | GameBroadcastSettingInviteOnly constant GameBroadcastSettingFriendsOnly (line 16) | GameBroadcastSettingFriendsOnly constant GameBroadcastSettingFriendsOfFriends (line 17) | GameBroadcastSettingFriendsOfFriends constant GameBroadcastSettingPublic (line 18) | GameBroadcastSettingPublic type StartGamePacket (line 21) | type StartGamePacket struct method Encode (line 72) | func (pk *StartGamePacket) Encode() { method Decode (line 129) | func (pk *StartGamePacket) Decode() { function NewStartGamePacket (line 68) | func NewStartGamePacket() *StartGamePacket { FILE: net/packets/bedrock/text.go type TextPacket (line 9) | type TextPacket struct method Encode (line 34) | func (pk *TextPacket) Encode() { method Decode (line 59) | func (pk *TextPacket) Decode() { function NewTextPacket (line 21) | func NewTextPacket() *TextPacket { FILE: net/packets/bedrock/transfer.go type TransferPacket (line 8) | type TransferPacket struct method Encode (line 18) | func (pk *TransferPacket) Encode() { method Decode (line 23) | func (pk *TransferPacket) Decode() { function NewTransferPacket (line 14) | func NewTransferPacket() *TransferPacket { FILE: net/packets/bedrock/update_attributes.go type UpdateAttributesPacket (line 9) | type UpdateAttributesPacket struct method Encode (line 19) | func (pk *UpdateAttributesPacket) Encode() { method Decode (line 24) | func (pk *UpdateAttributesPacket) Decode() { function NewUpdateAttributesPacket (line 15) | func NewUpdateAttributesPacket() *UpdateAttributesPacket { FILE: net/packets/bedrock/update_block.go constant DataLayerNormal (line 10) | DataLayerNormal = iota constant DataLayerLiquid (line 11) | DataLayerLiquid type UpdateBlockPacket (line 14) | type UpdateBlockPacket struct method Encode (line 26) | func (pk *UpdateBlockPacket) Encode() { method Decode (line 33) | func (pk *UpdateBlockPacket) Decode() { function NewUpdateBlockPacket (line 22) | func NewUpdateBlockPacket() *UpdateBlockPacket { FILE: net/packets/data/constants.go constant MojangPublicKey (line 4) | MojangPublicKey = "MHYwEAYHKoZIzj0CAQYFK4EEACIDYgAE8ELkixyLcwlZryUQcu1Tv... constant StatusLoginSuccess (line 8) | StatusLoginSuccess = iota constant StatusLoginFailedClient (line 9) | StatusLoginFailedClient constant StatusLoginFailedServer (line 10) | StatusLoginFailedServer constant StatusSpawn (line 11) | StatusSpawn constant StatusLoginFailedInvalidTenant (line 12) | StatusLoginFailedInvalidTenant constant StatusLoginFailedVanillaEdu (line 13) | StatusLoginFailedVanillaEdu constant StatusLoginFailedEduVanilla (line 14) | StatusLoginFailedEduVanilla constant MoveNormal (line 18) | MoveNormal = iota constant MoveReset (line 19) | MoveReset constant MoveTeleport (line 20) | MoveTeleport constant MovePitch (line 21) | MovePitch constant MoveEntityGround (line 25) | MoveEntityGround = iota + 1 constant MoveEntityTeleport (line 26) | MoveEntityTeleport constant StatusRefused (line 30) | StatusRefused = iota + 1 constant StatusSendPacks (line 31) | StatusSendPacks constant StatusHaveAllPacks (line 32) | StatusHaveAllPacks constant StatusCompleted (line 33) | StatusCompleted constant TextRaw (line 37) | TextRaw = iota constant TextChat (line 38) | TextChat constant TextTranslation (line 39) | TextTranslation constant TextPopup (line 40) | TextPopup constant TextJukeboxPopup (line 41) | TextJukeboxPopup constant TextTip (line 42) | TextTip constant TextSystem (line 43) | TextSystem constant TextWhisper (line 44) | TextWhisper constant TextAnnouncement (line 45) | TextAnnouncement constant TextJson (line 46) | TextJson constant ResourcePackChunkSize (line 50) | ResourcePackChunkSize = 1048576 constant ListTypeAdd (line 54) | ListTypeAdd = iota constant ListTypeRemove (line 55) | ListTypeRemove FILE: net/packets/minecraft_stream.go type MinecraftStream (line 18) | type MinecraftStream struct method PutEntityRuntimeId (line 33) | func (stream *MinecraftStream) PutEntityRuntimeId(id uint64) { method GetEntityRuntimeId (line 40) | func (stream *MinecraftStream) GetEntityRuntimeId() uint64 { method PutEntityUniqueId (line 46) | func (stream *MinecraftStream) PutEntityUniqueId(id int64) { method GetEntityUniqueId (line 53) | func (stream *MinecraftStream) GetEntityUniqueId() int64 { method PutVector (line 60) | func (stream *MinecraftStream) PutVector(vector r3.Vector) { method GetVector (line 68) | func (stream *MinecraftStream) GetVector() r3.Vector { method PutBlockPosition (line 75) | func (stream *MinecraftStream) PutBlockPosition(position blocks.Positi... method GetBlockPosition (line 84) | func (stream *MinecraftStream) GetBlockPosition() blocks.Position { method PutEntityRotationBytes (line 90) | func (stream *MinecraftStream) PutEntityRotationBytes(rotation data.Ro... method GetEntityRotationBytes (line 99) | func (stream *MinecraftStream) GetEntityRotationBytes() data.Rotation { method PutEntityRotation (line 105) | func (stream *MinecraftStream) PutEntityRotation(rotation data.Rotatio... method GetEntityRotation (line 114) | func (stream *MinecraftStream) GetEntityRotation() data.Rotation { method PutPlayerRotation (line 120) | func (stream *MinecraftStream) PutPlayerRotation(rot data.Rotation) { method GetPlayerRotation (line 129) | func (stream *MinecraftStream) GetPlayerRotation() data.Rotation { method PutRotationByte (line 133) | func (stream *MinecraftStream) PutRotationByte(rot byte){ method getRotationByte (line 137) | func (stream *MinecraftStream) getRotationByte() byte { method PutAttributeMap (line 144) | func (stream *MinecraftStream) PutAttributeMap(m data.AttributeMap) { method GetAttributeMap (line 158) | func (stream *MinecraftStream) GetAttributeMap() data.AttributeMap { method PutItem (line 178) | func (stream *MinecraftStream) PutItem(item *items.Stack) { method GetItem (line 200) | func (stream *MinecraftStream) GetItem() *items.Stack { method PutEntityData (line 255) | func (stream *MinecraftStream) PutEntityData(entityData map[uint32][]i... method GetEntityData (line 319) | func (stream *MinecraftStream) GetEntityData() map[uint32][]interface{} { method PutGameRules (line 363) | func (stream *MinecraftStream) PutGameRules(gameRules map[string]types... method PutPackInfo (line 383) | func (stream *MinecraftStream) PutPackInfo(packs []types.ResourcePackI... method PutPackStack (line 400) | func (stream *MinecraftStream) PutPackStack(packs []types.ResourcePack... method PutUUID (line 412) | func (stream *MinecraftStream) PutUUID(uuid uuid.UUID) { method GetUUID (line 426) | func (stream *MinecraftStream) GetUUID() uuid.UUID { function NewMinecraftStream (line 27) | func NewMinecraftStream() *MinecraftStream { FILE: net/packets/packet.go type IPacket (line 9) | type IPacket interface type Packet (line 32) | type Packet struct method GetId (line 53) | func (pk *Packet) GetId() int { method Discard (line 60) | func (pk *Packet) Discard() { method IsDiscarded (line 67) | func (pk *Packet) IsDiscarded() bool { method EncodeId (line 72) | func (pk *Packet) EncodeId() { method DecodeId (line 79) | func (pk *Packet) DecodeId() { method EncodeHeader (line 90) | func (pk *Packet) EncodeHeader() { method DecodeHeader (line 98) | func (pk *Packet) DecodeHeader() { method Encode (line 102) | func (pk *Packet) Encode() {} method Decode (line 104) | func (pk *Packet) Decode() {} function NewPacket (line 48) | func NewPacket(id int) *Packet { FILE: net/packets/types/levels.go type GameRuleEntry (line 3) | type GameRuleEntry struct FILE: net/packets/types/net.go type ChainDataKeys (line 3) | type ChainDataKeys struct type Chain (line 8) | type Chain struct type ChainHeader (line 14) | type ChainHeader struct type ChainPayload (line 21) | type ChainPayload struct type WebTokenKeys (line 33) | type WebTokenKeys struct type ClientDataKeys (line 38) | type ClientDataKeys struct FILE: net/packets/types/players.go type PlayerListEntry (line 7) | type PlayerListEntry struct type SessionData (line 21) | type SessionData struct type Text (line 31) | type Text struct FILE: net/packets/types/resource_packs.go type ResourcePackInfoEntry (line 3) | type ResourcePackInfoEntry struct type ResourcePackStackEntry (line 9) | type ResourcePackStackEntry struct FILE: net/protocol/entries.go type AddEntityEntry (line 10) | type AddEntityEntry interface type AddPlayerEntry (line 21) | type AddPlayerEntry interface type PlayerListEntry (line 27) | type PlayerListEntry interface type StartGameEntry (line 39) | type StartGameEntry interface FILE: net/protocol/handler.go type Handler (line 4) | type Handler interface FILE: net/protocol/protocol.go type IPacketManager (line 15) | type IPacketManager interface type PacketManagerBase (line 56) | type PacketManagerBase struct method GetIdList (line 68) | func (Base *PacketManagerBase) GetIdList() info.PacketIdList { method GetHandlers (line 73) | func (Base *PacketManagerBase) GetHandlers(packet info.PacketName) [][... method GetHandlersById (line 79) | func (Base *PacketManagerBase) GetHandlersById(id int) [][]Handler { method RegisterHandler (line 86) | func (Base *PacketManagerBase) RegisterHandler(packet info.PacketName,... method DeregisterPacketHandlers (line 96) | func (Base *PacketManagerBase) DeregisterPacketHandlers(packet info.Pa... method GetPackets (line 102) | func (Base *PacketManagerBase) GetPackets() map[int]func() packets.IPa... method RegisterPacket (line 107) | func (Base *PacketManagerBase) RegisterPacket(packetId int, packetFunc... method GetPacket (line 112) | func (Base *PacketManagerBase) GetPacket(packetId int) packets.IPacket { method IsPacketRegistered (line 117) | func (Base *PacketManagerBase) IsPacketRegistered(packetId int) bool { function NewPacketManagerBase (line 63) | func NewPacketManagerBase(idList info.PacketIdList, packets map[int]func... FILE: net/protocol_adapter.go method SendAddEntity (line 14) | func (session *MinecraftSession) SendAddEntity(entity protocol.AddEntity... method SendAddPlayer (line 18) | func (session *MinecraftSession) SendAddPlayer(uuid uuid.UUID, player pr... method SendChunkRadiusUpdated (line 22) | func (session *MinecraftSession) SendChunkRadiusUpdated(radius int32) { method SendCraftingData (line 26) | func (session *MinecraftSession) SendCraftingData() { method SendDisconnect (line 30) | func (session *MinecraftSession) SendDisconnect(message string, hideDisc... method SendFullChunkData (line 34) | func (session *MinecraftSession) SendFullChunkData(chunk *chunks.Chunk) { method SendMovePlayer (line 38) | func (session *MinecraftSession) SendMovePlayer(runtimeId uint64, positi... method SendPlayerList (line 42) | func (session *MinecraftSession) SendPlayerList(listType byte, players m... method SendPlayStatus (line 46) | func (session *MinecraftSession) SendPlayStatus(status int32) { method SendRemoveEntity (line 50) | func (session *MinecraftSession) SendRemoveEntity(uniqueId int64) { method SendResourcePackChunkData (line 54) | func (session *MinecraftSession) SendResourcePackChunkData(packUUID stri... method SendResourcePackDataInfo (line 58) | func (session *MinecraftSession) SendResourcePackDataInfo(pack packs.Pac... method SendResourcePackInfo (line 62) | func (session *MinecraftSession) SendResourcePackInfo(mustAccept bool, r... method SendResourcePackStack (line 66) | func (session *MinecraftSession) SendResourcePackStack(mustAccept bool, ... method SendServerHandshake (line 70) | func (session *MinecraftSession) SendServerHandshake(encryptionJwt strin... method SendSetEntityData (line 74) | func (session *MinecraftSession) SendSetEntityData(runtimeId uint64, dat... method SendStartGame (line 78) | func (session *MinecraftSession) SendStartGame(player protocol.StartGame... method SendText (line 82) | func (session *MinecraftSession) SendText(text types.Text) { method Transfer (line 86) | func (session *MinecraftSession) Transfer(address string, port uint16) { method SendUpdateAttributes (line 90) | func (session *MinecraftSession) SendUpdateAttributes(runtimeId uint64, ... method SendNetworkChunkPublisherUpdate (line 94) | func (session *MinecraftSession) SendNetworkChunkPublisherUpdate(positio... method SendMoveEntity (line 98) | func (session *MinecraftSession) SendMoveEntity(runtimeId uint64, positi... method SendPlayerSkin (line 102) | func (session *MinecraftSession) SendPlayerSkin(uuid2 uuid.UUID, skinId,... method SendPlayerAction (line 106) | func (session *MinecraftSession) SendPlayerAction(runtimeId uint64, acti... method SendAnimate (line 110) | func (session *MinecraftSession) SendAnimate(action int32, runtimeId uin... method SendUpdateBlock (line 114) | func (session *MinecraftSession) SendUpdateBlock(position blocks.Positio... FILE: packet_handler.go function NewClientHandshakeHandler (line 28) | func NewClientHandshakeHandler(server *Server) *net.PacketHandler { function NewCommandRequestHandler (line 39) | func NewCommandRequestHandler(server *Server) *net.PacketHandler { function NewLoginHandler (line 67) | func NewLoginHandler(server *Server) *net.PacketHandler { function NewMovePlayerHandler (line 137) | func NewMovePlayerHandler(_ *Server) *net.PacketHandler { function NewRequestChunkRadiusHandler (line 150) | func NewRequestChunkRadiusHandler(server *Server) *net.PacketHandler { function NewResourcePackChunkRequestHandler (line 195) | func NewResourcePackChunkRequestHandler(server *Server) *net.PacketHandl... function NewResourcePackClientResponseHandler (line 210) | func NewResourcePackClientResponseHandler(server *Server) *net.PacketHan... function NewTextHandler (line 241) | func NewTextHandler(server *Server) *net.PacketHandler { function NewInteractHandler (line 262) | func NewInteractHandler(_ *Server) *net.PacketHandler { function NewPlayerActionHandler (line 270) | func NewPlayerActionHandler(_ *Server) *net.PacketHandler { function NewAnimateHandler (line 293) | func NewAnimateHandler(_ *Server) *net.PacketHandler { function NewInventoryTransactionHandler (line 306) | func NewInventoryTransactionHandler(_ *Server) *net.PacketHandler { function VerifyLoginRequest (line 331) | func VerifyLoginRequest(chains []types.Chain, _ *Server) (successful boo... FILE: packet_manager.go type PacketManager (line 20) | type PacketManager struct method initHandlers (line 47) | func (protocol *PacketManager) initHandlers(server *Server) { method GetAddEntity (line 62) | func (protocol *PacketManager) GetAddEntity(entity protocol.AddEntityE... method GetAddPlayer (line 76) | func (protocol *PacketManager) GetAddPlayer(uuid uuid.UUID, player pro... method GetChunkRadiusUpdated (line 89) | func (protocol *PacketManager) GetChunkRadiusUpdated(radius int32) pac... method GetCraftingData (line 96) | func (protocol *PacketManager) GetCraftingData() packets.IPacket { method GetDisconnect (line 102) | func (protocol *PacketManager) GetDisconnect(message string, hideDisco... method GetFullChunkData (line 110) | func (protocol *PacketManager) GetFullChunkData(chunk *chunks.Chunk) p... method GetMovePlayer (line 117) | func (protocol *PacketManager) GetMovePlayer(runtimeId uint64, positio... method GetPlayerList (line 129) | func (protocol *PacketManager) GetPlayerList(listType byte, players ma... method GetPlayStatus (line 153) | func (protocol *PacketManager) GetPlayStatus(status int32) packets.IPa... method GetRemoveEntity (line 160) | func (protocol *PacketManager) GetRemoveEntity(uniqueId int64) packets... method GetResourcePackChunkData (line 167) | func (protocol *PacketManager) GetResourcePackChunkData(packUUID strin... method GetResourcePackDataInfo (line 177) | func (protocol *PacketManager) GetResourcePackDataInfo(pack packs.Pack... method GetResourcePackInfo (line 188) | func (protocol *PacketManager) GetResourcePackInfo(mustAccept bool, re... method GetResourcePackStack (line 215) | func (protocol *PacketManager) GetResourcePackStack(mustAccept bool, r... method GetServerHandshake (line 239) | func (protocol *PacketManager) GetServerHandshake(encryptionJwt string... method GetSetEntityData (line 246) | func (protocol *PacketManager) GetSetEntityData(runtimeId uint64, data... method GetStartGame (line 254) | func (protocol *PacketManager) GetStartGame(player protocol.StartGameE... method GetText (line 287) | func (protocol *PacketManager) GetText(text types.Text) packets.IPacket { method GetTransfer (line 299) | func (protocol *PacketManager) GetTransfer(address string, port uint16... method GetUpdateAttributes (line 307) | func (protocol *PacketManager) GetUpdateAttributes(runtimeId uint64, a... method GetNetworkChunkPublisherUpdatePacket (line 315) | func (protocol *PacketManager) GetNetworkChunkPublisherUpdatePacket(po... method GetMoveEntity (line 323) | func (protocol *PacketManager) GetMoveEntity(runtimeId uint64, positio... method GetPlayerSkin (line 338) | func (protocol *PacketManager) GetPlayerSkin(uuid2 uuid.UUID, skinId, ... method GetPlayerAction (line 351) | func (protocol *PacketManager) GetPlayerAction(runtimeId uint64, actio... method GetAnimate (line 362) | func (protocol *PacketManager) GetAnimate(action int32, runtimeId uint... method GetUpdateBlock (line 372) | func (protocol *PacketManager) GetUpdateBlock(position blocks.Position... function NewPacketManager (line 24) | func NewPacketManager(server *Server) *PacketManager { FILE: packs/base.go constant Behavior (line 15) | Behavior PackType = "data" constant Resource (line 16) | Resource PackType = "resources" type PackType (line 20) | type PackType type Pack (line 23) | type Pack interface type Base (line 34) | type Base struct method Load (line 80) | func (pack *Base) Load() error { method GetPath (line 105) | func (pack *Base) GetPath() string { method GetSha256 (line 110) | func (pack *Base) GetSha256() string { method GetFileSize (line 115) | func (pack *Base) GetFileSize() int64 { method GetUUID (line 120) | func (pack *Base) GetUUID() string { method GetVersion (line 125) | func (pack *Base) GetVersion() string { method GetManifest (line 130) | func (pack *Base) GetManifest() *Manifest { method GetContent (line 135) | func (pack *Base) GetContent() []byte { method ValidateManifest (line 140) | func (pack *Base) ValidateManifest() error { method ValidateModules (line 163) | func (pack *Base) ValidateModules() error { method GetChunk (line 187) | func (pack *Base) GetChunk(offset int, length int) []byte { type Manifest (line 44) | type Manifest struct function newBase (line 67) | func newBase(path string, packType PackType) *Base { FILE: packs/behavior.go type BehaviorPack (line 9) | type BehaviorPack struct method ValidateDependencies (line 19) | func (pack *BehaviorPack) ValidateDependencies(manager *Manager) error { function NewBehaviorPack (line 14) | func NewBehaviorPack(path string) *BehaviorPack { FILE: packs/manager.go type Manager (line 11) | type Manager struct method GetResourcePacks (line 27) | func (manager *Manager) GetResourcePacks() map[string]*ResourcePack { method GetBehaviorPacks (line 32) | func (manager *Manager) GetBehaviorPacks() map[string]*BehaviorPack { method GetResourceStack (line 37) | func (manager *Manager) GetResourceStack() *Stack { method GetBehaviorStack (line 42) | func (manager *Manager) GetBehaviorStack() *Stack { method LoadResourcePacks (line 48) | func (manager *Manager) LoadResourcePacks() []error { method LoadBehaviorPacks (line 86) | func (manager *Manager) LoadBehaviorPacks() []error { method IsResourcePackLoaded (line 128) | func (manager *Manager) IsResourcePackLoaded(uuid string) bool { method IsBehaviorPackLoaded (line 134) | func (manager *Manager) IsBehaviorPackLoaded(uuid string) bool { method IsPackLoaded (line 140) | func (manager *Manager) IsPackLoaded(uuid string) bool { method GetResourcePack (line 145) | func (manager *Manager) GetResourcePack(uuid string) *ResourcePack { method GetBehaviorPack (line 153) | func (manager *Manager) GetBehaviorPack(uuid string) *BehaviorPack { method GetPack (line 161) | func (manager *Manager) GetPack(uuid string) Pack { function NewManager (line 22) | func NewManager(serverPath string) *Manager { FILE: packs/resource.go type ResourcePack (line 4) | type ResourcePack struct function NewResourcePack (line 9) | func NewResourcePack(path string) *ResourcePack { FILE: packs/stack.go type Stack (line 4) | type Stack method GetPackAtOffset (line 12) | func (stack *Stack) GetPackAtOffset(offset int) Pack { method Pop (line 17) | func (stack *Stack) Pop() { method Push (line 22) | func (stack *Stack) Push(pack Pack) { method Swap (line 27) | func (stack *Stack) Swap(offset1, offset2 int) { method Len (line 35) | func (stack *Stack) Len() int { method Peek (line 40) | func (stack *Stack) Peek() Pack { function NewStack (line 7) | func NewStack() *Stack { FILE: permissions/group.go type Group (line 5) | type Group struct method GetName (line 17) | func (group *Group) GetName() string { method GetPermissions (line 22) | func (group *Group) GetPermissions() map[string]*Permission { method HasPermission (line 27) | func (group *Group) HasPermission(permission string) bool { method AddPermission (line 33) | func (group *Group) AddPermission(permission *Permission) { method RemovePermission (line 38) | func (group *Group) RemovePermission(permission string) { method InheritGroup (line 43) | func (group *Group) InheritGroup(inheritedGroup *Group) { function NewGroup (line 12) | func NewGroup(name string, level int) *Group { FILE: permissions/level.go constant LevelVisitor (line 4) | LevelVisitor PermissionLevel = iota constant LevelMember (line 5) | LevelMember = 1 constant LevelOperator (line 6) | LevelOperator = 2 constant LevelCustom (line 7) | LevelCustom = 3 type PermissionLevel (line 11) | type PermissionLevel FILE: permissions/manager.go type Manager (line 9) | type Manager struct method GetDefaultGroup (line 26) | func (manager *Manager) GetDefaultGroup() *Group { method SetDefaultGroup (line 31) | func (manager *Manager) SetDefaultGroup(group *Group) { method AddGroup (line 36) | func (manager *Manager) AddGroup(group *Group) { method GetGroup (line 41) | func (manager *Manager) GetGroup(name string) (*Group, error) { method GroupExists (line 49) | func (manager *Manager) GroupExists(name string) bool { method RemoveGroup (line 55) | func (manager *Manager) RemoveGroup(name string) { method GetPermission (line 60) | func (manager *Manager) GetPermission(name string) (*Permission, error) { method IsPermissionRegistered (line 68) | func (manager *Manager) IsPermissionRegistered(name string) bool { method RegisterPermission (line 74) | func (manager *Manager) RegisterPermission(permission *Permission) { function NewManager (line 21) | func NewManager() *Manager { FILE: permissions/permissible.go type Permissible (line 4) | type Permissible interface FILE: permissions/permission.go type Permission (line 5) | type Permission struct method GetName (line 17) | func (permission *Permission) GetName() string { method GetDefaultLevel (line 22) | func (permission *Permission) GetDefaultLevel() int { method SetDefaultLevel (line 27) | func (permission *Permission) SetDefaultLevel(level int) { method GetChildren (line 32) | func (permission *Permission) GetChildren() map[string]*Permission { method AddChild (line 37) | func (permission *Permission) AddChild(child *Permission) { method HasChild (line 42) | func (permission *Permission) HasChild(name string) bool { function NewPermission (line 12) | func NewPermission(name string, defaultLevel int) *Permission { FILE: players/player.go type Player (line 9) | type Player struct method GetName (line 40) | func (player *Player) GetName() string { method SetName (line 46) | func (player *Player) SetName(name string) { method GetDisplayName (line 51) | func (player *Player) GetDisplayName() string { method SetDisplayName (line 56) | func (player *Player) SetDisplayName(name string) { method GetUUID (line 61) | func (player *Player) GetUUID() uuid.UUID { method GetXUID (line 66) | func (player *Player) GetXUID() string { method GetPlatform (line 71) | func (player *Player) GetPlatform() int32 { method SpawnPlayerTo (line 76) | func (player *Player) SpawnPlayerTo(viewer entities.Viewer) { method SpawnPlayerToAll (line 81) | func (player *Player) SpawnPlayerToAll() { method SetSkinId (line 93) | func (player *Player) SetSkinId(id string) { method GetSkinId (line 98) | func (player *Player) GetSkinId() string { method GetSkinData (line 103) | func (player *Player) GetSkinData() []byte { method SetSkinData (line 108) | func (player *Player) SetSkinData(data []byte) { method GetCapeData (line 113) | func (player *Player) GetCapeData() []byte { method SetCapeData (line 118) | func (player *Player) SetCapeData(data []byte) { method GetGeometryName (line 123) | func (player *Player) GetGeometryName() string { method SetGeometryName (line 128) | func (player *Player) SetGeometryName(name string) { method GetGeometryData (line 133) | func (player *Player) GetGeometryData() string { method SetGeometryData (line 138) | func (player *Player) SetGeometryData(data string) { method SyncMove (line 143) | func (player *Player) SyncMove(x, y, z, pitch, yaw, headYaw float64, o... method SendMovement (line 156) | func (player *Player) SendMovement(viewer entities.Viewer) { method BroadcastMovement (line 162) | func (player *Player) BroadcastMovement() { method Tick (line 169) | func (player Player) Tick() { function NewPlayer (line 26) | func NewPlayer(uuid uuid.UUID, xuid string, platform int32, name string)... FILE: plugin.go type Manifest (line 3) | type Manifest struct method GetName (line 44) | func (manifest Manifest) GetName() string { method GetVersion (line 49) | func (manifest Manifest) GetVersion() string { method GetOrganisation (line 54) | func (manifest Manifest) GetOrganisation() string { method GetAPIVersion (line 59) | func (manifest Manifest) GetAPIVersion() string { method GetAuthor (line 64) | func (manifest Manifest) GetAuthor() string { method GetDescription (line 69) | func (manifest Manifest) GetDescription() string { type IManifest (line 12) | type IManifest interface type IPlugin (line 21) | type IPlugin interface type Plugin (line 33) | type Plugin struct method GetName (line 74) | func (plug *Plugin) GetName() string { method GetVersion (line 79) | func (plug *Plugin) GetVersion() string { method GetOrganisation (line 84) | func (plug *Plugin) GetOrganisation() string { method GetAPIVersion (line 89) | func (plug *Plugin) GetAPIVersion() string { method GetAuthor (line 94) | func (plug *Plugin) GetAuthor() string { method GetDescription (line 99) | func (plug *Plugin) GetDescription() string { method setManifest (line 104) | func (plug *Plugin) setManifest(manifest IManifest) { method GetServer (line 109) | func (plug *Plugin) GetServer() *Server { function NewPlugin (line 39) | func NewPlugin(server *Server) *Plugin { FILE: plugin_manager.go constant ApiVersion (line 17) | ApiVersion = "0.0.1" constant OutdatedPlugin (line 19) | OutdatedPlugin = "plugin.Open: plugin was built with a different ver... constant NoPluginsSupported (line 20) | NoPluginsSupported = "plugin: not implemented" type PluginManager (line 23) | type PluginManager struct method GetPlugins (line 33) | func (manager *PluginManager) GetPlugins() map[string]IPlugin { method GetServer (line 38) | func (manager *PluginManager) GetServer() *Server { method GetPlugin (line 43) | func (manager *PluginManager) GetPlugin(name string) IPlugin { method IsPluginLoaded (line 51) | func (manager *PluginManager) IsPluginLoaded(name string) bool { method LoadPlugins (line 57) | func (manager *PluginManager) LoadPlugins() { method CompilePlugin (line 85) | func (manager *PluginManager) CompilePlugin(filePath string) (*plugin.... method RecompilePlugin (line 103) | func (manager *PluginManager) RecompilePlugin(filePath string) (*plugi... method LoadPlugin (line 115) | func (manager *PluginManager) LoadPlugin(filePath string) error { method ValidateManifest (line 166) | func (manager *PluginManager) ValidateManifest(manifest IManifest, pat... function NewPluginManager (line 28) | func NewPluginManager(server *Server) *PluginManager { FILE: resources/gomine.yml.go type GoMineConfig (line 10) | type GoMineConfig struct function NewGoMineConfig (line 38) | func NewGoMineConfig(serverPath string) *GoMineConfig { function initializeConfig (line 44) | func initializeConfig(serverPath string) { function getGoMineConfig (line 81) | func getGoMineConfig(serverPath string) *GoMineConfig { FILE: server.go constant GoMineName (line 31) | GoMineName = "GoMine" constant GoMineVersion (line 32) | GoMineVersion = "0.0.1" type Server (line 35) | type Server struct method RegisterDefaultCommands (line 112) | func (server *Server) RegisterDefaultCommands() { method IsRunning (line 120) | func (server *Server) IsRunning() bool { method Start (line 126) | func (server *Server) Start() error { method Shutdown (line 150) | func (server *Server) Shutdown() { method GetMinecraftVersion (line 164) | func (server *Server) GetMinecraftVersion() string { method GetMinecraftNetworkVersion (line 170) | func (server *Server) GetMinecraftNetworkVersion() string { method HasPermission (line 176) | func (server *Server) HasPermission(string) bool { method SendMessage (line 181) | func (server *Server) SendMessage(message ...interface{}) { method GetEngineName (line 186) | func (server *Server) GetEngineName() string { method GetName (line 191) | func (server *Server) GetName() string { method GetPort (line 196) | func (server *Server) GetPort() uint16 { method GetAddress (line 201) | func (server *Server) GetAddress() string { method GetMaximumPlayers (line 206) | func (server *Server) GetMaximumPlayers() uint { method GetMotd (line 211) | func (server *Server) GetMotd() string { method GetMaxViewDistance (line 216) | func (server *Server) GetMaxViewDistance() int32 { method GetAllowedViewDistance (line 223) | func (server *Server) GetAllowedViewDistance(distance int32) int32 { method GetCurrentTick (line 232) | func (server *Server) GetCurrentTick() int64 { method BroadcastMessageTo (line 237) | func (server *Server) BroadcastMessageTo(receivers []*net.MinecraftSes... method BroadcastMessage (line 245) | func (server *Server) BroadcastMessage(message ...interface{}) { method GetPrivateKey (line 253) | func (server *Server) GetPrivateKey() *ecdsa.PrivateKey { method GetPublicKey (line 258) | func (server *Server) GetPublicKey() *ecdsa.PublicKey { method GetServerToken (line 263) | func (server *Server) GetServerToken() []byte { method GenerateQueryResult (line 268) | func (server *Server) GenerateQueryResult() query.Result { method HandleRaw (line 299) | func (server *Server) HandleRaw(packet []byte, addr *net2.UDPAddr) { method HandleDisconnect (line 315) | func (server *Server) HandleDisconnect(s *server.Session) { method GeneratePongData (line 337) | func (server *Server) GeneratePongData() string { method Tick (line 343) | func (server *Server) Tick() { method attemptReadCommand (line 363) | func (server *Server) attemptReadCommand(commandText string) { function NewServer (line 58) | func NewServer(serverPath string, config *resources.GoMineConfig) *Server { FILE: text/command_reader.go type CommandReader (line 12) | type CommandReader struct method AddReadFunc (line 38) | func (reader *CommandReader) AddReadFunc(outputFunc func(string)) { method readLine (line 45) | func (reader *CommandReader) readLine() { function NewCommandReader (line 23) | func NewCommandReader(inputReader io.Reader) *CommandReader { FILE: text/font.go constant AnsiPre (line 6) | AnsiPre = "\u001b[" constant AnsiReset (line 7) | AnsiReset = AnsiPre + "0m" constant AnsiBold (line 9) | AnsiBold = AnsiPre + "1m" constant AnsiItalic (line 10) | AnsiItalic = AnsiPre + "3m" constant AnsiUnderlined (line 11) | AnsiUnderlined = AnsiPre + "4m" constant AnsiBlack (line 13) | AnsiBlack = AnsiPre + "30m" constant AnsiRed (line 14) | AnsiRed = AnsiPre + "31m" constant AnsiGreen (line 15) | AnsiGreen = AnsiPre + "32m" constant AnsiYellow (line 16) | AnsiYellow = AnsiPre + "33m" constant AnsiBlue (line 17) | AnsiBlue = AnsiPre + "34m" constant AnsiMagenta (line 18) | AnsiMagenta = AnsiPre + "35m" constant AnsiCyan (line 19) | AnsiCyan = AnsiPre + "36m" constant AnsiWhite (line 20) | AnsiWhite = AnsiPre + "37m" constant AnsiGray (line 21) | AnsiGray = AnsiPre + "30;1m" constant AnsiBrightRed (line 23) | AnsiBrightRed = AnsiPre + "31;1m" constant AnsiBrightGreen (line 24) | AnsiBrightGreen = AnsiPre + "32;1m" constant AnsiBrightYellow (line 25) | AnsiBrightYellow = AnsiPre + "33;1m" constant AnsiBrightBlue (line 26) | AnsiBrightBlue = AnsiPre + "34;1m" constant AnsiBrightMagenta (line 27) | AnsiBrightMagenta = AnsiPre + "35;1m" constant AnsiBrightCyan (line 28) | AnsiBrightCyan = AnsiPre + "36;1m" constant AnsiBrightWhite (line 29) | AnsiBrightWhite = AnsiPre + "37;1m" constant Pre (line 33) | Pre = "ยง" constant Black (line 35) | Black = Pre + "0" constant Blue (line 36) | Blue = Pre + "1" constant Green (line 37) | Green = Pre + "2" constant Cyan (line 38) | Cyan = Pre + "3" constant Red (line 39) | Red = Pre + "4" constant Magenta (line 40) | Magenta = Pre + "5" constant Orange (line 41) | Orange = Pre + "6" constant BrightGray (line 42) | BrightGray = Pre + "7" constant Gray (line 43) | Gray = Pre + "8" constant BrightBlue (line 44) | BrightBlue = Pre + "9" constant BrightGreen (line 46) | BrightGreen = Pre + "a" constant BrightCyan (line 47) | BrightCyan = Pre + "b" constant BrightRed (line 48) | BrightRed = Pre + "c" constant BrightMagenta (line 49) | BrightMagenta = Pre + "d" constant Yellow (line 50) | Yellow = Pre + "e" constant White (line 51) | White = Pre + "f" constant Obfuscated (line 53) | Obfuscated = Pre + "k" constant Bold (line 54) | Bold = Pre + "l" constant StrikeThrough (line 55) | StrikeThrough = Pre + "m" constant Underlined (line 56) | Underlined = Pre + "n" constant Italic (line 57) | Italic = Pre + "o" constant Reset (line 59) | Reset = Pre + "r" type ColoredString (line 64) | type ColoredString method ToANSI (line 95) | func (str ColoredString) ToANSI() string { method ToMinecraft (line 105) | func (str ColoredString) ToMinecraft() string { method StripMinecraft (line 115) | func (str ColoredString) StripMinecraft() string { method StripANSI (line 125) | func (str ColoredString) StripANSI() string { method StripAll (line 135) | func (str ColoredString) StripAll() string { FILE: text/logger.go constant Debug (line 11) | Debug = "[Debug]" constant Info (line 12) | Info = "[Info]" constant Notice (line 13) | Notice = "[Notice]" constant Alert (line 14) | Alert = "[Alert]" constant Error (line 15) | Error = "[Error]" constant Warning (line 16) | Warning = "[Warning]" constant Critical (line 17) | Critical = "[Critical]" constant Chat (line 18) | Chat = "[Chat]" constant StackTrace (line 19) | StackTrace = "[Stack Trace]" type Logger (line 27) | type Logger struct method AddOutput (line 76) | func (logger *Logger) AddOutput(f func(message []byte)) { method Write (line 84) | func (logger *Logger) Write(message []byte) { method WriteString (line 92) | func (logger *Logger) WriteString(message string) { method process (line 99) | func (logger *Logger) process() { method Wait (line 117) | func (logger *Logger) Wait() { method Notice (line 125) | func (logger *Logger) Notice(messages ...interface{}) { method Debug (line 130) | func (logger *Logger) Debug(messages ...interface{}) { method Info (line 135) | func (logger *Logger) Info(messages ...interface{}) { method Alert (line 140) | func (logger *Logger) Alert(messages ...interface{}) { method Warning (line 145) | func (logger *Logger) Warning(messages ...interface{}) { method Critical (line 150) | func (logger *Logger) Critical(messages ...interface{}) { method Error (line 155) | func (logger *Logger) Error(messages ...interface{}) { method LogChat (line 160) | func (logger *Logger) LogChat(messages ...interface{}) { method LogStack (line 165) | func (logger *Logger) LogStack() { method LogError (line 172) | func (logger *Logger) LogError(err error) { function init (line 55) | func init() { function NewLogger (line 65) | func NewLogger(prefix string, debugMode bool) *Logger { FILE: text/logger_test.go function TestLogger (line 9) | func TestLogger(t *testing.T) { function TestDefault (line 26) | func TestDefault(t *testing.T) { function TestMultipleWait (line 33) | func TestMultipleWait(t *testing.T) { FILE: utils/encryption.go type EncryptionData (line 11) | type EncryptionData struct method ComputeSharedSecret (line 27) | func (data *EncryptionData) ComputeSharedSecret() { method ComputeSecretKeyBytes (line 32) | func (data *EncryptionData) ComputeSecretKeyBytes() { type EncryptionHandler (line 44) | type EncryptionHandler struct method ComputeSendChecksum (line 52) | func (handler *EncryptionHandler) ComputeSendChecksum(d []byte) []byte { function NewEncryptionHandler (line 48) | func NewEncryptionHandler() *EncryptionHandler { FILE: utils/utils.go type EncryptionHeader (line 14) | type EncryptionHeader struct type EncryptionPayload (line 19) | type EncryptionPayload struct function DecodeJwtPayload (line 23) | func DecodeJwtPayload(v string, t interface{}) { function DecodeJwt (line 33) | func DecodeJwt(v string) []string { function ConstructEncryptionJwt (line 49) | func ConstructEncryptionJwt(key *ecdsa.PrivateKey, token []byte) string {