mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-08-28 04:04:46 +00:00
20 lines
1.1 KiB
HTML
20 lines
1.1 KiB
HTML
<!DOCTYPE html> <html> <head><style>table{font-family: arial, sans-serif;border-collapse: collapse;width: 100% ;}.tab { margin-left: 40px; }td, th{text-align: left;padding: 8px;}tr:nth-child(even) {background-color: #dddddd;}div#expand{display:block;}</style> </head> <body><h1>HurtArmorPacket (id: 38)</h1>
|
|
<table><col width="1%"><col width="99%"><tr><th></th><th></th></tr><tr><td> <b>Purpose:</b> </td>
|
|
<td>Hurt Armor</td>
|
|
</tr><tr><td> <b>Notes:</b> </td>
|
|
<td>Sends the damage taken after armor is taken into account. This looks like it is trying to be phased out, this is not sent while the ItemStackNetManagerServer is active. From the server.</td>
|
|
</tr></table><br><h2>Payload</h2>
|
|
<img src="svg/HurtArmorPacket.svg" alt="HurtArmorPacket">
|
|
<br><br><br><table><col width="10%"><col width="10%"><col width="15%"><col width="80%"><tr><th>Field Name</th><th>Field Type</th><th>Field Constraints</th><th>Field Notes</th></tr><tr><td>Cause</td>
|
|
<td>varint</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr><tr><td>Damage</td>
|
|
<td>varint</td>
|
|
<td></td>
|
|
<td></td>
|
|
</tr><tr><td>Armor Slots</td>
|
|
<td>unsigned varint64</td>
|
|
<td></td>
|
|
<td>Bitset</td>
|
|
</tr></table></body> </html> |