# Functions
CommandOriginData reads/writes a CommandOrigin x using IO r.
FuncIOSlice reads/writes a slice of T using a function f with a varuint32 length prefix.
FuncIOSliceOfLen reads/writes the elements of a slice of type T with length l using func f.
FuncIOSliceUint32Length reads/writes a slice of T using a function with a uint32 length prefix.
FuncSlice reads/writes a slice of T using function f with a varuint32 length prefix.
FuncSliceOfLen reads/writes the elements of a slice of type T with length l using func f.
FuncSliceUint16Length reads/writes a slice of T using function f with a uint16 length prefix.
FuncSliceUint32Length reads/writes a slice of T using function f with a uint32 length prefix.
NewBitset creates a new Bitset with a specific size.
NewEntityMetadata initializes and returns a new entity metadata map.
NewReader creates a new Reader using the io.ByteReader passed as underlying source to read bytes from.
NewWriter creates a new initialised Writer with an underlying io.ByteWriter to write to.
Option creates an Optional[T] with the value passed.
OptionalFunc reads/writes an Optional[T].
OptionalFuncIO reads/writes an Optional[T].
OptionalMarshaler reads/writes an Optional assuming *T implements Marshaler.
PlayerListRemoveEntry encodes/decodes a PlayerListEntry for removal from the list.
PlayerMoveSettings reads/writes PlayerMovementSettings x to/from IO r.
ScoreboardIdentityClearEntry encodes/decodes a ScoreboardIdentityEntry for clearing the entry.
ScoreRemoveEntry encodes/decodes a ScoreboardEntry x as an entry for removal.
Single reads/writes a single Marshaler x.
Slice reads/writes a slice of T with a varuint32 prefix.
SliceOfLen reads/writes the elements of a slice of type T with length l.
SliceUint16Length reads/writes a slice of T with a uint16 prefix.
SliceUint32Length reads/writes a slice of T with a uint32 prefix.
SliceUint8Length reads/writes a slice of T with a uint8 prefix.
SliceVarint32Length reads/writes a slice of T with a varint32 prefix.
StackReqSlotInfo reads/writes a StackRequestSlotInfo x using IO r.
SubChunkEntryNoCache encodes/decodes a SubChunkEntry assuming the blob cache is not enabled.
Varint32 reads up to 5 bytes from the source buffer passed and sets the integer produced to a pointer.
Varint64 reads up to 10 bytes from the source buffer passed and sets the integer produced to a pointer.
Varuint32 reads up to 5 bytes from the source buffer passed and sets the integer produced to a pointer.
Varuint64 reads up to 10 bytes from the source buffer passed and sets the integer produced to a pointer.
WriteVarint32 writes an int32 to the destination buffer passed with a size of 1-5 bytes.
WriteVarint64 writes an int64 to the destination buffer passed with a size of 1-10 bytes.
WriteVaruint32 writes a uint32 to the destination buffer passed with a size of 1-5 bytes.
WriteVaruint64 writes a uint64 to the destination buffer passed with a size of 1-10 bytes.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
CurrentProtocol is the current protocol version for the version below.
CurrentVersion is the current version of Minecraft as supported by the `packet` package.
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: DeviceGearVR is deprecated as of 1.21.50.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PlayStation.
No description provided by the author
Deprecated: DeviceTVOS is deprecated as of 1.20.10.
No description provided by the author
No description provided by the author
Windows Phone.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EntityLinkPassenger is set for entities being a passenger of a vehicle they enter, such as the back sit of a boat.
EntityLinkRemove is set to remove the link between two entities.
EntityLinkRider is set for entities that have control over the entity they're riding, such as in a minecart.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParamOptionCollapseEnum specifies if the enum (only if the Type is actually an enum type.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AbilityData represents various data about the abilities of a player, such as ability layers or permissions.
AbilityLayer represents the abilities of a specific layer, such as the base layer or the spectator layer.
AchievementAwardedEvent is the event data sent for achievements.
AgentCommandEvent is an event used in Education Edition.
Attribute is an entity attribute, that holds specific data such as the health of the entity.
AttributeModifier temporarily buffs/debuffs a given attribute until the modifier is used.
AttributeValue holds the value of an attribute, including the min and max.
AutoCraftRecipeStackRequestAction is sent by the client similarly to the CraftRecipeStackRequestAction.
BeaconPaymentStackRequestAction is sent by the client when it submits an item to enable effects from a beacon.
BellUsedEvent is the event data sent when a bell is used.
Bitset is a representation of std::bitset<size> being sent over the network, allowing for more than 64 bits to be stored in a single integer.
BlockChangeEntry is used by the UpdateSubChunkBlocks packet.
BlockEntry is an entry for a custom block found in the StartGame packet.
BossKilledEvent is the event data sent when a boss dies.
CacheBlob represents a blob as used in the client side blob cache protocol.
CameraAimAssistCategory is an aim assist category that defines priorities for specific blocks and entities.
CameraAimAssistCategoryGroup is a group of categories which can be used by a CameraAimAssistPreset.
CameraAimAssistItemSettings defines settings for how specific items should behave when using aim assist.
CameraAimAssistPreset defines a base preset that can be extended upon when sending an aim assist.
CameraAimAssistPriorities represents the block and entity specific priorities for targetting.
CameraAimAssistPriority represents a non-default priority for a specific target.
CameraEase represents an easing function that can be used by a CameraInstructionSet.
CameraFadeTimeData represents the time data for a CameraInstructionFade.
CameraInstructionFade represents a camera instruction that fades the screen to a specified colour.
CameraInstructionSet represents a camera instruction that sets the camera to a specified preset and can be extended with easing functions and translations to the camera's position and rotation.
CameraInstructionTarget represents a camera instruction that targets a specific entity.
CameraPreset represents a basic preset that can be extended upon by more complex instructions.
CameraPresetAimAssist represents a preset for aim assist settings.
CarefulRestorationEvent is an event sent by the server when a player performs a careful restoration.
CauldronInteractEvent is the event data sent when a cauldron is interacted with.
CauldronUsedEvent is the event data sent when a cauldron is used.
ChainedSubcommand represents a subcommand that can have chained commands, such as /execute which allows you to run another command as another entity or at a different position etc.
ChainedSubcommandValue represents the value for a chained subcommand argument.
CodeBuilderRuntimeActionEvent is an event sent by the server when a code builder runtime action is performed.
CodeBuilderScoreboardEvent is an event sent by the server when a code builder scoreboard is updated.
Command holds the data that a command requires to be shown to a player client-side.
CommandEnum represents an enum in a command usage.
CommandEnumConstraint is sent in the AvailableCommands packet to limit what values of an enum may be used taking in account things such as whether cheats are enabled.
CommandEnumContext holds context required for encoding command enums.
CommandOrigin holds data that identifies the origin of the requesting of a command.
CommandOutputMessage represents a message sent by a command that holds the output of one of the commands executed.
CommandOverload represents an overload of a command.
CommandParameter represents a single parameter of a command overload, which accepts a certain type of input values.
ComplexAliasItemDescriptor represents an item descriptor that uses a single name to identify the item.
ComposterInteractEvent is the event data sent when a composter is interacted with.
ConsumeStackRequestAction is sent by the client when it uses an item to craft another item.
CraftCreativeStackRequestAction is sent by the client when it takes an item out fo the creative inventory.
CraftGrindstoneRecipeStackRequestAction is sent when a grindstone recipe is crafted.
CraftLoomRecipeStackRequestAction is sent when a loom recipe is crafted.
CraftNonImplementedStackRequestAction is an action sent for inventory actions that aren't yet implemented in the new system.
CraftRecipeOptionalStackRequestAction is sent when using an anvil.
CraftRecipeStackRequestAction is sent by the client the moment it begins crafting an item.
CraftResultsDeprecatedStackRequestAction is an additional, deprecated packet sent by the client after crafting.
CreateStackRequestAction is sent by the client when an item is created through being used as part of a recipe.
CreativeGroup represents a group of items in the creative inventory.
CreativeItem represents a creative item present in the creative inventory.
DefaultItemDescriptor represents an item descriptor for regular items.
DeferredItemDescriptor represents an item descriptor that uses a namespace and metadata value to identify the item.
DestroyStackRequestAction is sent by the client when it destroys an item in creative mode by moving it back into the creative inventory.
DimensionDefinition contains information specifying dimension-specific properties, used for data-driven dimensions.
DropStackRequestAction is sent by the client when it drops an item out of the inventory when it has its inventory opened.
DynamicEnum is an enum variant that can have its options changed during runtime, without sending a new AvailableCommands packet.
EducationExternalLinkSettings ...
EducationSharedResourceURI is an education edition feature that is used for transmitting education resource settings to clients.
EnchantmentInstance represents a single enchantment instance with the type of the enchantment and its level.
EnchantmentOption represents a single option in the enchantment table for a single item.
EntityDefinitionTriggerEvent is an event used for an unknown purpose.
EntityInteractEvent is the event data sent for entity interactions.
EntityLink is a link between two entities, typically being one entity riding another.
EntityProperties holds lists of entity properties that define specific attributes of an entity.
ExperimentData holds data on an experiment that is either enabled or disabled.
ExtractHoneyEvent is an event used to extract honey from a hive.
FishBucketedEvent is the event data sent when a fish is bucketed.
FloatEntityProperty is an entity property that contains a float value.
FullContainerName contains information required to identify a container in a StackRequestSlotInfo.
FurnaceDataRecipe is a recipe specifically used for furnace-type crafting stations.
FurnaceRecipe is a recipe that is specifically used for all kinds of furnaces.
GameRule contains game rule data.
GenerationFeature represents a world generation feature, used when encoding the FeatureRegistry to the client.
IntegerEntityProperty is an entity property that contains an integer value.
InvalidItemDescriptor represents an invalid item descriptor.
InventoryAction represents a single action that took place during an inventory transaction.
ItemDescriptorCount represents an item descriptor that has a count attached with it, such as a recipe ingredient.
ItemEnchantments holds information on the enchantments that are applied to an item when a specific button is clicked in the enchantment table.
ItemEntry is an item sent in the StartGame item table.
ItemInstance represents a unique instance of an item stack.
ItemStack represents an item instance/stack over network.
ItemStackRequest represents a single request present in an ItemStackRequest packet sent by the client to change an item in an inventory.
ItemStackResponse is a response to an individual ItemStackRequest.
ItemTagItemDescriptor represents an item descriptor that uses item tagging.
ItemType represents a consistent combination of network ID and metadata value of an item.
ItemUsedEvent is when a player right clicks a item.
LabTableCombineStackRequestAction is sent by the client when it uses a lab table to combine item stacks.
LegacySetItemSlot represents a slot that was changed during an InventoryTransaction.
MapDecoration is a fixed decoration on a map: Its position or other properties do not change automatically client-side.
MapTrackedObject is an object on a map that is 'tracked' by the client, such as an entity or a block.
MaterialReducer is a craft in a material reducer block in education edition.
MaterialReducerOutput is an output from a material reducer.
MineBlockStackRequestAction is sent by the client when it breaks a block.
MismatchTransactionData represents a mismatched inventory transaction's data object.
MobBornEvent is the event data sent when a mob is born.
MobKilledEvent is the event data sent when a mob is killed.
MoLangItemDescriptor represents an item descriptor for items that use MoLang (e.g.
MovementAnomalyEvent is an event used to detect movement anomalies.
MovementCorrectedEvent is an event used to correct movement anomalies.
MultiRecipe serves as an 'enable' switch for multi-shape recipes.
NormalTransactionData represents an inventory transaction data object for normal transactions, such as crafting.
Optional is an optional type in the protocol.
PackURL represents a resource pack that is being served from a HTTP server rather than being sent over the Minecraft protocol.
PatternRemovedEvent is the event data sent when a pattern is removed.
PersonaPiece represents a piece of a persona skin.
PersonaPieceTintColour describes the tint colours of a specific piece of a persona skin.
PetDiedEvent is the event data sent when a pet dies.
PiglinBarterEvent is called when a player drops gold ingots to a piglin to initiate a trade for an item.
PixelRequest is the request for the colour of a pixel in a MapInfoRequest packet.
PlaceInContainerStackRequestAction currently has no known purpose.
PlaceStackRequestAction is sent by the client to the server to place x amount of items from one slot into another slot, such as when shift clicking an item in the inventory to move it around or when moving an item in the cursor into a slot.
PlayerBlockAction ...
PlayerDiedEvent is the event data sent when a player dies.
PlayerListEntry is an entry found in the PlayerList packet.
PlayerMovementSettings represents the different server authoritative movement settings.
PortalBuiltEvent is the event data sent when a portal is built.
PortalUsedEvent is the event data sent when a portal is used.
PotionContainerChangeRecipe represents a recipe to turn a potion from one type to another.
PotionRecipe represents a potion mixing recipe which may be used in a brewing stand.
RaidUpdateEvent is an event used to update a raids progress client side.
Reader implements reading operations for reading types from Minecraft packets.
RecipeUnlockRequirement represents a requirement that must be met in order to unlock a recipe.
ReleaseItemTransactionData represents an inventory transaction data object sent when the client releases the item it was using, for example when stopping while eating or stopping the charging of a bow.
ScoreboardEntry represents a single entry that may be found on a scoreboard.
ScoreboardIdentityEntry holds an entry to either associate an identity with one of the entries in a scoreboard, or to remove associations.
ShapedChemistryRecipe is a recipe specifically made for chemistry related features, which exist only in the Education Edition.
ShapedRecipe is a recipe that has a specific shape that must be used to craft the output of the recipe.
ShapelessChemistryRecipe is a recipe specifically made for chemistry related features, which exist only in the Education Edition.
ShapelessRecipe is a recipe that has no particular shape.
ShulkerBoxRecipe is a shapeless recipe made specifically for shulker box crafting, so that they don't lose their user data when dyeing a shulker box.
Skin represents the skin of a player as sent over network.
SkinAnimation represents an animation that may be added to a skin.
SlashCommandExecutedEvent is the event data sent when a slash command is executed.
SmithingTransformRecipe is a recipe specifically used for smithing tables.
SmithingTrimRecipe is a recipe specifically used for applying armour trims to an armour piece inside a smithing table.
SneakCloseToSculkSensorEvent is an event sent by the server when a player sneaks close to a sculk sensor.
StackRequestSlotInfo holds information on a specific slot client-side.
StackResourcePack represents a resource pack sent on the stack of the client.
StackResponseContainerInfo holds information on what slots in a container have what item stack in them.
StackResponseSlotInfo holds information on what item stack should be present in a specific slot.
StriderRiddenInLavaInOverworldEvent is an event sent by the server when a strider is ridden in lava in the overworld.
StructureSettings is a struct holding settings of a structure block.
SubChunkEntry contains the data of a sub-chunk entry relative to a center sub chunk position, used for the sub-chunk requesting system introduced in v1.18.10.
SwapStackRequestAction is sent by the client to swap the item in its cursor with an item present in another container.
TakeOutContainerStackRequestAction currently has no known purpose.
TakeStackRequestAction is sent by the client to the server to take x amount of items from one slot in a container to the cursor.
TargetBlockHitEvent is an event used when a target block is hit by a arrow.
TexturePackInfo represents a texture pack's info sent over network.
TrimMaterial represents a material that can be used when applying an armour trim.
TrimPattern represents a pattern that can be applied to an armour piece in combination with a TrimMaterial.
UseItemOnEntityTransactionData represents an inventory transaction data object sent when the client uses an item on an entity.
UseItemTransactionData represents an inventory transaction data object sent when the client uses an item on a block.
WaxedOrUnwaxedCopperEvent is an event sent by the server when a copper block is waxed or unwaxed.
Writer implements writing methods for data types from Minecraft packets.
# Interfaces
Event represents an object that holds data specific to an event.
InventoryTransactionData represents an object that holds data specific to an inventory transaction type.
IO represents a packet IO direction.
ItemDescriptor represents a type of item descriptor.
Marshaler is a type that can be written to or read from an IO.
PtrMarshaler represents a type that implements Marshaler for its pointer.
Recipe represents a recipe that may be sent in a CraftingData packet to let the client know what recipes are available server-side.
StackRequestAction represents a single action related to the inventory present in an ItemStackRequest.
# Type aliases
BlockPos is the position of a block.
ChunkPos is the position of a chunk.
DeviceOS is a device DeviceOS identifier.
EntityMetadata represents a map that holds metadata associated with an entity.
SubChunkOffset represents an offset from the base position of another sub chunk.
SubChunkPos is the position of a sub-chunk.