Closed Codestech1 closed 5 months ago
Modifying this pull request to create a non-breaking API via interfaces
Serializing NBT text components is not possible for now, because kyori has not a serializer for them yet. https://github.com/KyoriPowered/adventure/issues/995
We should create an event system and integrate it with the packet system before merging, ie. the Packet class should extend Event.
Small thing: if fx. B Event extends A event, then when B is called it should also call A event
ie calling an event should also call its parents
We should create an event system and integrate it with the packet system before merging, ie. the Packet class should extend Event.
Small thing: if fx. B Event extends A event, then when B is called it should also call A event
The goal for now was achieving a working connection between server and client and a basic packet system. Wouldn't it be better to make an event system in another PR?
well fx. the requeststatus packet will call an event, which will send an respondstatus packet instead of it comming directly from the other packet
well fx. the requeststatus packet will call an event, which will send an respondstatus packet instead of it comming directly from the other packet
I could start making an event system now, but in another PR.
Adds an initial gradle project and packet structure.