Commit graph

1254 commits

Author SHA1 Message Date
Steven Smith
ac5600734e
Merge pull request #30 from Camotoy/srvresolvingadjustment 2021-03-16 18:48:17 -07:00
Camotoy
312cff5f97
Optimize SRV resolving only when required
- Add an option to disable SRV resolving
- Don't resolve SRV records if not a domain (in one instance this shortened loading times by five seconds)
2021-03-16 20:07:03 -04:00
Steveice10
da520d8a81 Update to PacketLib 1.8 2021-01-15 13:03:17 -08:00
Steveice10
19a9b2be35 Collapse Client and Server into *ClientSession and ConnectionListener. 2021-01-15 12:45:06 -08:00
Steveice10
87206da886 Bump version to 2.0-SNAPSHOT 2021-01-15 12:44:41 -08:00
Steveice10
f29aa03c92 Bump version to 1.8 2021-01-15 12:44:04 -08:00
Steveice10
09d7774037 Default client local address to 0.0.0.0. 2021-01-15 12:07:12 -08:00
Steven Smith
62721cfe0d
Merge pull request #614 from Camotoy/worldborderfix 2021-01-13 20:32:01 -08:00
Camotoy
b0b83242ea
Fix write as well 2021-01-13 23:30:50 -05:00
Camotoy
bf0a6be8fe
Fix ServerWorldBorderPacket initialization
Seems like these two were flipped around.
2021-01-13 19:58:40 -05:00
Steven Smith
f37d2eaf3a
Merge pull request #25 from VADemon/custom-local-interface
Add local address binding to Client
2020-12-23 10:47:50 -08:00
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