mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-11-06 14:45:14 +00:00
196 lines
6.8 KiB
JSON
196 lines
6.8 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "3146300535",
|
|
"x-format-version": "MISSING VERSION",
|
|
"x-minecraft-version": "1.21.120",
|
|
"x-protocol-version": 859,
|
|
"definitions": {
|
|
"1078490166": {
|
|
"title": "SetLastHurtByPacketPayload",
|
|
"type": "object",
|
|
"properties": {
|
|
"LastHurtBy": {
|
|
"title": "ActorType",
|
|
"type": "string",
|
|
"enum": [
|
|
"Undefined",
|
|
"Mob",
|
|
"PathfinderMob",
|
|
"Monster",
|
|
"Animal",
|
|
"TamableAnimal",
|
|
"Ambient",
|
|
"UndeadMob",
|
|
"ZombieMonster",
|
|
"Arthropod",
|
|
"Minecart",
|
|
"SkeletonMonster",
|
|
"EquineAnimal",
|
|
"Projectile",
|
|
"AbstractArrow",
|
|
"WaterAnimal",
|
|
"VillagerBase",
|
|
"Chicken",
|
|
"Cow",
|
|
"Pig",
|
|
"Sheep",
|
|
"Wolf",
|
|
"Villager",
|
|
"MushroomCow",
|
|
"Squid",
|
|
"Rabbit",
|
|
"Bat",
|
|
"IronGolem",
|
|
"SnowGolem",
|
|
"Ocelot",
|
|
"Horse",
|
|
"PolarBear",
|
|
"Llama",
|
|
"Parrot",
|
|
"Dolphin",
|
|
"Donkey",
|
|
"Mule",
|
|
"SkeletonHorse",
|
|
"ZombieHorse",
|
|
"Zombie",
|
|
"Creeper",
|
|
"Skeleton",
|
|
"Spider",
|
|
"PigZombie",
|
|
"Slime",
|
|
"EnderMan",
|
|
"Silverfish",
|
|
"CaveSpider",
|
|
"Ghast",
|
|
"LavaSlime",
|
|
"Blaze",
|
|
"ZombieVillager",
|
|
"Witch",
|
|
"Stray",
|
|
"Husk",
|
|
"WitherSkeleton",
|
|
"Guardian",
|
|
"ElderGuardian",
|
|
"Npc",
|
|
"WitherBoss",
|
|
"Dragon",
|
|
"Shulker",
|
|
"Endermite",
|
|
"Agent",
|
|
"Vindicator",
|
|
"Phantom",
|
|
"IllagerBeast",
|
|
"ArmorStand",
|
|
"TripodCamera",
|
|
"Player",
|
|
"ItemEntity",
|
|
"PrimedTnt",
|
|
"FallingBlock",
|
|
"MovingBlock",
|
|
"ExperiencePotion",
|
|
"Experience",
|
|
"EyeOfEnder",
|
|
"EnderCrystal",
|
|
"FireworksRocket",
|
|
"Trident",
|
|
"Turtle",
|
|
"Cat",
|
|
"ShulkerBullet",
|
|
"FishingHook",
|
|
"Chalkboard",
|
|
"DragonFireball",
|
|
"Arrow",
|
|
"Snowball",
|
|
"ThrownEgg",
|
|
"Painting",
|
|
"LargeFireball",
|
|
"ThrownPotion",
|
|
"Enderpearl",
|
|
"LeashKnot",
|
|
"WitherSkull",
|
|
"BoatRideable",
|
|
"WitherSkullDangerous",
|
|
"LightningBolt",
|
|
"SmallFireball",
|
|
"AreaEffectCloud",
|
|
"LingeringPotion",
|
|
"LlamaSpit",
|
|
"EvocationFang",
|
|
"EvocationIllager",
|
|
"Vex",
|
|
"MinecartRideable",
|
|
"MinecartHopper",
|
|
"MinecartTNT",
|
|
"MinecartChest",
|
|
"MinecartFurnace",
|
|
"MinecartCommandBlock",
|
|
"IceBomb",
|
|
"Balloon",
|
|
"Pufferfish",
|
|
"Salmon",
|
|
"Drowned",
|
|
"Tropicalfish",
|
|
"Fish",
|
|
"Panda",
|
|
"Pillager",
|
|
"VillagerV2",
|
|
"ZombieVillagerV2",
|
|
"Shield",
|
|
"WanderingTrader",
|
|
"Lectern",
|
|
"ElderGuardianGhost",
|
|
"Fox",
|
|
"Bee",
|
|
"Piglin",
|
|
"Hoglin",
|
|
"Strider",
|
|
"Zoglin",
|
|
"PiglinBrute",
|
|
"Goat",
|
|
"GlowSquid",
|
|
"Axolotl",
|
|
"Warden",
|
|
"Frog",
|
|
"Tadpole",
|
|
"Allay",
|
|
"ChestBoatRideable",
|
|
"TraderLlama",
|
|
"Camel",
|
|
"Sniffer",
|
|
"Breeze",
|
|
"BreezeWindChargeProjectile",
|
|
"Armadillo",
|
|
"WindChargeProjectile",
|
|
"Bogged",
|
|
"OminousItemSpawner",
|
|
"Creaking",
|
|
"HappyGhast",
|
|
"CopperGolem"
|
|
],
|
|
"x-underlying-type": "int32",
|
|
"x-serialization-options": [
|
|
"Compression",
|
|
"EnumAsValue"
|
|
],
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"required": [
|
|
"LastHurtBy"
|
|
]
|
|
}
|
|
},
|
|
"title": "SetLastHurtByPacket",
|
|
"description": "Any time a player is hit, the id of the last mob that attacked them is sent to the client",
|
|
"type": "object",
|
|
"properties": {
|
|
"mPayload": {
|
|
"$ref": "#/definitions/1078490166",
|
|
"x-ordinal-index": 0
|
|
}
|
|
},
|
|
"$metaProperties": {
|
|
"[cereal:packet]": 96,
|
|
"[cereal:packet_details]": ""
|
|
}
|
|
} |