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- 0
Undefined - 1
Mob - 2
PathfinderMob - 3
Monster - 4
Animal - 5
TamableAnimal - 6
Ambient - 7
UndeadMonster - 8
ZombieMonster - 9
Arthropod - 10
Minecart - 11
SkeletonMonster - 12
EquineAnimal - 13
Projectile - 14
AbstractArrow - 15
WaterAnimal - 16
VillagerBase - 17
Chicken - 18
Cow - 19
Pig - 20
Sheep - 21
Wolf - 22
Villager - 23
MushroomCow - 24
Squid - 25
Rabbit - 26
Bat - 27
IronGolem - 28
SnowGolem - 29
Ocelot - 30
Horse - 31
PolarBear - 32
Llama - 33
Parrot - 34
Dolphin - 35
Donkey - 36
Mule - 37
SkeletonHorse - 38
ZombieHorse - 39
Zombie - 40
Creeper - 41
Skeleton - 42
Spider - 43
PigZombie - 44
Slime - 45
EnderMan - 46
Silverfish - 47
CaveSpider - 48
Ghast - 49
LavaSlime - 50
Blaze - 51
ZombieVillager - 52
Witch - 53
Stray - 54
Husk - 55
WitherSkeleton - 56
Guardian - 57
ElderGuardian - 58
Npc - 59
WitherBoss - 60
Dragon - 61
Shulker - 62
Endermite - 63
Agent - 64
Vindicator - 65
Phantom - 66
IllagerBeast - 67
ArmorStand - 68
TripodCamera - 69
Player - 70
ItemEntity - 71
PrimedTnt - 72
FallingBlock - 73
MovingBlock - 74
ExperiencePotion - 75
Experience - 76
EyeOfEnder - 77
EnderCrystal - 78
FireworksRocket - 79
Trident - 80
Turtle - 81
Cat - 82
ShulkerBullet - 83
FishingHook - 84
Chalkboard - 85
DragonFireball - 86
Arrow - 87
Snowball - 88
ThrownEgg - 89
Painting - 90
LargeFireball - 91
ThrownPotion - 92
Enderpearl - 93
LeashKnot - 94
WitherSkull - 95
BoatRideable - 96
WitherSkullDangerous - 97
LightningBolt - 98
SmallFireball - 99
AreaEffectCloud - 100
LingeringPotion - 101
LlamaSpit - 102
EvocationFang - 103
EvocationIllager - 104
Vex - 105
MinecartRideable - 106
MinecartHopper - 107
MinecartTNT - 108
MinecartChest - 109
MinecartFurnace - 110
MinecartCommandBlock - 111
IceBomb - 112
Balloon - 113
Pufferfish - 114
Salmon - 115
Drowned - 116
Tropicalfish - 117
Fish - 118
Panda - 119
Pillager - 120
VillagerV2 - 121
ZombieVillagerV2 - 122
Shield - 123
WanderingTrader - 124
Lectern - 125
ElderGuardianGhost - 126
Fox - 127
Bee - 128
Piglin - 129
Hoglin - 130
Strider - 131
Zoglin - 132
PiglinBrute - 133
Goat - 134
GlowSquid - 135
Axolotl - 136
Warden - 137
Frog - 138
Tadpole - 139
Allay - 140
ChestBoatRideable - 141
TraderLlama - 142
Camel - 143
Sniffer - 144
Breeze - 145
BreezeWindChargeProjectile - 146
Armadillo - 147
WindChargeProjectile - 148
Bogged - 149
OminousItemSpawner - 150
Creaking - 151
HappyGhast - 152
CopperGolem - 153
Nautilus - 154
ZombieNautilus - 155
Parched - 156
CamelHusk - 157
SulfurCube - 158
Cushion
- 0
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.