Versions in this module Expand all Collapse all v1 v1.21.1 Jun 12, 2022 v1.20.1 Jun 12, 2022 Changes in this version + const AnimationModeBlocks + const AnimationModeLayers + const AnimationModeNone + const CommandArgEnum + const CommandArgSoftEnum + const CommandArgSuffixed + const CommandArgTypeBlockPosition + const CommandArgTypeCommand + const CommandArgTypeFilepath + const CommandArgTypeFloat + const CommandArgTypeInt + const CommandArgTypeJSON + const CommandArgTypeMessage + const CommandArgTypeOperator + const CommandArgTypePosition + const CommandArgTypeRawText + const CommandArgTypeString + const CommandArgTypeTarget + const CommandArgTypeValue + const CommandArgTypeWildcardInt + const CommandArgTypeWildcardTarget + const CommandArgValid + const CommandEnumConstraintCheatsEnabled + const CommandEnumConstraintHostPermissions + const CommandEnumConstraintOperatorPermissions + const CommandOriginAutomationPlayer + const CommandOriginBlock + const CommandOriginClientAutomation + const CommandOriginDedicatedServer + const CommandOriginDevConsole + const CommandOriginEntity + const CommandOriginEntityServer + const CommandOriginExecutor + const CommandOriginGameArgument + const CommandOriginGameDirectorEntityServer + const CommandOriginMinecartBlock + const CommandOriginPlayer + const CommandOriginPrecompiled + const CommandOriginScript + const CommandOriginTest + const CommandOriginVirtual + const CurrentProtocol + const CurrentVersion + const EntityDataBlockPos + const EntityDataByte + const EntityDataCompoundTag + const EntityDataFloat32 + const EntityDataInt16 + const EntityDataInt32 + const EntityDataInt64 + const EntityDataString + const EntityDataVec3 + const EntityLinkPassenger + const EntityLinkRemove + const EntityLinkRider + const ExpressionTypeBlinking + const ExpressionTypeLinear + const GeneratorEnd + const GeneratorFlat + const GeneratorLegacy + const GeneratorNether + const GeneratorOverworld + const GeneratorVoid + const HeightMapDataHasData + const HeightMapDataNone + const HeightMapDataTooHigh + const HeightMapDataTooLow + const InventoryActionSourceContainer + const InventoryActionSourceCreative + const InventoryActionSourceTODO + const InventoryActionSourceWorld + const ItemStackResponseStatusError + const ItemStackResponseStatusOK + const MapObjectTypeBlock + const MapObjectTypeEntity + const ParamOptionAsChainedCommand + const ParamOptionCollapseEnum + const ParamOptionHasSemanticConstraint + const PlayerActionAbortBreak + const PlayerActionBuildDenied + const PlayerActionChangeSkin + const PlayerActionContinueDestroyBlock + const PlayerActionCrackBreak + const PlayerActionCreativePlayerDestroyBlock + const PlayerActionDimensionChangeDone + const PlayerActionDropItem + const PlayerActionGetUpdatedBlock + const PlayerActionJump + const PlayerActionPredictDestroyBlock + const PlayerActionRespawn + const PlayerActionSetEnchantmentSeed + const PlayerActionStartBreak + const PlayerActionStartBuildingBlock + const PlayerActionStartGlide + const PlayerActionStartItemUseOn + const PlayerActionStartSleeping + const PlayerActionStartSneak + const PlayerActionStartSpinAttack + const PlayerActionStartSprint + const PlayerActionStartSwimming + const PlayerActionStopBreak + const PlayerActionStopGlide + const PlayerActionStopItemUseOn + const PlayerActionStopSleeping + const PlayerActionStopSneak + const PlayerActionStopSpinAttack + const PlayerActionStopSprint + const PlayerActionStopSwimming + const PlayerMovementModeClient + const PlayerMovementModeServer + const PlayerMovementModeServerWithRewind + const RecipeFurnace + const RecipeFurnaceData + const RecipeMulti + const RecipeShaped + const RecipeShapedChemistry + const RecipeShapeless + const RecipeShapelessChemistry + const RecipeShulkerBox + const ReleaseItemActionConsume + const ReleaseItemActionRelease + const ScoreboardIdentityEntity + const ScoreboardIdentityFakePlayer + const ScoreboardIdentityPlayer + const SkinAnimationBody128x128 + const SkinAnimationBody32x32 + const SkinAnimationHead + const StackRequestActionBeaconPayment + const StackRequestActionConsume + const StackRequestActionCraftCreative + const StackRequestActionCraftGrindstone + const StackRequestActionCraftLoom + const StackRequestActionCraftNonImplementedDeprecated + const StackRequestActionCraftRecipe + const StackRequestActionCraftRecipeAuto + const StackRequestActionCraftRecipeOptional + const StackRequestActionCraftResultsDeprecated + const StackRequestActionCreate + const StackRequestActionDestroy + const StackRequestActionDrop + const StackRequestActionLabTableCombine + const StackRequestActionMineBlock + const StackRequestActionPlace + const StackRequestActionPlaceInContainer + const StackRequestActionSwap + const StackRequestActionTake + const StackRequestActionTakeOutContainer + const StructureMirrorBothAxes + const StructureMirrorNone + const StructureMirrorXAxis + const StructureMirrorZAxis + const StructureRotationNone + const StructureRotationRotate180 + const StructureRotationRotate270 + const StructureRotationRotate90 + const SubChunkRequestModeLegacy + const SubChunkRequestModeLimited + const SubChunkRequestModeLimitless + const SubChunkResultChunkNotFound + const SubChunkResultIndexOutOfBounds + const SubChunkResultInvalidDimension + const SubChunkResultPlayerNotFound + const SubChunkResultSuccess + const SubChunkResultSuccessAllAir + const SubChunkResultUndefined + const UseItemActionBreakBlock + const UseItemActionClickAir + const UseItemActionClickBlock + const UseItemOnEntityActionAttack + const UseItemOnEntityActionInteract + const WindowIDArmour + const WindowIDInventory + const WindowIDOffHand + const WindowIDUI + func Animation(r IO, x *SkinAnimation) + func Attributes(r *Reader, x *[]Attribute) + func BehaviourPackInformation(r IO, x *BehaviourPackInfo) + func Blob(r IO, x *CacheBlob) + func Block(r IO, x *BlockEntry) + func BlockAction(r IO, x *PlayerBlockAction) + func BlockChange(r IO, x *BlockChangeEntry) + func CommandData(r *Reader, x *Command, enums []CommandEnum, suffixes []string) + func CommandMessage(r *Reader, x *CommandOutputMessage) + func CommandOriginData(r IO, x *CommandOrigin) + func CommandParam(r *Reader, x *CommandParameter, enums []CommandEnum, suffixes []string) + func CreativeEntry(r IO, x *CreativeItem) + func DimensionDef(r IO, x *DimensionDefinition) + func EducationResourceURI(r IO, x *EducationSharedResourceURI) + func Enchant(r IO, x *EnchantmentInstance) + func EnchantOption(r *Reader, x *EnchantmentOption) + func EntityLinkAction(r IO, x *EntityLink) + func EntityLinks(r *Reader, x *[]EntityLink) + func EnumConstraint(r *Reader, x *CommandEnumConstraint, enums []CommandEnum, enumValues []string) + func Experiment(r IO, x *ExperimentData) + func GameRules(r *Reader, x *[]GameRule) + func InitialAttributes(r *Reader, x *[]Attribute) + func InvAction(r IO, x *InventoryAction) + func Item(r IO, x *ItemEntry) + func ItemComponents(r IO, x *ItemComponentEntry) + func ItemEnchants(r *Reader, x *ItemEnchantments) + func MapDeco(r IO, x *MapDecoration) + func MapTrackedObj(r IO, x *MapTrackedObject) + func PlayerAddEntry(r *Reader, x *PlayerListEntry) + func PlayerMoveSettings(r IO, x *PlayerMovementSettings) + func PotContainerChangeRecipe(r IO, x *PotionContainerChangeRecipe) + func PotRecipe(r IO, x *PotionRecipe) + func RecipeIngredient(r IO, x *RecipeIngredientItem) + func ScoreEntry(r IO, x *ScoreboardEntry, modify bool) + func SerialisedSkin(r *Reader, x *Skin) + func SetItemSlot(r IO, x *LegacySetItemSlot) + func SkinPiece(r IO, x *PersonaPiece) + func SkinPieceTint(r *Reader, x *PersonaPieceTintColour) + func StackContainerInfo(r *Reader, x *StackResponseContainerInfo) + func StackPack(r IO, x *StackResourcePack) + func StackReqSlotInfo(r IO, x *StackRequestSlotInfo) + func StackRequest(r *Reader, x *ItemStackRequest) + func StackResponse(r *Reader, x *ItemStackResponse) + func StackSlotInfo(r IO, x *StackResponseSlotInfo) + func StructSettings(r IO, x *StructureSettings) + func TexturePackInformation(r IO, x *TexturePackInfo) + func Varint32(src io.ByteReader, x *int32) error + func Varint64(src io.ByteReader, x *int64) error + func Varuint32(src io.ByteReader, x *uint32) error + func Varuint64(src io.ByteReader, x *uint64) error + func WriteAttributes(w *Writer, x *[]Attribute) + func WriteCommandData(w *Writer, x *Command, enumIndices map[string]int, ...) + func WriteCommandMessage(w *Writer, x *CommandOutputMessage) + func WriteCommandParam(w *Writer, x *CommandParameter, enumIndices map[string]int, ...) + func WriteEnchantOption(w *Writer, x *EnchantmentOption) + func WriteEntityLinks(w *Writer, x *[]EntityLink) + func WriteEnumConstraint(w *Writer, x *CommandEnumConstraint, enumIndices map[string]int, ...) + func WriteGameRules(w *Writer, x *[]GameRule) + func WriteInitialAttributes(w *Writer, x *[]Attribute) + func WriteItemEnchants(w *Writer, x *ItemEnchantments) + func WritePlayerAddEntry(w *Writer, x *PlayerListEntry) + func WriteSerialisedSkin(w *Writer, x *Skin) + func WriteSkinPieceTint(w *Writer, x *PersonaPieceTintColour) + func WriteStackContainerInfo(w *Writer, x *StackResponseContainerInfo) + func WriteStackRequest(w *Writer, x *ItemStackRequest) + func WriteStackResponse(w *Writer, x *ItemStackResponse) + func WriteVarint32(dst io.ByteWriter, x int32) error + func WriteVarint64(dst io.ByteWriter, x int64) error + func WriteVaruint32(dst io.ByteWriter, x uint32) error + func WriteVaruint64(dst io.ByteWriter, x uint64) error + type AchievementAwardedEventData struct + AchievementID int32 + func (a *AchievementAwardedEventData) Marshal(w *Writer) + func (a *AchievementAwardedEventData) Unmarshal(r *Reader) + type AgentCommandEventData struct + AgentResult int32 + Command string + DataKey string + DataValue int32 + Output string + func (a *AgentCommandEventData) Marshal(w *Writer) + func (a *AgentCommandEventData) Unmarshal(r *Reader) + type Attribute struct + Default float32 + Max float32 + Min float32 + Name string + Value float32 + type AutoCraftRecipeStackRequestAction struct + RecipeNetworkID uint32 + TimesCrafted byte + func (a *AutoCraftRecipeStackRequestAction) Marshal(w *Writer) + func (a *AutoCraftRecipeStackRequestAction) Unmarshal(r *Reader) + type BeaconPaymentStackRequestAction struct + PrimaryEffect int32 + SecondaryEffect int32 + func (a *BeaconPaymentStackRequestAction) Marshal(w *Writer) + func (a *BeaconPaymentStackRequestAction) Unmarshal(r *Reader) + type BehaviourPackInfo struct + ContentIdentity string + ContentKey string + HasScripts bool + Size uint64 + SubPackName string + UUID string + Version string + type BellUsedEventData struct + ItemID int32 + func (b *BellUsedEventData) Marshal(w *Writer) + func (b *BellUsedEventData) Unmarshal(r *Reader) + type BlockChangeEntry struct + BlockRuntimeID uint32 + Flags uint32 + SyncedUpdateEntityUniqueID uint64 + SyncedUpdateType uint32 + type BlockEntry struct + Name string + Properties map[string]any + type BlockPos [3]int32 + func (pos BlockPos) X() int32 + func (pos BlockPos) Y() int32 + func (pos BlockPos) Z() int32 + type BossKilledEventData struct + BossEntityUniqueID int64 + InteractionEntityType int32 + PlayerPartySize int32 + func (b *BossKilledEventData) Marshal(w *Writer) + func (b *BossKilledEventData) Unmarshal(r *Reader) + type CacheBlob struct + Hash uint64 + Payload []byte + type CauldronInteractEventData struct + BlockInteractionType int32 + ItemID int32 + func (c *CauldronInteractEventData) Marshal(w *Writer) + func (c *CauldronInteractEventData) Unmarshal(r *Reader) + type CauldronUsedEventData struct + Colour int32 + FillLevel int32 + PotionID int32 + func (c *CauldronUsedEventData) Marshal(w *Writer) + func (c *CauldronUsedEventData) Unmarshal(r *Reader) + type ChunkPos [2]int32 + func (pos ChunkPos) X() int32 + func (pos ChunkPos) Z() int32 + type Command struct + Aliases []string + Description string + Flags uint16 + Name string + Overloads []CommandOverload + PermissionLevel byte + type CommandEnum struct + Dynamic bool + Options []string + Type string + type CommandEnumConstraint struct + Constraints []byte + EnumName string + EnumOption string + type CommandOrigin struct + Origin uint32 + PlayerUniqueID int64 + RequestID string + UUID uuid.UUID + type CommandOutputMessage struct + Message string + Parameters []string + Success bool + type CommandOverload struct + Parameters []CommandParameter + type CommandParameter struct + Enum CommandEnum + Name string + Optional bool + Options byte + Suffix string + Type uint32 + type ComposterInteractEventData struct + BlockInteractionType int32 + ItemID int32 + func (c *ComposterInteractEventData) Marshal(w *Writer) + func (c *ComposterInteractEventData) Unmarshal(r *Reader) + type ConsumeStackRequestAction struct + type CraftCreativeStackRequestAction struct + CreativeItemNetworkID uint32 + func (a *CraftCreativeStackRequestAction) Marshal(w *Writer) + func (a *CraftCreativeStackRequestAction) Unmarshal(r *Reader) + type CraftGrindstoneRecipeStackRequestAction struct + Cost int32 + RecipeNetworkID uint32 + func (c *CraftGrindstoneRecipeStackRequestAction) Marshal(w *Writer) + func (c *CraftGrindstoneRecipeStackRequestAction) Unmarshal(r *Reader) + type CraftLoomRecipeStackRequestAction struct + Pattern string + func (c *CraftLoomRecipeStackRequestAction) Marshal(w *Writer) + func (c *CraftLoomRecipeStackRequestAction) Unmarshal(r *Reader) + type CraftNonImplementedStackRequestAction struct + func (*CraftNonImplementedStackRequestAction) Marshal(*Writer) + func (*CraftNonImplementedStackRequestAction) Unmarshal(*Reader) + type CraftRecipeOptionalStackRequestAction struct + FilterStringIndex int32 + RequestID int32 + func (c *CraftRecipeOptionalStackRequestAction) Marshal(w *Writer) + func (c *CraftRecipeOptionalStackRequestAction) Unmarshal(r *Reader) + type CraftRecipeStackRequestAction struct + RecipeNetworkID uint32 + func (a *CraftRecipeStackRequestAction) Marshal(w *Writer) + func (a *CraftRecipeStackRequestAction) Unmarshal(r *Reader) + type CraftResultsDeprecatedStackRequestAction struct + ResultItems []ItemStack + TimesCrafted byte + func (a *CraftResultsDeprecatedStackRequestAction) Marshal(w *Writer) + func (a *CraftResultsDeprecatedStackRequestAction) Unmarshal(r *Reader) + type CreateStackRequestAction struct + ResultsSlot byte + func (a *CreateStackRequestAction) Marshal(w *Writer) + func (a *CreateStackRequestAction) Unmarshal(r *Reader) + type CreativeItem struct + CreativeItemNetworkID uint32 + Item ItemStack + type DestroyStackRequestAction struct + Count byte + Source StackRequestSlotInfo + func (a *DestroyStackRequestAction) Marshal(w *Writer) + func (a *DestroyStackRequestAction) Unmarshal(r *Reader) + type DeviceOS int + const DeviceAndroid + const DeviceDedicated + const DeviceFireOS + const DeviceGearVR + const DeviceHololens + const DeviceIOS + const DeviceLinux + const DeviceNX + const DeviceOSX + const DeviceOrbis + const DeviceTVOS + const DeviceWP + const DeviceWin10 + const DeviceWin32 + const DeviceXBOX + type DimensionDefinition struct + Generator int32 + Name string + Range [2]int32 + type DropStackRequestAction struct + Count byte + Randomly bool + Source StackRequestSlotInfo + func (a *DropStackRequestAction) Marshal(w *Writer) + func (a *DropStackRequestAction) Unmarshal(r *Reader) + type EducationExternalLinkSettings struct + DisplayName string + URL string + type EducationSharedResourceURI struct + ButtonName string + LinkURI string + type EnchantmentInstance struct + Level byte + Type byte + type EnchantmentOption struct + Cost uint32 + Enchantments ItemEnchantments + Name string + RecipeNetworkID uint32 + type EntityDefinitionTriggerEventData struct + EventName string + func (e *EntityDefinitionTriggerEventData) Marshal(w *Writer) + func (e *EntityDefinitionTriggerEventData) Unmarshal(r *Reader) + type EntityInteractEventData struct + EntityColour uint8 + EntityVariant int32 + InteractionEntityType int32 + InteractionType int32 + func (e *EntityInteractEventData) Marshal(w *Writer) + func (e *EntityInteractEventData) Unmarshal(r *Reader) + type EntityLink struct + Immediate bool + RiddenEntityUniqueID int64 + RiderEntityUniqueID int64 + RiderInitiated bool + Type byte + type EventData interface + Marshal func(w *Writer) + Unmarshal func(r *Reader) + type ExperimentData struct + Enabled bool + Name string + type ExtractHoneyEventData struct + func (*ExtractHoneyEventData) Marshal(*Writer) + func (*ExtractHoneyEventData) Unmarshal(*Reader) + type FishBucketedEventData struct + BucketedEntityType int32 + Pattern int32 + Preset int32 + Release bool + func (f *FishBucketedEventData) Marshal(w *Writer) + func (f *FishBucketedEventData) Unmarshal(r *Reader) + type FurnaceDataRecipe FurnaceRecipe + func (recipe *FurnaceDataRecipe) Marshal(w *Writer) + func (recipe *FurnaceDataRecipe) Unmarshal(r *Reader) + type FurnaceRecipe struct + Block string + InputType ItemType + Output ItemStack + func (recipe *FurnaceRecipe) Marshal(w *Writer) + func (recipe *FurnaceRecipe) Unmarshal(r *Reader) + type GameRule struct + CanBeModifiedByPlayer bool + Name string + Value any + type IO interface + BEInt32 func(x *int32) + BlockPos func(x *BlockPos) + Bool func(x *bool) + ByteFloat func(x *float32) + ByteSlice func(x *[]byte) + Bytes func(p *[]byte) + ChunkPos func(x *ChunkPos) + EntityMetadata func(x *map[uint32]any) + Float32 func(x *float32) + Int16 func(x *int16) + Int32 func(x *int32) + Int64 func(x *int64) + Int8 func(x *int8) + InvalidValue func(value any, forField, reason string) + Item func(x *ItemStack) + ItemInstance func(i *ItemInstance) + MaterialReducer func(x *MaterialReducer) + NBT func(m *map[string]any, encoding nbt.Encoding) + NBTList func(m *[]any, encoding nbt.Encoding) + String func(x *string) + StringUTF func(x *string) + SubChunkPos func(x *SubChunkPos) + UBlockPos func(x *BlockPos) + UUID func(x *uuid.UUID) + Uint16 func(x *uint16) + Uint32 func(x *uint32) + Uint64 func(x *uint64) + Uint8 func(x *uint8) + UnknownEnumOption func(value any, enum string) + VarRGBA func(x *color.RGBA) + Varint32 func(x *int32) + Varint64 func(x *int64) + Varuint32 func(x *uint32) + Varuint64 func(x *uint64) + Vec2 func(x *mgl32.Vec2) + Vec3 func(x *mgl32.Vec3) + type InventoryAction struct + InventorySlot uint32 + NewItem ItemInstance + OldItem ItemInstance + SourceFlags uint32 + SourceType uint32 + WindowID int32 + type InventoryTransactionData interface + Marshal func(w *Writer) + Unmarshal func(r *Reader) + type ItemComponentEntry struct + Data map[string]any + Name string + type ItemEnchantments struct + Enchantments [3][]EnchantmentInstance + Slot int32 + type ItemEntry struct + ComponentBased bool + Name string + RuntimeID int16 + type ItemInstance struct + Stack ItemStack + StackNetworkID int32 + type ItemStack struct + BlockRuntimeID int32 + CanBePlacedOn []string + CanBreak []string + Count uint16 + HasNetworkID bool + NBTData map[string]any + type ItemStackRequest struct + Actions []StackRequestAction + FilterStrings []string + RequestID int32 + type ItemStackResponse struct + ContainerInfo []StackResponseContainerInfo + RequestID int32 + Status uint8 + type ItemType struct + MetadataValue uint32 + NetworkID int32 + type LabTableCombineStackRequestAction struct + func (a *LabTableCombineStackRequestAction) Marshal(*Writer) + func (a *LabTableCombineStackRequestAction) Unmarshal(*Reader) + type LegacySetItemSlot struct + ContainerID byte + Slots []byte + type MapDecoration struct + Colour color.RGBA + Label string + Rotation byte + Type byte + X byte + Y byte + type MapTrackedObject struct + BlockPosition BlockPos + EntityUniqueID int64 + Type int32 + type MaterialReducer struct + InputItem ItemType + Outputs []MaterialReducerOutput + type MaterialReducerOutput struct + Count int32 + NetworkID int32 + type MineBlockStackRequestAction struct + HotbarSlot int32 + PredictedDurability int32 + StackNetworkID int32 + func (a *MineBlockStackRequestAction) Marshal(w *Writer) + func (a *MineBlockStackRequestAction) Unmarshal(r *Reader) + type MismatchTransactionData struct + func (*MismatchTransactionData) Marshal(*Writer) + func (*MismatchTransactionData) Unmarshal(*Reader) + type MobBornEventData struct + Colour uint8 + EntityType int32 + Variant int32 + func (m *MobBornEventData) Marshal(w *Writer) + func (m *MobBornEventData) Unmarshal(r *Reader) + type MobKilledEventData struct + EntityDamageCause int32 + KillerEntityType int32 + KillerEntityUniqueID int64 + VictimEntityUniqueID int64 + VillagerDisplayName string + VillagerTradeTier int32 + func (m *MobKilledEventData) Marshal(w *Writer) + func (m *MobKilledEventData) Unmarshal(r *Reader) + type MovementAnomalyEventData struct + AveragePositionDelta float32 + CheatingScore float32 + EventType uint8 + MaxPositionDelta float32 + MinPositionDelta float32 + TotalPositionDelta float32 + func (m *MovementAnomalyEventData) Marshal(w *Writer) + func (m *MovementAnomalyEventData) Unmarshal(r *Reader) + type MovementCorrectedEventData struct + CheatingScore float32 + DistanceThreshold float32 + DurationThreshold int32 + PositionDelta float32 + ScoreThreshold float32 + func (m *MovementCorrectedEventData) Marshal(w *Writer) + func (m *MovementCorrectedEventData) Unmarshal(r *Reader) + type MultiRecipe struct + RecipeNetworkID uint32 + UUID uuid.UUID + func (recipe *MultiRecipe) Marshal(w *Writer) + func (recipe *MultiRecipe) Unmarshal(r *Reader) + type NormalTransactionData struct + func (*NormalTransactionData) Marshal(*Writer) + func (*NormalTransactionData) Unmarshal(*Reader) + type PatternRemovedEventData struct + AuxValue int32 + ItemID int32 + PatternColour int32 + PatternIndex int32 + PatternsSize int32 + func (p *PatternRemovedEventData) Marshal(w *Writer) + func (p *PatternRemovedEventData) Unmarshal(r *Reader) + type PersonaPiece struct + Default bool + PackID string + PieceID string + PieceType string + ProductID string + type PersonaPieceTintColour struct + Colours []string + PieceType string + type PetDiedEventData struct + EntityDamageCause int32 + KilledByOwner bool + KillerEntityUniqueID int64 + PetEntityType int32 + PetEntityUniqueID int64 + func (p *PetDiedEventData) Marshal(w *Writer) + func (p *PetDiedEventData) Unmarshal(r *Reader) + type PlaceInContainerStackRequestAction struct + func (a *PlaceInContainerStackRequestAction) Marshal(w *Writer) + func (a *PlaceInContainerStackRequestAction) Unmarshal(r *Reader) + type PlaceStackRequestAction struct + func (a *PlaceStackRequestAction) Marshal(w *Writer) + func (a *PlaceStackRequestAction) Unmarshal(r *Reader) + type PlayerBlockAction struct + Action int32 + BlockPos BlockPos + Face int32 + type PlayerDiedEventData struct + AttackerEntityID int32 + EntityDamageCause int32 + func (p *PlayerDiedEventData) Marshal(w *Writer) + func (p *PlayerDiedEventData) Unmarshal(r *Reader) + type PlayerListEntry struct + BuildPlatform int32 + EntityUniqueID int64 + Host bool + PlatformChatID string + Skin Skin + Teacher bool + UUID uuid.UUID + Username string + XUID string + type PlayerMovementSettings struct + MovementType int32 + RewindHistorySize int32 + ServerAuthoritativeBlockBreaking bool + type PortalBuiltEventData struct + DimensionID int32 + func (p *PortalBuiltEventData) Marshal(w *Writer) + func (p *PortalBuiltEventData) Unmarshal(r *Reader) + type PortalUsedEventData struct + FromDimensionID int32 + ToDimensionID int32 + func (p *PortalUsedEventData) Marshal(w *Writer) + func (p *PortalUsedEventData) Unmarshal(r *Reader) + type PotionContainerChangeRecipe struct + InputItemID int32 + OutputItemID int32 + ReagentItemID int32 + type PotionRecipe struct + InputPotionID int32 + InputPotionMetadata int32 + OutputPotionID int32 + OutputPotionMetadata int32 + ReagentItemID int32 + ReagentItemMetadata int32 + type RaidUpdateEventData struct + CurrentRaidWave int32 + TotalRaidWaves int32 + WonRaid bool + func (ra *RaidUpdateEventData) Marshal(w *Writer) + func (ra *RaidUpdateEventData) Unmarshal(r *Reader) + type Reader struct + func NewReader(r interface{ ... }, shieldID int32) *Reader + func (r *Reader) BEInt32(x *int32) + func (r *Reader) BlockPos(x *BlockPos) + func (r *Reader) Bool(x *bool) + func (r *Reader) ByteFloat(x *float32) + func (r *Reader) ByteSlice(x *[]byte) + func (r *Reader) Bytes(p *[]byte) + func (r *Reader) ChunkPos(x *ChunkPos) + func (r *Reader) EntityMetadata(x *map[uint32]any) + func (r *Reader) Float32(x *float32) + func (r *Reader) Int16(x *int16) + func (r *Reader) Int32(x *int32) + func (r *Reader) Int64(x *int64) + func (r *Reader) Int8(x *int8) + func (r *Reader) InvalidValue(value any, forField, reason string) + func (r *Reader) Item(x *ItemStack) + func (r *Reader) ItemInstance(i *ItemInstance) + func (r *Reader) LimitInt32(value int32, min, max int32) + func (r *Reader) LimitUint32(value uint32, max uint32) + func (r *Reader) MaterialReducer(m *MaterialReducer) + func (r *Reader) NBT(m *map[string]any, encoding nbt.Encoding) + func (r *Reader) NBTList(m *[]any, encoding nbt.Encoding) + func (r *Reader) PlayerInventoryAction(x *UseItemTransactionData) + func (r *Reader) String(x *string) + func (r *Reader) StringUTF(x *string) + func (r *Reader) SubChunkPos(x *SubChunkPos) + func (r *Reader) UBlockPos(x *BlockPos) + func (r *Reader) UUID(x *uuid.UUID) + func (r *Reader) Uint16(x *uint16) + func (r *Reader) Uint32(x *uint32) + func (r *Reader) Uint64(x *uint64) + func (r *Reader) Uint8(x *uint8) + func (r *Reader) UnknownEnumOption(value any, enum string) + func (r *Reader) VarRGBA(x *color.RGBA) + func (r *Reader) Varint32(x *int32) + func (r *Reader) Varint64(x *int64) + func (r *Reader) Varuint32(x *uint32) + func (r *Reader) Varuint64(x *uint64) + func (r *Reader) Vec2(x *mgl32.Vec2) + func (r *Reader) Vec3(x *mgl32.Vec3) + type Recipe interface + Marshal func(w *Writer) + Unmarshal func(r *Reader) + type RecipeIngredientItem struct + Count int32 + MetadataValue int32 + NetworkID int32 + type ReleaseItemTransactionData struct + ActionType uint32 + HeadPosition mgl32.Vec3 + HeldItem ItemInstance + HotBarSlot int32 + func (data *ReleaseItemTransactionData) Marshal(w *Writer) + func (data *ReleaseItemTransactionData) Unmarshal(r *Reader) + type ScoreboardEntry struct + DisplayName string + EntityUniqueID int64 + EntryID int64 + IdentityType byte + ObjectiveName string + Score int32 + type ScoreboardIdentityEntry struct + EntityUniqueID int64 + EntryID int64 + type ShapedChemistryRecipe ShapedRecipe + func (recipe *ShapedChemistryRecipe) Marshal(w *Writer) + func (recipe *ShapedChemistryRecipe) Unmarshal(r *Reader) + type ShapedRecipe struct + Block string + Height int32 + Input []RecipeIngredientItem + Output []ItemStack + Priority int32 + RecipeID string + RecipeNetworkID uint32 + UUID uuid.UUID + Width int32 + func (recipe *ShapedRecipe) Marshal(w *Writer) + func (recipe *ShapedRecipe) Unmarshal(r *Reader) + type ShapelessChemistryRecipe ShapelessRecipe + func (recipe *ShapelessChemistryRecipe) Marshal(w *Writer) + func (recipe *ShapelessChemistryRecipe) Unmarshal(r *Reader) + type ShapelessRecipe struct + Block string + Input []RecipeIngredientItem + Output []ItemStack + Priority int32 + RecipeID string + RecipeNetworkID uint32 + UUID uuid.UUID + func (recipe *ShapelessRecipe) Marshal(w *Writer) + func (recipe *ShapelessRecipe) Unmarshal(r *Reader) + type ShulkerBoxRecipe ShapelessRecipe + func (recipe *ShulkerBoxRecipe) Marshal(w *Writer) + func (recipe *ShulkerBoxRecipe) Unmarshal(r *Reader) + type Skin struct + AnimationData []byte + Animations []SkinAnimation + ArmSize string + CapeData []byte + CapeID string + CapeImageHeight uint32 + CapeImageWidth uint32 + FullID string + GeometryDataEngineVersion []byte + PersonaCapeOnClassicSkin bool + PersonaPieces []PersonaPiece + PersonaSkin bool + PieceTintColours []PersonaPieceTintColour + PlayFabID string + PremiumSkin bool + PrimaryUser bool + SkinColour string + SkinData []byte + SkinGeometry []byte + SkinID string + SkinImageHeight uint32 + SkinImageWidth uint32 + SkinResourcePatch []byte + Trusted bool + type SkinAnimation struct + AnimationType uint32 + ExpressionType uint32 + FrameCount float32 + ImageData []byte + ImageHeight uint32 + ImageWidth uint32 + type SlashCommandExecutedEventData struct + CommandName string + OutputMessages []string + SuccessCount int32 + func (s *SlashCommandExecutedEventData) Marshal(w *Writer) + func (s *SlashCommandExecutedEventData) Unmarshal(r *Reader) + type StackRequestAction interface + Marshal func(w *Writer) + Unmarshal func(r *Reader) + type StackRequestSlotInfo struct + ContainerID byte + Slot byte + StackNetworkID int32 + type StackResourcePack struct + SubPackName string + UUID string + Version string + type StackResponseContainerInfo struct + ContainerID byte + SlotInfo []StackResponseSlotInfo + type StackResponseSlotInfo struct + Count byte + CustomName string + DurabilityCorrection int32 + HotbarSlot byte + Slot byte + StackNetworkID int32 + type StructureSettings struct + AnimationDuration float32 + AnimationMode byte + IgnoreBlocks bool + IgnoreEntities bool + Integrity float32 + LastEditingPlayerUniqueID int64 + Mirror byte + Offset BlockPos + PaletteName string + Pivot mgl32.Vec3 + Rotation byte + Seed uint32 + Size BlockPos + type SubChunkEntry struct + BlobHash uint64 + HeightMapData []int8 + HeightMapType byte + Offset [3]int8 + RawPayload []byte + Result byte + type SubChunkPos [3]int32 + func (pos SubChunkPos) X() int32 + func (pos SubChunkPos) Y() int32 + func (pos SubChunkPos) Z() int32 + type SwapStackRequestAction struct + Destination StackRequestSlotInfo + Source StackRequestSlotInfo + func (a *SwapStackRequestAction) Marshal(w *Writer) + func (a *SwapStackRequestAction) Unmarshal(r *Reader) + type TakeOutContainerStackRequestAction struct + func (a *TakeOutContainerStackRequestAction) Marshal(w *Writer) + func (a *TakeOutContainerStackRequestAction) Unmarshal(r *Reader) + type TakeStackRequestAction struct + func (a *TakeStackRequestAction) Marshal(w *Writer) + func (a *TakeStackRequestAction) Unmarshal(r *Reader) + type TexturePackInfo struct + ContentIdentity string + ContentKey string + HasScripts bool + RTXEnabled bool + Size uint64 + SubPackName string + UUID string + Version string + type UseItemOnEntityTransactionData struct + ActionType uint32 + ClickedPosition mgl32.Vec3 + HeldItem ItemInstance + HotBarSlot int32 + Position mgl32.Vec3 + TargetEntityRuntimeID uint64 + func (data *UseItemOnEntityTransactionData) Marshal(w *Writer) + func (data *UseItemOnEntityTransactionData) Unmarshal(r *Reader) + type UseItemTransactionData struct + ActionType uint32 + Actions []InventoryAction + BlockFace int32 + BlockPosition BlockPos + BlockRuntimeID uint32 + ClickedPosition mgl32.Vec3 + HeldItem ItemInstance + HotBarSlot int32 + LegacyRequestID int32 + LegacySetItemSlots []LegacySetItemSlot + Position mgl32.Vec3 + func (data *UseItemTransactionData) Marshal(w *Writer) + func (data *UseItemTransactionData) Unmarshal(r *Reader) + type Writer struct + func NewWriter(w interface{ ... }, shieldID int32) *Writer + func (w *Writer) BEInt32(x *int32) + func (w *Writer) BlockPos(x *BlockPos) + func (w *Writer) Bool(x *bool) + func (w *Writer) ByteFloat(x *float32) + func (w *Writer) ByteSlice(x *[]byte) + func (w *Writer) Bytes(x *[]byte) + func (w *Writer) ChunkPos(x *ChunkPos) + func (w *Writer) EntityMetadata(x *map[uint32]any) + func (w *Writer) Float32(x *float32) + func (w *Writer) Int16(x *int16) + func (w *Writer) Int32(x *int32) + func (w *Writer) Int64(x *int64) + func (w *Writer) Int8(x *int8) + func (w *Writer) InvalidValue(value any, forField, reason string) + func (w *Writer) Item(x *ItemStack) + func (w *Writer) ItemInstance(i *ItemInstance) + func (w *Writer) MaterialReducer(m *MaterialReducer) + func (w *Writer) NBT(x *map[string]any, encoding nbt.Encoding) + func (w *Writer) NBTList(x *[]any, encoding nbt.Encoding) + func (w *Writer) PlayerInventoryAction(x *UseItemTransactionData) + func (w *Writer) String(x *string) + func (w *Writer) StringUTF(x *string) + func (w *Writer) SubChunkPos(x *SubChunkPos) + func (w *Writer) UBlockPos(x *BlockPos) + func (w *Writer) UUID(x *uuid.UUID) + func (w *Writer) Uint16(x *uint16) + func (w *Writer) Uint32(x *uint32) + func (w *Writer) Uint64(x *uint64) + func (w *Writer) Uint8(x *uint8) + func (w *Writer) UnknownEnumOption(value any, enum string) + func (w *Writer) VarRGBA(x *color.RGBA) + func (w *Writer) Varint32(x *int32) + func (w *Writer) Varint64(x *int64) + func (w *Writer) Varuint32(x *uint32) + func (w *Writer) Varuint64(x *uint64) + func (w *Writer) Vec2(x *mgl32.Vec2) + func (w *Writer) Vec3(x *mgl32.Vec3)