Skip to content

Conversation

oswaldolb
Copy link
Collaborator

Minecraft Network Protocol Docs 06/13/2024

For r21_u1, Network Protocol Version 705

New Packets

ClientboundCloseFormPacket:

  • No properties

JigsawStructureDataPacket:

  • Added mJigsawStructureDataTag (CompoundTag)

ServerboundLoadingScreenPacket:

  • Added mServerboundLoadingScreenPacketType (enum ServerboundLoadingScreenPacketType) [enum description below]
  • Added mLoadingScreenId.value (brstd::optional<uint32_t>)

Deprecated Packets

  • TickSyncPacket

Packet Changes

ChangeDimensionPacket:

  • Added mLoadingScreenId.value (brstd::optional<uint32_t>)

DisconnectPacket:

  • Added mFilteredMessage.value_or(Util::EMPTY_STRING) (std::string)

EditorNetworkPacket:

  • Added mRouteToManager (bool)

MobArmorEquipmentPacket:

  • Added mBody (NetworkItemStackDescriptor)

SetTitlePacket:

  • Added mFilteredTitleText.value_or(Util::EMPTY_STRING) (std::string)

StopSoundPacket:

  • Added mStopMusicLegacy (bool)

Other File Changes

ActorLink:

  • Added link.mVehicleAngularVelocity (float)

CameraPreset:

  • Added mViewOffset (brstd::optional)
  • Added mListener (brstd::optional)

PacketItemUseLegacyInventoryTransaction:

  • Added mTargetBlockId (BlockRuntimeId)
  • Added mClientPredictedResult(ItemUseInventoryTransaction::PredictedResult) [enum description below]

New Enums

ItemUseInventoryTransaction::PredictedResult:

  • Added Failure(0)
  • Added Success(1)

ServerboundLoadingScreenPacketType:

  • Added Unknown(0)
  • Added StartLoadingScreen(1)
  • Added EndLoadingScreen(2)

Enum Changes

ActorFlags:

  • Removed Unknown

ItemStackRequestActionType:

  • Added PlaceInItemContainer_DEPRECATED(7)
  • Added TakeFromItemContainer_DEPRECATED(8)
  • Removed PlaceInItemContainer
  • Removed TakeFromItemContainer

MinecraftPacketIds:

  • Added BlockPalette_deprecated(116)
  • Added TitleSpecificPacketsStart(200)
  • Added TitleSpecificPacketsEnd(299)
  • Added ClientboundCloseScreen(310)
  • Added ClientboundLoadingScreenPacket_Deprecated(311)
  • Added ServerboundLoadingScreenPacket(312)
  • Added JigsawStructureDataPacket(313)
  • Changed EndId from 310 to 314
  • Removed BlockPalette

SerializedAbilitiesData::SerializedAbilitiesLayer:

  • Added LoadingScreen(5)

StructureTemplateRequestOperation:

  • Removed Import

StructureTemplateResponseType:

  • Removed Import

@yshroff-dev
Copy link
Collaborator

yshroff-dev commented Jul 17, 2024

We probably don't need to pull this to main. R21_U1 never ended up shipping. Though I think it's fine for the branch to stick around.

@theaddonn
Copy link

Thanks, this is still helpful for preparing to support R21_U2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants