Skip to content

Instantly share code, notes, and snippets.

@shoghicp
Created August 18, 2014 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shoghicp/cc17c49825b4e390bab4 to your computer and use it in GitHub Desktop.
Save shoghicp/cc17c49825b4e390bab4 to your computer and use it in GitHub Desktop.
Minecraft: PE v0.9.5 possible bugs

MovePlayerPacket sends weird yaw values

  • Step 1: Rotate the head in one direction multiple times
  • Step 2: Get MovePlayerPacket with yaw > 360, example: 6407.0166015625
  • This can cause rounding errors after too many rotations

NULL UpdateBlockPacket is sent by the client randomly

  • Step 1: ??? (happens in vanilla and PocketMine)
  • Step 2: Get an UpdateBlockPacket with x, y, z, blockId, blockData all 0 (null)
  • This packet is not meant to be sent by clients, it's only Server -> Client

Sending new chunks over chunks with tileEntities does not remove them

  • Packet used: FullChunkDataPacket
  • This happens on PocketMine servers while teleporting to a new world, moving away from those chunks removes those tileEntities correctly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment