1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2024-11-27 05:09:01 +00:00
bedrock-protocol-docs/html/types.html
Oswaldo Leyva Barrientos ca7b330f4a
Protocol for r/21_u4 NetworkProtocolVersion 748 (#15)
* Protocol for r/21_u4 NetworkProtocolVersion 748

* Addressed feedback from the community
2024-11-07 14:34:16 -08:00

244 lines
15 KiB
HTML

<!DOCTYPE html> <html> <head><style>table{font-family: arial, sans-serif;border-collapse: collapse;width: 100% ;}.tab { margin-left: 40px; }td, th{text-align: left;padding: 8px;}tr:nth-child(even) {background-color: #dddddd;}div#expand{display:block;}</style> </head> <body><table><col width="10%"><col width="5%"><col width="85%"><tr><th>Type Name</th><th>Byte Count</th><th>Notes</th></tr><tr><td>byte</td>
<td>1</td>
<td>-</td>
</tr><tr><td>unsigned byte</td>
<td>1</td>
<td>-</td>
</tr><tr><td>short</td>
<td>2</td>
<td>-</td>
</tr><tr><td>unsigned short</td>
<td>2</td>
<td>-</td>
</tr><tr><td>unsigned int24</td>
<td>3</td>
<td>-</td>
</tr><tr><td>int</td>
<td>4</td>
<td>-</td>
</tr><tr><td>unsigned int</td>
<td>4</td>
<td>-</td>
</tr><tr><td>int64</td>
<td>8</td>
<td>-</td>
</tr><tr><td>unsigned int64</td>
<td>8</td>
<td>-</td>
</tr><tr><td>varint</td>
<td><=5</td>
<td>-</td>
</tr><tr><td>unsigned varint</td>
<td><=5</td>
<td>-</td>
</tr><tr><td>varint64</td>
<td><=10</td>
<td>-</td>
</tr><tr><td>unsigned varint64</td>
<td><=10</td>
<td>-</td>
</tr><tr><td>float</td>
<td>4</td>
<td>-</td>
</tr><tr><td>double</td>
<td>8</td>
<td>-</td>
</tr></table><br><br><table><col width="10%"><col width="90%"><tr><th>Type Name</th><th>Notes</th></tr><tr><td>ActorLink</td>
<td><a href="ActorLink.html">ActorLink diagram</a></td>
</tr><tr><td>ActorRuntimeID</td>
<td><a href="ActorRuntimeID.html">ActorRuntimeID diagram</a></td>
</tr><tr><td>ActorUniqueID</td>
<td><a href="ActorUniqueID.html">ActorUniqueID diagram</a></td>
</tr><tr><td>AdventureSettings</td>
<td><a href="AdventureSettings.html">AdventureSettings diagram</a></td>
</tr><tr><td>BaseDescription</td>
<td><a href="BaseDescription.html">BaseDescription diagram</a></td>
</tr><tr><td>BaseGameVersion</td>
<td><a href="BaseGameVersion.html">BaseGameVersion diagram</a></td>
</tr><tr><td>BlockPos</td>
<td><a href="BlockPos.html">BlockPos diagram</a></td>
</tr><tr><td>CameraInstruction</td>
<td><a href="CameraInstruction.html">CameraInstruction diagram</a></td>
</tr><tr><td>CameraPreset</td>
<td><a href="CameraPreset.html">CameraPreset diagram</a></td>
</tr><tr><td>CameraPresets</td>
<td><a href="CameraPresets.html">CameraPresets diagram</a></td>
</tr><tr><td>ChunkPos</td>
<td><a href="ChunkPos.html">ChunkPos diagram</a></td>
</tr><tr><td>CommandOriginData</td>
<td><a href="CommandOriginData.html">CommandOriginData diagram</a></td>
</tr><tr><td>CompoundTag</td>
<td><a href="CompoundTag.html">CompoundTag diagram</a></td>
</tr><tr><td>ContainerMixDataEntry</td>
<td><a href="ContainerMixDataEntry.html">ContainerMixDataEntry diagram</a></td>
</tr><tr><td>CraftingDataEntry</td>
<td><a href="CraftingDataEntry.html">CraftingDataEntry diagram</a></td>
</tr><tr><td>DataItem</td>
<td><a href="DataItem.html">DataItem diagram</a></td>
</tr><tr><td>DimensionDefinitionGroup</td>
<td><a href="DimensionDefinitionGroup.html">DimensionDefinitionGroup diagram</a></td>
</tr><tr><td>DimensionDefinitionGroup::DimensionDefinition</td>
<td><a href="DimensionDefinitionGroup__DimensionDefinition.html">DimensionDefinitionGroup::DimensionDefinition diagram</a></td>
</tr><tr><td>EduSharedUriResource</td>
<td><a href="EduSharedUriResource.html">EduSharedUriResource diagram</a></td>
</tr><tr><td>EducationLevelSettings</td>
<td><a href="EducationLevelSettings.html">EducationLevelSettings diagram</a></td>
</tr><tr><td>EntityNetId</td>
<td><a href="EntityNetId.html">EntityNetId diagram</a></td>
</tr><tr><td>Experiments</td>
<td><a href="Experiments.html">Experiments diagram</a></td>
</tr><tr><td>FullContainerName</td>
<td><a href="FullContainerName.html">FullContainerName diagram</a></td>
</tr><tr><td>GameRulesChangedPacketData</td>
<td><a href="GameRulesChangedPacketData.html">GameRulesChangedPacketData diagram</a></td>
</tr><tr><td>InventoryAction</td>
<td><a href="InventoryAction.html">InventoryAction diagram</a></td>
</tr><tr><td>InventorySource</td>
<td><a href="InventorySource.html">InventorySource diagram</a></td>
</tr><tr><td>InventoryTransaction</td>
<td><a href="InventoryTransaction.html">InventoryTransaction diagram</a></td>
</tr><tr><td>ItemData</td>
<td><a href="ItemData.html">ItemData diagram</a></td>
</tr><tr><td>ItemEnchants</td>
<td><a href="ItemEnchants.html">ItemEnchants diagram</a></td>
</tr><tr><td>ItemInstanceUserData</td>
<td><a href="ItemInstanceUserData.html">ItemInstanceUserData diagram</a></td>
</tr><tr><td>ItemStackNetIdVariant</td>
<td><a href="ItemStackNetIdVariant.html">ItemStackNetIdVariant diagram</a></td>
</tr><tr><td>ItemStackRequestSlotInfo</td>
<td><a href="ItemStackRequestSlotInfo.html">ItemStackRequestSlotInfo diagram</a></td>
</tr><tr><td>ItemStackResponseContainerInfo</td>
<td><a href="ItemStackResponseContainerInfo.html">ItemStackResponseContainerInfo diagram</a></td>
</tr><tr><td>ItemStackResponseInfo</td>
<td><a href="ItemStackResponseInfo.html">ItemStackResponseInfo diagram</a></td>
</tr><tr><td>ItemStackResponseSlotInfo</td>
<td><a href="ItemStackResponseSlotInfo.html">ItemStackResponseSlotInfo diagram</a></td>
</tr><tr><td>LevelSettings</td>
<td><a href="LevelSettings.html">LevelSettings diagram</a></td>
</tr><tr><td>MapDecoration</td>
<td><a href="MapDecoration.html">MapDecoration diagram</a></td>
</tr><tr><td>MapItemTrackedActor::UniqueId</td>
<td><a href="MapItemTrackedActor__UniqueId.html">MapItemTrackedActor::UniqueId diagram</a></td>
</tr><tr><td>MaterialReducerDataEntry</td>
<td><a href="MaterialReducerDataEntry.html">MaterialReducerDataEntry diagram</a></td>
</tr><tr><td>MolangVariableMap</td>
<td><a href="MolangVariableMap.html">MolangVariableMap diagram</a></td>
</tr><tr><td>MoveActorAbsoluteData</td>
<td><a href="MoveActorAbsoluteData.html">MoveActorAbsoluteData diagram</a></td>
</tr><tr><td>MoveActorDeltaData</td>
<td><a href="MoveActorDeltaData.html">MoveActorDeltaData diagram</a></td>
</tr><tr><td>NetworkBlockPosition</td>
<td><a href="NetworkBlockPosition.html">NetworkBlockPosition diagram</a></td>
</tr><tr><td>NetworkItemInstanceDescriptor</td>
<td><a href="NetworkItemInstanceDescriptor.html">NetworkItemInstanceDescriptor diagram</a></td>
</tr><tr><td>NetworkItemStackDescriptor</td>
<td><a href="NetworkItemStackDescriptor.html">NetworkItemStackDescriptor diagram</a></td>
</tr><tr><td>NetworkPermissions</td>
<td><a href="NetworkPermissions.html">NetworkPermissions diagram</a></td>
</tr><tr><td>PackedItemUseLegacyInventoryTransaction</td>
<td><a href="PackedItemUseLegacyInventoryTransaction.html">PackedItemUseLegacyInventoryTransaction diagram</a></td>
</tr><tr><td>PlayerBlockActionData</td>
<td><a href="PlayerBlockActionData.html">PlayerBlockActionData diagram</a></td>
</tr><tr><td>PlayerBlockActions</td>
<td><a href="PlayerBlockActions.html">PlayerBlockActions diagram</a></td>
</tr><tr><td>PlayerInputTick</td>
<td><a href="PlayerInputTick.html">PlayerInputTick diagram</a></td>
</tr><tr><td>PositionTrackingId</td>
<td><a href="PositionTrackingId.html">PositionTrackingId diagram</a></td>
</tr><tr><td>PotionMixDataEntry</td>
<td><a href="PotionMixDataEntry.html">PotionMixDataEntry diagram</a></td>
</tr><tr><td>PropertySyncData</td>
<td><a href="PropertySyncData.html">PropertySyncData diagram</a></td>
</tr><tr><td>RecipeIngredient</td>
<td><a href="RecipeIngredient.html">RecipeIngredient diagram</a></td>
</tr><tr><td>RecipeUnlockingRequirement</td>
<td><a href="RecipeUnlockingRequirement.html">RecipeUnlockingRequirement diagram</a></td>
</tr><tr><td>ScoreboardId</td>
<td><a href="ScoreboardId.html">ScoreboardId diagram</a></td>
</tr><tr><td>SerializedAbilitiesData</td>
<td><a href="SerializedAbilitiesData.html">SerializedAbilitiesData diagram</a></td>
</tr><tr><td>SerializedAbilitiesData::SerializedLayer</td>
<td><a href="SerializedAbilitiesData__SerializedLayer.html">SerializedAbilitiesData::SerializedLayer diagram</a></td>
</tr><tr><td>SerializedSkin</td>
<td><a href="SerializedSkin.html">SerializedSkin diagram</a></td>
</tr><tr><td>ShapedChemistryRecipe</td>
<td><a href="ShapedChemistryRecipe.html">ShapedChemistryRecipe diagram</a></td>
</tr><tr><td>ShapedRecipe</td>
<td><a href="ShapedRecipe.html">ShapedRecipe diagram</a></td>
</tr><tr><td>ShapelessChemistryRecipe</td>
<td><a href="ShapelessChemistryRecipe.html">ShapelessChemistryRecipe diagram</a></td>
</tr><tr><td>ShapelessRecipe</td>
<td><a href="ShapelessRecipe.html">ShapelessRecipe diagram</a></td>
</tr><tr><td>SmithingTransformRecipe</td>
<td><a href="SmithingTransformRecipe.html">SmithingTransformRecipe diagram</a></td>
</tr><tr><td>SmithingTrimRecipe</td>
<td><a href="SmithingTrimRecipe.html">SmithingTrimRecipe diagram</a></td>
</tr><tr><td>SpawnSettings</td>
<td><a href="SpawnSettings.html">SpawnSettings diagram</a></td>
</tr><tr><td>StructureEditorData</td>
<td><a href="StructureEditorData.html">StructureEditorData diagram</a></td>
</tr><tr><td>StructureSettings</td>
<td><a href="StructureSettings.html">StructureSettings diagram</a></td>
</tr><tr><td>SubChunkPacket::SubChunkPosOffset</td>
<td><a href="SubChunkPacket__SubChunkPosOffset.html">SubChunkPacket::SubChunkPosOffset diagram</a></td>
</tr><tr><td>SubChunkPos</td>
<td><a href="SubChunkPos.html">SubChunkPos diagram</a></td>
</tr><tr><td>SyncedPlayerMovementSettings</td>
<td><a href="SyncedPlayerMovementSettings.html">SyncedPlayerMovementSettings diagram</a></td>
</tr><tr><td>TypedClientNetId&lt;struct ItemStackLegacyRequestIdTag,int,0&gt;</td>
<td><a href="TypedClientNetId_struct ItemStackLegacyRequestIdTag,int,0_.html">TypedClientNetId&lt;struct ItemStackLegacyRequestIdTag,int,0&gt; diagram</a></td>
</tr><tr><td>TypedClientNetId&lt;struct ItemStackRequestIdTag,int,0&gt;</td>
<td><a href="TypedClientNetId_struct ItemStackRequestIdTag,int,0_.html">TypedClientNetId&lt;struct ItemStackRequestIdTag,int,0&gt; diagram</a></td>
</tr><tr><td>TypedServerNetId&lt;struct CreativeItemNetIdTag,unsigned int,0&gt;</td>
<td><a href="TypedServerNetId_struct CreativeItemNetIdTag,unsigned int,0_.html">TypedServerNetId&lt;struct CreativeItemNetIdTag,unsigned int,0&gt; diagram</a></td>
</tr><tr><td>TypedServerNetId&lt;struct ItemStackNetIdTag,int,0&gt;</td>
<td><a href="TypedServerNetId_struct ItemStackNetIdTag,int,0_.html">TypedServerNetId&lt;struct ItemStackNetIdTag,int,0&gt; diagram</a></td>
</tr><tr><td>TypedServerNetId&lt;struct RecipeNetIdTag,unsigned int,0&gt;</td>
<td><a href="TypedServerNetId_struct RecipeNetIdTag,unsigned int,0_.html">TypedServerNetId&lt;struct RecipeNetIdTag,unsigned int,0&gt; diagram</a></td>
</tr><tr><td>UserDataShapelessRecipe</td>
<td><a href="UserDataShapelessRecipe.html">UserDataShapelessRecipe diagram</a></td>
</tr><tr><td>Vec2</td>
<td><a href="Vec2.html">Vec2 diagram</a></td>
</tr><tr><td>Vec3</td>
<td><a href="Vec3.html">Vec3 diagram</a></td>
</tr><tr><td>WebSocketPacketData</td>
<td><a href="WebSocketPacketData.html">WebSocketPacketData diagram</a></td>
</tr><tr><td>fixed float</td>
<td><a href="fixed float.html">fixed float diagram</a></td>
</tr><tr><td>mce::UUID</td>
<td><a href="mce__UUID.html">mce::UUID diagram</a></td>
</tr><tr><td>std::optional&lt;bool&gt;</td>
<td><a href="std__optional_bool_.html">std::optional&lt;bool&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;class Json::Value&gt;</td>
<td><a href="std__optional_class Json__Value_.html">std::optional&lt;class Json::Value&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;class MolangVariableMap&gt;</td>
<td><a href="std__optional_class MolangVariableMap_.html">std::optional&lt;class MolangVariableMap&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;class Vec2&gt;</td>
<td><a href="std__optional_class Vec2_.html">std::optional&lt;class Vec2&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;class Vec3&gt;</td>
<td><a href="std__optional_class Vec3_.html">std::optional&lt;class Vec3&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; &gt;</td>
<td><a href="std__optional_class std__basic_string_char,struct std__char_traits_char_,class std__allocator_char_ _ _.html">std::optional&lt;class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; &gt; diagram</a></td>
</tr><tr><td>std::optional&lt;enum CameraPreset::AudioListener&gt;</td>
<td><a href="std__optional_enum CameraPreset__AudioListener_.html">std::optional&lt;enum CameraPreset::AudioListener&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;enum ModalFormCancelReason&gt;</td>
<td><a href="std__optional_enum ModalFormCancelReason_.html">std::optional&lt;enum ModalFormCancelReason&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;float&gt;</td>
<td><a href="std__optional_float_.html">std::optional&lt;float&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;struct AgentCapabilities&gt;</td>
<td><a href="std__optional_struct AgentCapabilities_.html">std::optional&lt;struct AgentCapabilities&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;struct CameraInstruction::FadeInstruction&gt;</td>
<td><a href="std__optional_struct CameraInstruction__FadeInstruction_.html">std::optional&lt;struct CameraInstruction::FadeInstruction&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;struct CameraInstruction::SetInstruction&gt;</td>
<td><a href="std__optional_struct CameraInstruction__SetInstruction_.html">std::optional&lt;struct CameraInstruction::SetInstruction&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;struct CameraInstruction::TargetInstruction&gt;</td>
<td><a href="std__optional_struct CameraInstruction__TargetInstruction_.html">std::optional&lt;struct CameraInstruction::TargetInstruction&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;struct ExternalLinkSettings&gt;</td>
<td><a href="std__optional_struct ExternalLinkSettings_.html">std::optional&lt;struct ExternalLinkSettings&gt; diagram</a></td>
</tr><tr><td>std::optional&lt;unsigned int&gt;</td>
<td><a href="std__optional_unsigned int_.html">std::optional&lt;unsigned int&gt; diagram</a></td>
</tr><tr><td>std::vector&lt;class std::unique_ptr&lt;class DataItem,struct std::default_delete&lt;class DataItem&gt; &gt;,class std::allocator&lt;class std::unique_ptr&lt;class DataItem,struct std::default_delete&lt;class DataItem&gt; &gt; &gt; &gt;</td>
<td><a href="std__vector_class std__unique_ptr_class DataItem,struct std__default_delete_class DataItem_ _,class std__allocator_class std__u.html">std::vector&lt;class std::unique_ptr&lt;class DataItem,struct std::default_delete&lt;class DataItem&gt; &gt;,class std::allocator&lt;class std::unique_ptr&lt;class DataItem,struct std::default_delete&lt;class DataItem&gt; &gt; &gt; &gt; diagram</a></td>
</tr><tr><td>string</td>
<td><a href="string.html">string diagram</a></td>
</tr></table></body> </html>