Skip to content

Protocol for r/21_u9 NetworkProtocolVersion 818 #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

oswaldolb
Copy link
Collaborator

Minecraft Network Protocol Docs 5/21/25

For r21_u9, Network Protocol Version 818

New Packets

ServerScriptDebugDrawerPacket:

  • Added mShapes (std::vector) [PacketShapeData type definition in New Types]

Packet Changes

ResourcePacksInfoPacket:

  • Added mData.mForceDisableVibrantVisuals (bool)

Removed Packets

  • SetMovementAuthorityMode (now SetMovementAuthorityMode_DEPRECATED)

New Types

PacketShapeData:

  • Added mNetworkId (uint64_t)
  • Added mShapeType (brstd::optionalScriptModuleDebugUtilities::ScriptDebugShapeType) [ScriptModuleDebugUtilities::ScriptDebugShapeType enum definition in New Enums]
  • Added mLocation (brstd::optional)
  • Added mRotation (brstd::optional)
  • Added mScale (brstd::optional)
  • Added mColor (brstd::optionalmce::Color)
  • Added mTimeLeftTotalSec (brstd::optional)
  • Added mText (brstd::optionalstd::string)
  • Added mBoxBound (brstd::optional)
  • Added mEndLocation (brstd::optional)
  • Added mArrowHeadLength (brstd::optional)
  • Added mArrowHeadRadius (brstd::optional)
  • Added mNumSegments (brstd::optional)

Other Changes to Types

CameraInstruction::SetInstruction:

  • Added mRemoveIgnoreStartingValuesComponent (bool)

LevelSettings:

  • Added mOwnerId (std::string)

SharedTypes::v1_21_80::CameraPreset:

  • Removed mAlignTargetAndCameraForward

SubChunkPacket::HeightmapData:

  • Added mRenderHeightMapType (enum SubChunkPacket::HeightMapDataType)
  • Added mSubchunkRenderHeightMap (std::array<std::array<int8_t, LevelConstants::CHUNK_WIDTH>, LevelConstants::CHUNK_WIDTH>)

SyncedPlayerMovementSettings:

  • Removed mAuthorityMode

New Enums

ScriptModuleDebugUtilities::ScriptDebugShapeType:

  • Added Line (0) []
  • Added Box (1) []
  • Added Sphere (2) []
  • Added Circle (3) []
  • Added Text (4) []
  • Added Arrow (5) []
  • Added NumShapeTypes (6) []

Enum Changes

ActorFlags:

  • Added BODY_ROTATION_ALWAYS_FOLLOWS_HEAD (124) []
  • Displaced Count

Connection::DisconnectFailReason:

  • Added RealmsTimelineRequired (119) []
  • Added GuestWithoutHost (120) []
  • Added FailedToJoinExperience (121) []

MinecraftPacketIds:

  • Added SetMovementAuthorityMode_DEPRECATED (319) []
  • Added ServerScriptDebugDrawerPacket (328) []
  • Changed EndId from 328 to 329
  • Removed SetMovementAuthorityMode

PlayerActionType:

  • Added DEPRECATED_ClientAckServerData (36) [Corresponds to Player Auth Input InputData::ClientAckServerData bit 44
    Not sent when using server authoritative movement as specified in StartGamePacket
    This is now deprecated because only server authoritative movement exist ]
  • Removed ClientAckServerData

SharedTypes::Legacy::LevelSoundEvent:

  • Added ImitateDrowned (531) []
  • Added ImitateCreaking (532) []
  • Added BundleInsertFail (533) []
  • Added SpongeAbsorb (534) []
  • Added CreakingHeartTrail (536) []
  • Added CreakingHeartSpawn (537) []
  • Added Activate (538) []
  • Added Deactivate (539) []
  • Added Freeze (540) []
  • Added Unfreeze (541) []
  • Added Open (542) []
  • Added OpenLong (543) []
  • Added Close (544) []
  • Added CloseLong (545) []
  • Added ImitatePhantom (546) []
  • Added ImitateZoglin (547) []
  • Added ImitateGuardian (548) []
  • Added ImitateRavager (549) []
  • Added ImitatePillager (550) []
  • Added PlaceInWater (551) []
  • Added StateChange (552) []
  • Added ImitateHappyGhast (553) []
  • Added UnequipGeneric (554) []
  • Added RecordTears (555) []
  • Added TheEndLightFlash (556) []
  • Added LeadLeash (557) []
  • Added LeadUnleash (558) []
  • Added LeadBreak (559) []
  • Added Unsaddle (560) []
  • Changed Undefined from 531 to 561
  • Removed ImitateIllusionIllager

SubChunkPacket::HeightMapDataType:

  • Added AllCopied (4) []

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.

1 participant