Add combat job with safe target filtering
This commit is contained in:
1 parent
2ecaa9a30a
commit
1b9f973db3
12 files changed
+486
-7
No files matched your search
@@ -32,6 +32,13 @@ class UpdateTimePacket(Packet):
|
||||
})
|
||||
|
||||
|
||||
class AttackEntityPacket(Packet):
|
||||
"""Attack an entity using the selected main-hand item (protocol 777)."""
|
||||
id = 0x01
|
||||
packet_name = 'attack entity'
|
||||
definition = [{'entity_id': VarInt}]
|
||||
|
||||
|
||||
class PlayerInputPacket(Packet):
|
||||
"""Serverbound key state, including sneak for container-safe placement."""
|
||||
id = 0x2B
|
||||
|
||||
Reference in new issue
Block a user