mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2024-12-02 23:23:31 +01:00
adc8d15ddc
Add clientbound.login.PluginRequestPacket and serverbound.login.PluginResponsePacket.
13 lines
465 B
Python
13 lines
465 B
Python
from .packet import Packet
|
|
from minecraft.networking.types import String, TrailingByteArray
|
|
|
|
|
|
class AbstractPluginMessagePacket(Packet):
|
|
"""NOTE: Plugin channels were significantly changed, including changing the
|
|
names of channels, between Minecraft 1.12 and 1.13 - see <http://wiki.vg
|
|
/index.php?title=Pre-release_protocol&oldid=14132#Plugin_Channels>.
|
|
"""
|
|
definition = [
|
|
{'channel': String},
|
|
{'data': TrailingByteArray}]
|