Add basic entity tracking, mob spawning and syncing

This commit is contained in:
Master290 2026-06-27 21:13:20 +03:00
parent 7e285e8068
commit 7af0acd3a3
6 changed files with 238 additions and 7 deletions

View file

@ -80,6 +80,17 @@ const (
PlayBlockUpdate = 0x08
PlayBlockChangedAck = 0x04
PlaySystemChat = 0x79
// Entity packets
PlayAddEntity = 0x01
PlayTeleportEntity = 0x7D
PlayMoveEntityPos = 0x35
PlayMoveEntityPosRot = 0x36
PlayMoveEntityRot = 0x38
PlaySetEntityMotion = 0x65
PlayRemoveEntities = 0x4D
PlaySetEntityData = 0x63
PlaySetEquipment = 0x66
)
// Play, serverbound (protocol 775).