Commit graph

1463 commits

Author SHA1 Message Date
basaigh
01940ba358 Oops, missed 24w03b 2024-02-13 01:44:19 +00:00
basaigh
c84cad6d06 24w05a
They forgot to bump the version string and protocol id, not an accident on my part.
2024-02-13 01:41:38 +00:00
basaigh
7cdfa6ef36 24w04a 2024-02-10 20:55:38 +00:00
basaigh
8f1834d906 Update tests 2024-02-07 23:10:29 +00:00
basaigh
7597e0e8e5 24w03a 2024-02-07 00:08:45 +00:00
basaigh
f649c70058 Address review 2024-01-23 19:43:31 +00:00
basaigh
8bb3aadb88 23w51a 2024-01-22 23:27:22 +00:00
chris
eacfb2d037
Make readBlockEntityType() nullable again (#786)
The vanilla client does so too - it allows reading a null value, but wont write one.
2024-01-16 23:05:00 +01:00
Konicai
cf4ccc3df6
Fix certain serializations of ClientboundPlayerInfoUpdatePacket (#785)
Co-authored-by: Alex <40795980+alexprogrammerde@users.noreply.github.com>
2024-01-11 18:03:19 -05:00
WinPlay02
4b3e86a0b1
Fix ClientboundSetTitleTextPacket serialization (#781) 2024-01-11 12:38:21 -05:00
Alex
4f2e7a5b55
Move package/license to GeyserMC, gradle conventions and submodules (#782)
* Change packages

* Move everything to a protocol submodule

* gradle conventions, update license

---------

Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
2024-01-11 12:21:23 -05:00
Alex
8d4878c1fa
Remove unused exceptions, use java 9+ features and checkerframework, other cleanup (#780) 2024-01-04 13:04:25 -05:00
Alex
eaac051d1f
Create jitpack.yml (#778) 2023-12-22 19:32:29 -08:00
Kas-tle
d3cc9d47df
Resolve fallout from globalPaletteBits removal (#777)
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2023-12-20 14:57:58 -08:00
David Mayr
809a0c58f2
Fix DataPalette index & deprecate unused globalPaletteBits (#775)
* fix: datapalette not working correctly

* feat: deprecate global palette bits

* chore: redirect deprecated createEmpty call to new one
2023-12-20 13:54:45 -08:00
Alex
ff317f1a9a
Migrate to gradle, fix examples (#769) 2023-12-19 13:01:53 -05:00
Konicai
2a76b379ce
Fix (de)serialization of ClientboundExplodePacket (#776)
* Fix (de)serialization of ClientboundExplodePacket

* Also fix JDK version in Jenkinsfile
2023-12-19 02:41:25 -05:00
Konicai
c81006e127
1.20.4-2-SNAPSHOT and Java 17 (#773) 2023-12-15 17:34:05 -05:00
Konicai
5103ededc8
release 1.20.4-1 (#772) 2023-12-14 21:34:02 -08:00
Konicai
723fbb3d54
Label as 1.20.4 and update adventure to snapshot (#768)
* Update adventure to 4.15.0-20231207.074016-23
* Also update MCPL to 1.20.4-1-SNAPSHOT
* use json-legacy-impl instead of gson-legacy-impl
2023-12-14 16:28:43 -05:00
Konicai
7123bf9f19
Merge pull request #767 from GeyserMC/feature/1.20.3
Transition to 1.20.3
2023-12-05 19:23:30 -05:00
Konicai
d5d3e24a6c 1.20.3 2023-12-05 16:31:04 -05:00
Konicai
11105ca471
1.20.3-rc1 2023-12-01 15:33:46 -05:00
Konicai
c6ba2fab31
Fix/improve nullability annotations for ItemStacks 2023-11-30 01:32:25 -05:00
Konicai
a8c951a623 simplify MetadataType by removing HelperReader/Writer 2023-11-29 21:06:36 -05:00
Konicai
d9a0c5eddf Fix reading plaintext Components, cleanup Tag IO
remove named Tag IO from helper
fix nullability of NBT in ClientboundTagQueryPacket
improve other nullability annotations
2023-11-29 21:06:36 -05:00
Konicai
701593eacf 1.20.3-pre4 2023-11-29 21:06:36 -05:00
Konicai
e533a76147 PositionSource is sent as registry ID instead of resource location 2023-11-29 21:06:36 -05:00
Konicai
1dffba1eb5
1.20.3-pre3 2023-11-27 11:45:34 -05:00
Konicai
00bce426ca
Component serialization, maybe. 2023-11-25 06:49:10 -05:00
Konicai
15a6ee31dd
objective name on ClientboundResetScorePacket too... 2023-11-25 02:03:09 -05:00
Konicai
3fe36382ac
Delete ScoreboardAction.java 2023-11-25 02:00:13 -05:00
Konicai
5d94774861
Undo objective rename diff in ClientboundSetScorePacket 2023-11-25 01:55:26 -05:00
Konicai
414b48492a
DecoratedPotValueType typo and other little things 2023-11-25 01:31:46 -05:00
Konicai
8f6a34b3bb finish missing data, fix shaped recipe serialization 2023-11-25 01:12:34 -05:00
Konicai
648d38e8a7
FrameType -> AdvancementType for parity 2023-11-24 13:30:07 -05:00
Konicai
5e50fa6aa7 Finish all but one packet changes 2023-11-23 23:08:37 -05:00
Konicai
2a9d1c40f5 1.20.3: some packets and datas 2023-11-23 18:33:50 -05:00
Konicai
a399e08109 1.20.3: sound enum 2023-11-23 18:33:50 -05:00
Konicai
a0cd1e1cef
Bump to release 1.20.2-1 (#766)
* Better take on the previous commit
* Bump to release
2023-11-23 18:32:05 -05:00
Andrey Pfau
542e2ff0e7
Fix optional enforcesSecureChat in ServerStatusInfo (#762) 2023-11-23 02:49:48 -05:00
Alex
64d58248d6
Update dependencies (#763)
* Update dependencies

* Use static imports for Assertions

* Change commit hash from jitpack
2023-11-23 02:22:23 -05:00
basaigh
6f53d57f8d
Merge pull request #765 from onebeastchris/ClientBoundDisconnectPacketFix
Read Component instead of String in ClientboundLoginDisconnectPacket
2023-11-01 14:18:42 +00:00
onebeastchris
d52318f5d5 Read Component instead of String in the ClientboundLoginDisconnectPacket 2023-11-01 15:02:34 +01:00
chris
e282423200
Fix: Serverbound ServerboundResourcePackPacket registered as client bound (#761) 2023-10-03 14:50:19 +01:00
Konicai
d9722962dc
Don't use default timings for shutdownGracefully in shutdowns (#760) 2023-10-01 16:09:48 -04:00
Konicai
82ffc874b1
Cleanup and fix nullabilities in custom payload/query packets (#759) 2023-10-01 13:31:55 -04:00
Konicai
2151d360b1
Fix mob effect ids (#758) 2023-09-26 18:47:54 -04:00
petersv5
d85e90f341
use daemon threads to allow shut down of application (#748)
To exit normally all non-daemon threads of the java process are supposed
to have stopped. TcpClientSession creates an static class member
EventLoopGroup which in turn instantiates worker threads. These are
changed to daemon threads to not get in the way of the shutdown. This
is similar to the default in Netty 5.

To ensure work is finished the Runtime shutdown event is hooked to
initiate a time-limited graceful shutdown of the event loops. Normally
an application should shut down communication before the process
shutdown is inititated.

Co-authored-by: Peter Svensson <petersv@psv.nu>
Co-authored-by: Konicai <71294714+konicai@users.noreply.github.com>
2023-09-22 23:29:34 -04:00
Konicai
2f05a23acd
Merge pull request #752 from GeyserMC/feature/1.20.2
Move to 1.20.2
2023-09-21 15:04:00 -04:00