Implemented the decoder and supporting event classes for the command packet.
Implemented the decoder and supporting event classes for the resource packet.
Implemented the decoder and supporting event classes for the character packet.
Added @NotNull annotations and final keywords where needed.