Camotoy
54fc9f0750
Rename MessageType; use Object2IntMap for Statistics
2022-06-15 18:28:40 -04:00
Camotoy
3023c4d1b0
The MessageType registry is flexible
2022-06-08 22:26:01 -04:00
circuit10
55fe033136
Add new 1.18 tags in example ( #678 )
2021-12-09 14:02:32 -05:00
Camotoy
8eca14983a
Update for PacketLib changes
2021-11-24 23:33:39 -05:00
Camotoy
62492c961a
Entity metadata refactor; remove some MagicValues usages
2021-11-15 14:51:03 -05:00
RednedEpic
5b4ba5b8d0
Merge branch 'feature/1.18' into feature/codec-refactor
2021-11-13 20:10:44 -06:00
RednedEpic
64410dbe48
Implement packet codec system to remove expensive protocol state switches
...
With the way this lib used to previously work, any time the protocol state changed, all the packet maps got cleared and had new packets inserted into them depending on the protocol state. This was unnecessarily expensive and although called rarely, it was not ideal.
The packet codecs added are static, immutable and can be reused across sessions. The codec system also opens up the door for multi-version capability in the future.
2021-11-13 16:44:55 -06:00
Camotoy
73659fe559
Update example
2021-11-12 17:37:25 -05:00
D3ATHBRINGER13
8fcf4df994
Refactor to use Mojmap packet names ( #662 )
...
This allows packet name parity with Minecraft itself.
2021-11-12 12:59:12 -05:00
Steveice10
270261ba2d
Update to latest MCAuthLib commit.
2021-09-06 15:05:31 -07:00
Steveice10
893cc683cb
Update to latest PacketLib commit.
2021-04-20 18:28:14 -07:00
Steveice10
bcf5232781
Tidy up auth data handling.
2021-03-30 11:23:41 -07:00
Steveice10
ccbd52dffd
Replace Message API with Adventure component parsing.
2020-11-21 13:42:36 -08:00
Steveice10
c38a9fe61e
Add missing imports
2020-10-15 14:56:16 -07:00
Steveice10
2ac116a075
Revise chunk storage code based on latest logic.
2020-10-13 16:18:56 -07:00
rtm516
0d78575081
Fix dimension tag in example
2020-10-10 17:52:13 +01:00
Steveice10
6c66d7e27b
Replace specifying proxy with specifying custom auth service clients.
2020-08-29 11:16:34 -07:00
Steveice10
46b46001f6
Remove equals and hashCode ignore from chunks and fix example.
2020-07-10 17:31:26 -07:00
RednedEpic
795ae325b8
Resolve merge conflicts
2020-06-20 15:52:20 -05:00
Steveice10
f142eab3a2
Overhaul JSON message classes to be immutable and use a builder pattern.
2020-06-06 14:54:40 -07:00
Steveice10
1840d5aa3d
Remove server list icon decoding as ImageIO/BufferedImage do not exist on Android.
2020-06-03 14:58:49 -07:00
RednedEpic
20f73c5e1e
Update to 20w20a
2020-05-13 16:06:26 -05:00
Steveice10
3c6cbb2cff
Update for PacketLib changes.
2020-02-26 18:22:38 -08:00
Steveice10
6663b2e66f
Fix example code.
2019-12-17 16:45:32 -08:00
Steveice10
4dd7416966
Use Lombok to reduce boilerplate code, add some basic packet read/write tests.
...
Also implements declare commands and declare recipes packets.
2019-08-17 22:59:58 -07:00
Steveice10
8a81b14b51
Fix example, bump OpenNBT version to 1.1
2018-07-02 15:17:00 -07:00
Steveice10
34c3504e6a
Fix hang closing server in example, update PacketLib version.
2018-06-03 11:43:08 -07:00
Steveice10
dae57d1090
Clean up and format code.
2017-09-01 12:01:46 -07:00
Steveice10
661faf9541
Migrate away from spacehq.org
2017-03-01 16:33:38 -08:00