Commit graph

1243 commits

Author SHA1 Message Date
VADemon
126b0e67de Use proper @Nullable annotation from spotbugs 2020-12-23 13:21:12 +01:00
VADemon
1df02557d1 Local address binding: return bind addresses from Session if connected 2020-12-23 12:58:52 +01:00
VADemon
83201135ec Use proper Client constructor 2020-12-23 11:29:48 +01:00
VADemon
30588f7be0 Add local address binding to Client 2020-12-21 15:58:02 +01:00
Steven Smith
54f761ca13
Merge pull request #24 from mikroskeem/feature/haproxy-proxy-protocol-support
Add support for HAProxy PROXY protocol
2020-12-19 13:00:24 -08:00
Mark Vainomaa
a651cb0b26
Implement HAProxy PROXY protocol support for client 2020-12-19 22:51:43 +02:00
Mark Vainomaa
b94345387b
Resolve remote address eagerly 2020-12-19 05:08:43 +02:00
Mark Vainomaa
7b9af65ed0
Add netty-codec-haproxy dependency 2020-12-19 05:08:42 +02:00
Mark Vainomaa
a10416b8f3
Bump Netty to 4.1.56.Final 2020-12-19 05:08:42 +02:00
MatteCarra
95ba884563 Removed client token from MinecraftProtocol 2020-12-16 15:22:36 +01:00
Steven Smith
e1db422a34
Merge pull request #609 from davchoo/master
Fix magic values of PistonValue
2020-12-09 13:13:49 -08:00
David Choo
3b76ee2d23 Fix magic values of PistonValue 2020-12-09 15:35:46 -05:00
DoctorMacc
f7647a93ff
Actually fix merge 2020-12-04 19:21:27 -05:00
DoctorMacc
5e526ff01a
Merge branch 'master' of https://github.com/Steveice10/MCProtocolLib into feature/1.17 2020-12-04 18:02:46 -05:00
DoctorMacc
0ddc3a8664
Initial 20w49a implementation 2020-12-04 17:56:27 -05:00
Camotoy
f22b6ae512
Merge pull request #3 from D3ATHBRINGER13/feature/1.17
20w46a
2020-12-04 15:44:43 -05:00
Steven Smith
fa0aaccb61
Merge pull request #607 from rtm516/update-adventure
Update Adventure to 4.2.0
2020-11-26 11:06:29 -08:00
rtm516
973e6d7a6f
Update Adventure to 4.2.0 2020-11-25 20:51:17 +00:00
Steveice10
26201a49f0 Allow specifying a custom GsonComponentSerializer to use. 2020-11-21 13:56:49 -08:00
Steveice10
ccbd52dffd Replace Message API with Adventure component parsing. 2020-11-21 13:42:36 -08:00
Steveice10
9d709b389c Release version 1.16.4-1. 2020-11-21 13:40:49 -08:00
Steveice10
ead6afae39 Move DnsNameResolver creation into try-catch block. 2020-11-21 12:59:51 -08:00
D3ATHBRINGER13
5993241c70 20w46a 2020-11-17 19:43:27 +00:00
Steven Smith
86e1901be5
Merge pull request #600 from DoctorMacc/morenullableresult
Make all recipes nullable
2020-11-13 18:15:34 -08:00
DoctorMacc
1b167e197a
Make all recipes nullable
Cookable recipes can have a nullable result too - I'm going to assume that all recipe types can too.
2020-11-11 16:15:44 -05:00
Steven Smith
6ac79c14d6
Merge pull request #599 from DoctorMacc/nullableresult
Allow recipe data to be null
2020-11-08 23:05:48 -08:00
DoctorMacc
befbfbf0ed
Allow recipe data to be null
Using datapacks, this can end up being null. Example: https://www.planetminecraft.com/data-pack/true-survival-a-hardcore-minecraft-experience/ (used to set recipes as doing nothing)
2020-11-08 18:18:12 -05:00
DoctorMacc
ea3d99d0f9
Update for 20w45a
Notably: biome data is currently set to non-null as there is no full chunk indicator anymore.
2020-11-04 17:36:44 -05:00
DoctorMacc
7321e8f0d7 Update to 1.16.4 2020-11-02 12:31:24 -08:00
DoctorMacc
c363fc3cb5 Update to 1.16.4-pre2 2020-11-02 12:31:24 -08:00
DoctorMacc
37af0d3a39 Add support for 1.16.4 2020-11-02 12:31:24 -08:00
Steveice10
9182eca85b Bump version to 1.16.3-1. 2020-11-02 12:25:56 -08:00
Steven Smith
3ebf75b3d6
Merge pull request #592 from DoctorMacc/unknowngamemode
Add full support for the UNKNOWN gamemode
2020-10-22 01:49:36 -07:00
DoctorMacc
971f6eebf9
Accomodate for encoding bug 2020-10-21 20:46:44 -04:00
DoctorMacc
e408dd250d
Add full support for the UNKNOWN gamemode
Previously we correctly handled the unknown gamemode for 'previous gamemode'; however, this functionality can extend to the main gamemode. The gamemode writing we've been doing has been replaced with the UNKNOWN enum, so we aren't dealing with a null value.
2020-10-21 17:02:39 -04:00
Steven Smith
1b01b1ffef
Merge pull request #590 from DaMatrix/palette-optimization
allow duplicate entries in palette
2020-10-18 14:36:20 -07:00
DaPorkchop_
cdcfff5b10 allow duplicate entries in palette 2020-10-18 21:41:56 +02:00
Steven Smith
8270ec65e3
Merge pull request #589 from DaMatrix/palette-optimization
palette does not always start with zero...
2020-10-17 18:56:39 -07:00
DaPorkchop_
3685d6b580 palette does not always start with zero... 2020-10-17 17:38:14 +02:00
Steveice10
c38a9fe61e Add missing imports 2020-10-15 14:56:16 -07:00
Steven Smith
3a69a0614c
Merge pull request #588 from DaMatrix/palette-optimization
Palette optimization
2020-10-14 10:16:37 -07:00
DaPorkchop_
a05abf0403 use a Netty IntObjectMap instead of a standard Map 2020-10-14 15:03:29 +02:00
DaPorkchop_
8a000ddf2e remove useless imports in ListPalette 2020-10-14 14:57:56 +02:00
DaPorkchop_
4cefa46df3 don't allocate needless array when resizing palette 2020-10-14 14:56:42 +02:00
DaPorkchop_
1a2197fcc7 make MapPalette's idToState Map into an array 2020-10-14 14:52:38 +02:00
DaPorkchop_
f9e27b29e6 make ListPalette be backed by an array rather than a List 2020-10-14 14:51:53 +02:00
Steveice10
2ac116a075 Revise chunk storage code based on latest logic. 2020-10-13 16:18:56 -07:00
Steven Smith
ddd5b3a034
Merge pull request #586 from rtm516/patch-2
Add COPY_TO_CLIPBOARD ClickAction
2020-10-13 14:36:49 -07:00
Steven Smith
72b0f80082
Merge pull request #585 from Steveice10/dependabot/maven/junit-junit-4.13.1
Bump junit from 4.12 to 4.13.1
2020-10-13 14:36:02 -07:00
rtm516
23d78d7620
Add COPY_TO_CLIPBOARD ClickAction 2020-10-13 18:39:25 +01:00