protocol: add EntityRemoveEffect_VarInt variant

This commit is contained in:
ice_iix 2022-08-06 16:53:38 -07:00
parent 556d6ebe07
commit a2153214bf
2 changed files with 5 additions and 1 deletions

View File

@ -1796,6 +1796,10 @@ state_packets!(
field entity_ids: LenPrefixed<u8, i32> =,
}
/// EntityRemoveEffect removes an effect from an entity.
packet EntityRemoveEffect_VarInt {
field entity_id: VarInt =,
field effect_id: VarInt =,
}
packet EntityRemoveEffect_i8 {
field entity_id: VarInt =,
field effect_id: i8 =,

View File

@ -117,7 +117,7 @@ protocol_packet_ids!(
0x38 => TeleportPlayer_WithDismount
0x39 => UnlockRecipes_WithBlastSmoker
0x3a => EntityDestroy
0x3b => EntityRemoveEffect_i8
0x3b => EntityRemoveEffect_VarInt
0x3c => ResourcePackSend_Prompt
0x3d => Respawn_NBT
0x3e => EntityHeadLook