Packet 96
SetLastHurtByPacket
Any time a player is hit, the id of the last mob that attacked them is sent to the client
HeaderID 96varuint
0LastHurtByvarint32 · variable (up to 5 bytes)
Serialized fields
1 top-level fields0LastHurtByCompressionEnum-as-ValueActorTypeas
varint32- 1
Undefined - 256
Mob - 768
PathfinderMob - 2816
Monster - 4864
Animal - 21248
TamableAnimal - 33024
Ambient - 68352
UndeadMonster - 199424
ZombieMonster - 264960
Arthropod - 524288
Minecart - 1116928
SkeletonMonster - 2118400
EquineAnimal - 4194304
Projectile - 8388608
AbstractArrow - 8960
WaterAnimal - 16777984
VillagerBase - 4874
Chicken - 4875
Cow - 4876
Pig - 4877
Sheep - 21262
Wolf - 16777999
Villager - 4880
MushroomCow - 8977
Squid - 4882
Rabbit - 33043
Bat - 788
IronGolem - 789
SnowGolem - 21270
Ocelot - 2118423
Horse - 4892
PolarBear - 4893
Llama - 21278
Parrot - 8991
Dolphin - 2118424
Donkey - 2118425
Mule - 2183962
SkeletonHorse - 2183963
ZombieHorse - 199456
Zombie - 2849
Creeper - 1116962
Skeleton - 264995
Spider - 68388
PigZombie - 2853
Slime - 2854
EnderMan - 264999
Silverfish - 265000
CaveSpider - 2857
Ghast - 2858
LavaSlime - 2859
Blaze - 199468
ZombieVillager - 2861
Witch - 1116974
Stray - 199471
Husk - 1116976
WitherSkeleton - 2865
Guardian - 2866
ElderGuardian - 307
Npc - 68404
WitherBoss - 2869
Dragon - 2870
Shulker - 265015
Endermite - 312
Agent - 2873
Vindicator - 68410
Phantom - 2875
IllagerBeast - 317
ArmorStand - 318
TripodCamera - 319
Player - 64
ItemEntity - 65
PrimedTnt - 66
FallingBlock - 67
MovingBlock - 4194372
ExperiencePotion - 69
Experience - 70
EyeOfEnder - 71
EnderCrystal - 72
FireworksRocket - 12582985
Trident - 4938
Turtle - 21323
Cat - 4194380
ShulkerBullet - 77
FishingHook - 78
Chalkboard - 4194383
DragonFireball - 12582992
Arrow - 4194385
Snowball - 4194386
ThrownEgg - 83
Painting - 4194389
LargeFireball - 4194390
ThrownPotion - 4194391
Enderpearl - 88
LeashKnot - 4194393
WitherSkull - 90
BoatRideable - 4194395
WitherSkullDangerous - 93
LightningBolt - 4194398
SmallFireball - 95
AreaEffectCloud - 4194405
LingeringPotion - 4194406
LlamaSpit - 4194407
EvocationFang - 2920
EvocationIllager - 2921
Vex - 524372
MinecartRideable - 524384
MinecartHopper - 524385
MinecartTNT - 524386
MinecartChest - 524387
MinecartFurnace - 524388
MinecartCommandBlock - 4194410
IceBomb - 107
Balloon - 9068
Pufferfish - 9069
Salmon - 199534
Drowned - 9071
Tropicalfish - 9072
Fish - 4977
Panda - 2930
Pillager - 16778099
VillagerV2 - 199540
ZombieVillagerV2 - 117
Shield - 886
WanderingTrader - 119
Lectern - 2936
ElderGuardianGhost - 4985
Fox - 378
Bee - 379
Piglin - 4988
Hoglin - 4989
Strider - 68478
Zoglin - 383
PiglinBrute - 4992
Goat - 9089
GlowSquid - 4994
Axolotl - 2947
Warden - 4996
Frog - 9093
Tadpole - 390
Allay - 218
ChestBoatRideable - 5021
TraderLlama - 5002
Camel - 5003
Sniffer - 2956
Breeze - 4194445
BreezeWindChargeProjectile - 5006
Armadillo - 4194447
WindChargeProjectile - 1117072
Bogged - 145
OminousItemSpawner - 2962
Creaking - 5011
HappyGhast - 916
CopperGolem - 9109
Nautilus - 74646
ZombieNautilus - 1117079
Parched - 70552
CamelHusk - 921
SulfurCube - 154
Cushion
- 1
Changelog
Stable releases
Changes between stable protocol releases.
No stable release changes are recorded for this packet.
All builds
Changes between consecutive stable releases and preview builds.
- Released
- Protocol
- 2207
- Previous build
- 1.26.51
Packet
1 entryChanged 1
- Changed supporting type
ActorType: Changed enum valueUndefinedfrom0to1. - Changed supporting type
ActorType: Changed enum valueMobfrom1to256. - Changed supporting type
ActorType: Changed enum valuePathfinderMobfrom2to768. - Changed supporting type
ActorType: Changed enum valueMonsterfrom3to2816. - Changed supporting type
ActorType: Changed enum valueAnimalfrom4to4864. - Changed supporting type
ActorType: Changed enum valueTamableAnimalfrom5to21248. - Changed supporting type
ActorType: Changed enum valueAmbientfrom6to33024. - Changed supporting type
ActorType: Changed enum valueUndeadMonsterfrom7to68352. - Changed supporting type
ActorType: Changed enum valueZombieMonsterfrom8to199424. - Changed supporting type
ActorType: Changed enum valueArthropodfrom9to264960. - Changed supporting type
ActorType: Changed enum valueMinecartfrom10to524288. - Changed supporting type
ActorType: Changed enum valueSkeletonMonsterfrom11to1116928. - Changed supporting type
ActorType: Changed enum valueEquineAnimalfrom12to2118400. - Changed supporting type
ActorType: Changed enum valueProjectilefrom13to4194304. - Changed supporting type
ActorType: Changed enum valueAbstractArrowfrom14to8388608. - Changed supporting type
ActorType: Changed enum valueWaterAnimalfrom15to8960. - Changed supporting type
ActorType: Changed enum valueVillagerBasefrom16to16777984. - Changed supporting type
ActorType: Changed enum valueChickenfrom17to4874. - Changed supporting type
ActorType: Changed enum valueCowfrom18to4875. - Changed supporting type
ActorType: Changed enum valuePigfrom19to4876. - Changed supporting type
ActorType: Changed enum valueSheepfrom20to4877. - Changed supporting type
ActorType: Changed enum valueWolffrom21to21262. - Changed supporting type
ActorType: Changed enum valueVillagerfrom22to16777999. - Changed supporting type
ActorType: Changed enum valueMushroomCowfrom23to4880. - Changed supporting type
ActorType: Changed enum valueSquidfrom24to8977. - Changed supporting type
ActorType: Changed enum valueRabbitfrom25to4882. - Changed supporting type
ActorType: Changed enum valueBatfrom26to33043. - Changed supporting type
ActorType: Changed enum valueIronGolemfrom27to788. - Changed supporting type
ActorType: Changed enum valueSnowGolemfrom28to789. - Changed supporting type
ActorType: Changed enum valueOcelotfrom29to21270. - Changed supporting type
ActorType: Changed enum valueHorsefrom30to2118423. - Changed supporting type
ActorType: Changed enum valuePolarBearfrom31to4892. - Changed supporting type
ActorType: Changed enum valueLlamafrom32to4893. - Changed supporting type
ActorType: Changed enum valueParrotfrom33to21278. - Changed supporting type
ActorType: Changed enum valueDolphinfrom34to8991. - Changed supporting type
ActorType: Changed enum valueDonkeyfrom35to2118424. - Changed supporting type
ActorType: Changed enum valueMulefrom36to2118425. - Changed supporting type
ActorType: Changed enum valueSkeletonHorsefrom37to2183962. - Changed supporting type
ActorType: Changed enum valueZombieHorsefrom38to2183963. - Changed supporting type
ActorType: Changed enum valueZombiefrom39to199456. - Changed supporting type
ActorType: Changed enum valueCreeperfrom40to2849. - Changed supporting type
ActorType: Changed enum valueSkeletonfrom41to1116962. - Changed supporting type
ActorType: Changed enum valueSpiderfrom42to264995. - Changed supporting type
ActorType: Changed enum valuePigZombiefrom43to68388. - Changed supporting type
ActorType: Changed enum valueSlimefrom44to2853. - Changed supporting type
ActorType: Changed enum valueEnderManfrom45to2854. - Changed supporting type
ActorType: Changed enum valueSilverfishfrom46to264999. - Changed supporting type
ActorType: Changed enum valueCaveSpiderfrom47to265000. - Changed supporting type
ActorType: Changed enum valueGhastfrom48to2857. - Changed supporting type
ActorType: Changed enum valueLavaSlimefrom49to2858. - Changed supporting type
ActorType: Changed enum valueBlazefrom50to2859. - Changed supporting type
ActorType: Changed enum valueZombieVillagerfrom51to199468. - Changed supporting type
ActorType: Changed enum valueWitchfrom52to2861. - Changed supporting type
ActorType: Changed enum valueStrayfrom53to1116974. - Changed supporting type
ActorType: Changed enum valueHuskfrom54to199471. - Changed supporting type
ActorType: Changed enum valueWitherSkeletonfrom55to1116976. - Changed supporting type
ActorType: Changed enum valueGuardianfrom56to2865. - Changed supporting type
ActorType: Changed enum valueElderGuardianfrom57to2866. - Changed supporting type
ActorType: Changed enum valueNpcfrom58to307. - Changed supporting type
ActorType: Changed enum valueWitherBossfrom59to68404. - Changed supporting type
ActorType: Changed enum valueDragonfrom60to2869. - Changed supporting type
ActorType: Changed enum valueShulkerfrom61to2870. - Changed supporting type
ActorType: Changed enum valueEndermitefrom62to265015. - Changed supporting type
ActorType: Changed enum valueAgentfrom63to312. - Changed supporting type
ActorType: Changed enum valueVindicatorfrom64to2873. - Changed supporting type
ActorType: Changed enum valuePhantomfrom65to68410. - Changed supporting type
ActorType: Changed enum valueIllagerBeastfrom66to2875. - Changed supporting type
ActorType: Changed enum valueArmorStandfrom67to317. - Changed supporting type
ActorType: Changed enum valueTripodCamerafrom68to318. - Changed supporting type
ActorType: Changed enum valuePlayerfrom69to319. - Changed supporting type
ActorType: Changed enum valueItemEntityfrom70to64. - Changed supporting type
ActorType: Changed enum valuePrimedTntfrom71to65. - Changed supporting type
ActorType: Changed enum valueFallingBlockfrom72to66. - Changed supporting type
ActorType: Changed enum valueMovingBlockfrom73to67. - Changed supporting type
ActorType: Changed enum valueExperiencePotionfrom74to4194372. - Changed supporting type
ActorType: Changed enum valueExperiencefrom75to69. - Changed supporting type
ActorType: Changed enum valueEyeOfEnderfrom76to70. - Changed supporting type
ActorType: Changed enum valueEnderCrystalfrom77to71. - Changed supporting type
ActorType: Changed enum valueFireworksRocketfrom78to72. - Changed supporting type
ActorType: Changed enum valueTridentfrom79to12582985. - Changed supporting type
ActorType: Changed enum valueTurtlefrom80to4938. - Changed supporting type
ActorType: Changed enum valueCatfrom81to21323. - Changed supporting type
ActorType: Changed enum valueShulkerBulletfrom82to4194380. - Changed supporting type
ActorType: Changed enum valueFishingHookfrom83to77. - Changed supporting type
ActorType: Changed enum valueChalkboardfrom84to78. - Changed supporting type
ActorType: Changed enum valueDragonFireballfrom85to4194383. - Changed supporting type
ActorType: Changed enum valueArrowfrom86to12582992. - Changed supporting type
ActorType: Changed enum valueSnowballfrom87to4194385. - Changed supporting type
ActorType: Changed enum valueThrownEggfrom88to4194386. - Changed supporting type
ActorType: Changed enum valuePaintingfrom89to83. - Changed supporting type
ActorType: Changed enum valueLargeFireballfrom90to4194389. - Changed supporting type
ActorType: Changed enum valueThrownPotionfrom91to4194390. - Changed supporting type
ActorType: Changed enum valueEnderpearlfrom92to4194391. - Changed supporting type
ActorType: Changed enum valueLeashKnotfrom93to88. - Changed supporting type
ActorType: Changed enum valueWitherSkullfrom94to4194393. - Changed supporting type
ActorType: Changed enum valueBoatRideablefrom95to90. - Changed supporting type
ActorType: Changed enum valueWitherSkullDangerousfrom96to4194395. - Changed supporting type
ActorType: Changed enum valueLightningBoltfrom97to93. - Changed supporting type
ActorType: Changed enum valueSmallFireballfrom98to4194398. - Changed supporting type
ActorType: Changed enum valueAreaEffectCloudfrom99to95. - Changed supporting type
ActorType: Changed enum valueLingeringPotionfrom100to4194405. - Changed supporting type
ActorType: Changed enum valueLlamaSpitfrom101to4194406. - Changed supporting type
ActorType: Changed enum valueEvocationFangfrom102to4194407. - Changed supporting type
ActorType: Changed enum valueEvocationIllagerfrom103to2920. - Changed supporting type
ActorType: Changed enum valueVexfrom104to2921. - Changed supporting type
ActorType: Changed enum valueMinecartRideablefrom105to524372. - Changed supporting type
ActorType: Changed enum valueMinecartHopperfrom106to524384. - Changed supporting type
ActorType: Changed enum valueMinecartTNTfrom107to524385. - Changed supporting type
ActorType: Changed enum valueMinecartChestfrom108to524386. - Changed supporting type
ActorType: Changed enum valueMinecartFurnacefrom109to524387. - Changed supporting type
ActorType: Changed enum valueMinecartCommandBlockfrom110to524388. - Changed supporting type
ActorType: Changed enum valueIceBombfrom111to4194410. - Changed supporting type
ActorType: Changed enum valueBalloonfrom112to107. - Changed supporting type
ActorType: Changed enum valuePufferfishfrom113to9068. - Changed supporting type
ActorType: Changed enum valueSalmonfrom114to9069. - Changed supporting type
ActorType: Changed enum valueDrownedfrom115to199534. - Changed supporting type
ActorType: Changed enum valueTropicalfishfrom116to9071. - Changed supporting type
ActorType: Changed enum valueFishfrom117to9072. - Changed supporting type
ActorType: Changed enum valuePandafrom118to4977. - Changed supporting type
ActorType: Changed enum valuePillagerfrom119to2930. - Changed supporting type
ActorType: Changed enum valueVillagerV2from120to16778099. - Changed supporting type
ActorType: Changed enum valueZombieVillagerV2from121to199540. - Changed supporting type
ActorType: Changed enum valueShieldfrom122to117. - Changed supporting type
ActorType: Changed enum valueWanderingTraderfrom123to886. - Changed supporting type
ActorType: Changed enum valueLecternfrom124to119. - Changed supporting type
ActorType: Changed enum valueElderGuardianGhostfrom125to2936. - Changed supporting type
ActorType: Changed enum valueFoxfrom126to4985. - Changed supporting type
ActorType: Changed enum valueBeefrom127to378. - Changed supporting type
ActorType: Changed enum valuePiglinfrom128to379. - Changed supporting type
ActorType: Changed enum valueHoglinfrom129to4988. - Changed supporting type
ActorType: Changed enum valueStriderfrom130to4989. - Changed supporting type
ActorType: Changed enum valueZoglinfrom131to68478. - Changed supporting type
ActorType: Changed enum valuePiglinBrutefrom132to383. - Changed supporting type
ActorType: Changed enum valueGoatfrom133to4992. - Changed supporting type
ActorType: Changed enum valueGlowSquidfrom134to9089. - Changed supporting type
ActorType: Changed enum valueAxolotlfrom135to4994. - Changed supporting type
ActorType: Changed enum valueWardenfrom136to2947. - Changed supporting type
ActorType: Changed enum valueFrogfrom137to4996. - Changed supporting type
ActorType: Changed enum valueTadpolefrom138to9093. - Changed supporting type
ActorType: Changed enum valueAllayfrom139to390. - Changed supporting type
ActorType: Changed enum valueChestBoatRideablefrom140to218. - Changed supporting type
ActorType: Changed enum valueTraderLlamafrom141to5021. - Changed supporting type
ActorType: Changed enum valueCamelfrom142to5002. - Changed supporting type
ActorType: Changed enum valueSnifferfrom143to5003. - Changed supporting type
ActorType: Changed enum valueBreezefrom144to2956. - Changed supporting type
ActorType: Changed enum valueBreezeWindChargeProjectilefrom145to4194445. - Changed supporting type
ActorType: Changed enum valueArmadillofrom146to5006. - Changed supporting type
ActorType: Changed enum valueWindChargeProjectilefrom147to4194447. - Changed supporting type
ActorType: Changed enum valueBoggedfrom148to1117072. - Changed supporting type
ActorType: Changed enum valueOminousItemSpawnerfrom149to145. - Changed supporting type
ActorType: Changed enum valueCreakingfrom150to2962. - Changed supporting type
ActorType: Changed enum valueHappyGhastfrom151to5011. - Changed supporting type
ActorType: Changed enum valueCopperGolemfrom152to916. - Changed supporting type
ActorType: Changed enum valueNautilusfrom153to9109. - Changed supporting type
ActorType: Changed enum valueZombieNautilusfrom154to74646. - Changed supporting type
ActorType: Changed enum valueParchedfrom155to1117079. - Changed supporting type
ActorType: Changed enum valueCamelHuskfrom156to70552. - Changed supporting type
ActorType: Changed enum valueSulfurCubefrom157to921. - Changed supporting type
ActorType: Changed enum valueCushionfrom158to154.