Closed FierraCodes closed 4 months ago
I really have no clue what you are trying to do. However, the proper way to construct new PacketTypes would be to use PacketType.fromCurrent(Protocol protocol, Sender sender, int packetId, Class<?> packetClass)
Making a minecraft client with custom packets.
Describe the question The constructor PacketType(PacketType.Protocol, PacketType.Sender, int, int) is undefined, Should be PacketType(PacketType.Protocol, PacketType.Sender, String[], String[])
API method(s) used I forgot, abandoned this project and reworking it now
Expected behavior No errors with packetId being an integer
Code