SetLastHurtByPacket¶
文档版本:r/21_u4
协议版本:748
SetLastHurtByPacket数据包,数字ID是96。该数据包用于protocol.packet.setlasthurtbypacket.description
结构¶
digraph "SetLastHurtByPacket" {
rankdir = LR
0
0 -> 1
1 -> 2
0 [label="SetLastHurtByPacket",comment="name: \"SetLastHurtByPacket\", typeName: \"\", id: 0, branchId: 96, recurseId: -1, attributes: 0, notes: \"\""];
1 [label="Last Hurt By",comment="name: \"Last Hurt By\", typeName: \"\", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: \"\""];
2 [label="varint",comment="name: \"varint\", typeName: \"\", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: \"\""];
{ rank = max;2}
}
字段¶
- Last Hurt By:varint
- 基本类型枚举。protocol.packet.setlasthurtbypacket.last_hurt_by.description枚举值如下:
-
键 值 描述 Undefined1protocol.enum.undefined TypeMask0x000000ffprotocol.enum.typemask Mob0x00000100protocol.enum.mob PathfinderMob0x00000200 | Mobprotocol.enum.pathfindermob Monster0x00000800 | PathfinderMobprotocol.enum.monster Animal0x00001000 | PathfinderMobprotocol.enum.animal TamableAnimal0x00004000 | Animalprotocol.enum.tamableanimal Ambient0x00008000 | Mobprotocol.enum.ambient UndeadMob0x00010000 | Monsterprotocol.enum.undeadmob ZombieMonster0x00020000 | UndeadMobprotocol.enum.zombiemonster Arthropod0x00040000 | Monsterprotocol.enum.arthropod Minecart0x00080000protocol.enum.minecart SkeletonMonster0x00100000 | UndeadMobprotocol.enum.skeletonmonster EquineAnimal0x00200000 | TamableAnimalprotocol.enum.equineanimal Projectile0x00400000protocol.enum.projectile AbstractArrow0x00800000protocol.enum.abstractarrow WaterAnimal0x00002000 | PathfinderMobprotocol.enum.wateranimal VillagerBase0x01000000 | PathfinderMobprotocol.enum.villagerbase Chicken10 | Animalprotocol.enum.chicken Cow11 | Animalprotocol.enum.cow Pig12 | Animalprotocol.enum.pig Sheep13 | Animalprotocol.enum.sheep Wolf14 | TamableAnimalprotocol.enum.wolf Villager15 | VillagerBaseprotocol.enum.villager MushroomCow16 | Animalprotocol.enum.mushroomcow Squid17 | WaterAnimalprotocol.enum.squid Rabbit18 | Animalprotocol.enum.rabbit Bat19 | Ambientprotocol.enum.bat IronGolem20 | PathfinderMobprotocol.enum.irongolem SnowGolem21 | PathfinderMobprotocol.enum.snowgolem Ocelot22 | TamableAnimalprotocol.enum.ocelot Horse23 | EquineAnimalprotocol.enum.horse PolarBear28 | Animalprotocol.enum.polarbear Llama29 | Animalprotocol.enum.llama Parrot30 | TamableAnimalprotocol.enum.parrot Dolphin31 | WaterAnimalprotocol.enum.dolphin Donkey24 | EquineAnimalprotocol.enum.donkey Mule25 | EquineAnimalprotocol.enum.mule SkeletonHorse26 | EquineAnimal | UndeadMobprotocol.enum.skeletonhorse ZombieHorse27 | EquineAnimal | UndeadMobprotocol.enum.zombiehorse Zombie32 | ZombieMonsterprotocol.enum.zombie Creeper33 | Monsterprotocol.enum.creeper Skeleton34 | SkeletonMonsterprotocol.enum.skeleton Spider35 | Arthropodprotocol.enum.spider PigZombie36 | UndeadMobprotocol.enum.pigzombie Slime37 | Monsterprotocol.enum.slime EnderMan38 | Monsterprotocol.enum.enderman Silverfish39 | Arthropodprotocol.enum.silverfish CaveSpider40 | Arthropodprotocol.enum.cavespider Ghast41 | Monsterprotocol.enum.ghast LavaSlime42 | Monsterprotocol.enum.lavaslime Blaze43 | Monsterprotocol.enum.blaze ZombieVillager44 | ZombieMonsterprotocol.enum.zombievillager Witch45 | Monsterprotocol.enum.witch Stray46 | SkeletonMonsterprotocol.enum.stray Husk47 | ZombieMonsterprotocol.enum.husk WitherSkeleton48 | SkeletonMonsterprotocol.enum.witherskeleton Guardian49 | Monsterprotocol.enum.guardian ElderGuardian50 | Monsterprotocol.enum.elderguardian Npc51 | Mobprotocol.enum.npc WitherBoss52 | UndeadMobprotocol.enum.witherboss Dragon53 | Monsterprotocol.enum.dragon Shulker54 | Monsterprotocol.enum.shulker Endermite55 | Arthropodprotocol.enum.endermite Agent56 | Mobprotocol.enum.agent Vindicator57 | Monsterprotocol.enum.vindicator Phantom58 | UndeadMobprotocol.enum.phantom IllagerBeast59 | Monsterprotocol.enum.illagerbeast ArmorStand61 | Mobprotocol.enum.armorstand TripodCamera62 | Mobprotocol.enum.tripodcamera Player63 | Mobprotocol.enum.player ItemEntity64protocol.enum.itementity PrimedTnt65protocol.enum.primedtnt FallingBlock66protocol.enum.fallingblock MovingBlock67protocol.enum.movingblock ExperiencePotion68 | Projectileprotocol.enum.experiencepotion Experience69protocol.enum.experience EyeOfEnder70protocol.enum.eyeofender EnderCrystal71protocol.enum.endercrystal FireworksRocket72protocol.enum.fireworksrocket Trident73 | Projectile | AbstractArrowprotocol.enum.trident Turtle74 | Animalprotocol.enum.turtle Cat75 | TamableAnimalprotocol.enum.cat ShulkerBullet76 | Projectileprotocol.enum.shulkerbullet FishingHook77protocol.enum.fishinghook Chalkboard78protocol.enum.chalkboard DragonFireball79 | Projectileprotocol.enum.dragonfireball Arrow80 | Projectile | AbstractArrowprotocol.enum.arrow Snowball81 | Projectileprotocol.enum.snowball ThrownEgg82 | Projectileprotocol.enum.thrownegg Painting83protocol.enum.painting LargeFireball85 | Projectileprotocol.enum.largefireball ThrownPotion86 | Projectileprotocol.enum.thrownpotion Enderpearl87 | Projectileprotocol.enum.enderpearl LeashKnot88protocol.enum.leashknot WitherSkull89 | Projectileprotocol.enum.witherskull BoatRideable90protocol.enum.boatrideable WitherSkullDangerous91 | Projectileprotocol.enum.witherskulldangerous LightningBolt93protocol.enum.lightningbolt SmallFireball94 | Projectileprotocol.enum.smallfireball AreaEffectCloud95protocol.enum.areaeffectcloud LingeringPotion101 | Projectileprotocol.enum.lingeringpotion LlamaSpit102 | Projectileprotocol.enum.llamaspit EvocationFang103 | Projectileprotocol.enum.evocationfang EvocationIllager104 | Monsterprotocol.enum.evocationillager Vex105 | Monsterprotocol.enum.vex MinecartRideable84 | Minecartprotocol.enum.minecartrideable MinecartHopper96 | Minecartprotocol.enum.minecarthopper MinecartTNT97 | Minecartprotocol.enum.minecarttnt MinecartChest98 | Minecartprotocol.enum.minecartchest MinecartFurnace99 | Minecartprotocol.enum.minecartfurnace MinecartCommandBlock100 | Minecartprotocol.enum.minecartcommandblock IceBomb106 | Projectileprotocol.enum.icebomb Balloon107protocol.enum.balloon Pufferfish108 | WaterAnimalprotocol.enum.pufferfish Salmon109 | WaterAnimalprotocol.enum.salmon Drowned110 | ZombieMonsterprotocol.enum.drowned Tropicalfish111 | WaterAnimalprotocol.enum.tropicalfish Fish112 | WaterAnimalprotocol.enum.fish Panda113 | Animalprotocol.enum.panda Pillager114 | Monsterprotocol.enum.pillager VillagerV2115 | VillagerBaseprotocol.enum.villagerv2 ZombieVillagerV2116 | ZombieMonsterprotocol.enum.zombievillagerv2 Shield117protocol.enum.shield WanderingTrader118 | PathfinderMobprotocol.enum.wanderingtrader Lectern119protocol.enum.lectern ElderGuardianGhost120 | Monsterprotocol.enum.elderguardianghost Fox121 | Animalprotocol.enum.fox Bee122 | Mobprotocol.enum.bee Piglin123 | Mobprotocol.enum.piglin Hoglin124 | Animalprotocol.enum.hoglin Strider125 | Animalprotocol.enum.strider Zoglin126 | UndeadMobprotocol.enum.zoglin PiglinBrute127 | Mobprotocol.enum.piglinbrute Goat128 | Animalprotocol.enum.goat GlowSquid129 | WaterAnimalprotocol.enum.glowsquid Axolotl130 | Animalprotocol.enum.axolotl Warden131 | Monsterprotocol.enum.warden Frog132 | Animalprotocol.enum.frog Tadpole133 | WaterAnimalprotocol.enum.tadpole Allay134 | Mobprotocol.enum.allay ChestBoatRideable136 | BoatRideableprotocol.enum.chestboatrideable TraderLlama137 | Llamaprotocol.enum.traderllama Camel138 | Animalprotocol.enum.camel Sniffer139 | Animalprotocol.enum.sniffer Breeze140 | Monsterprotocol.enum.breeze BreezeWindChargeProjectile141 | Projectileprotocol.enum.breezewindchargeprojectile Armadillo142 | Animalprotocol.enum.armadillo WindChargeProjectile143 | Projectileprotocol.enum.windchargeprojectile Bogged144 | SkeletonMonsterprotocol.enum.bogged OminousItemSpawner145protocol.enum.ominousitemspawner