mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-12-24 01:27:52 +01:00
Add docstring about legacy packet names to packets module.
This commit is contained in:
parent
4a7d06c3cf
commit
f1ae765458
@ -1,3 +1,13 @@
|
||||
'''
|
||||
NOTE: The packet classes in __all_legacy_packets__ exported by this
|
||||
module are included only for backward compatibility, and should not
|
||||
be used in new code, as (1) they do not include all packets present
|
||||
in pyCraft, and (2) some are named oddly, for historical reasons.
|
||||
|
||||
Use the packet classes under packets.clientbound.* and
|
||||
packets.serverbound.* instead.
|
||||
'''
|
||||
|
||||
from .packet import Packet
|
||||
from .packet_buffer import PacketBuffer
|
||||
from .keep_alive_packet import KeepAlivePacket
|
||||
|
Loading…
Reference in New Issue
Block a user