Commit Graph

3585 Commits

Author SHA1 Message Date
Joshua Castle b5bfc89d25
Remove unused import
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-20 22:38:02 -07:00
Joshua Castle c089ae4717
Less static class nonsense more correct order
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-20 22:33:18 -07:00
Joshua Castle ca76523410
Define static serializers
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-20 21:59:35 -07:00
Joshua Castle 66419a118d
Ignore ClientCacheStatusPacket instead of disallow
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-20 18:10:18 -07:00
Joshua Castle 8c2c566f7d
Remove deprecated packet
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-20 18:06:33 -07:00
Joshua Castle fe26035668
Merge remote-tracking branch 'upstream/master' into fix/protocol 2024-04-20 17:16:59 -07:00
Joshua Castle 319beb3cd4
Bump protocol & add more illegal/ignored packets
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-20 17:05:12 -07:00
AJ Ferguson 810c9ced72
Fix filled cauldrons only showing as water (#4585)
* Fix filled cauldrons only showing as water

* Update comment
2024-04-20 17:21:39 -04:00
Joshua Castle 2b5afa16ba
Bump protocol to fix BlockEntityDataPacket and ignore serverbound BossEventPacket
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-19 22:55:16 -07:00
Joshua Castle 5636c7e00a
Merge remote-tracking branch 'upstream/master' into fix/protocol 2024-04-19 19:25:58 -07:00
Joshua Castle 85c5682efe
Add remove before merge comment
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-19 19:17:40 -07:00
rtm516 1bca6421d3
Update preview action to use correct project 2024-04-20 03:12:27 +01:00
Joshua Castle 5c3c1788e0
Bump protocol to fix BossEventPacket & EmotePacket
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-19 18:54:27 -07:00
Kas-tle 525a9ccec4
Fix Preview Workflow (#4583)
* Fix preview workflow

* Correct path to artifacts

* Uncomment repo checks

* Don't enforce repo/branch on preview deploy

* Correct paths-ignore for build
2024-04-20 02:47:00 +01:00
chris 94f664ad8d
Fix: Properly check whether the `so_reuseport` socket option is available (#4579)
* Try to properly check if so_reuseport is available

* io_uring "support"

* comment out io_uring, for now

* Make IO_uring opt-in via `-DGeyser.io_uring=true` flag

* dont include io_uring

* oops - bungee 

editing on mobile is hard

* oops - spigot

* oops - velocity

* properly exclude all io_uring on all platforms except standalone

---------

Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
2024-04-19 11:50:40 +02:00
AJ Ferguson c3ffd65f48
Fix default wolf and cat collar color (#4582) 2024-04-19 05:41:06 -04:00
Kas-tle 42dd3153db
Merge branch 'GeyserMC:master' into fix/protocol 2024-04-19 00:02:42 -07:00
ookiegajwa 0cc2921eda
Translate scoreboard display name and number format (#4567)
The following caveats apply because selectively removing or modifying the score numbers on Bedrock cannot be done without removing all of them:
* "blank" and "styled" number formats are ignored for "list" and "sidebar" display slots
* The "fixed" number format is appended to the end of the "list" and "sidebar" entry names instead of replacing the score number
* The "below_name" slot has no limitations and displays identically to Java
2024-04-18 21:23:33 -04:00
rtm516 ae96ad2ec4
Change preview builds project 2024-04-18 17:18:05 +01:00
Kas-tle a65738b0f0
Merge branch 'GeyserMC:master' into fix/protocol 2024-04-18 08:47:52 -07:00
Kas-tle de7ae141f6
Update release for preview builds (#4575) 2024-04-18 07:29:40 -07:00
Kas-tle 4fa183e3c2
Merge branch 'GeyserMC:master' into fix/protocol 2024-04-17 23:58:00 -07:00
AJ Ferguson 815456c549
Reset metadata and attributes if needed when respawning (#4566)
* Reset metadata and attributes if needed when respawning

* Minor edits

* Reset attributes in JavaLoginTranslator

* Fix client bug when updating absorption and health in the same tick
2024-04-18 00:16:41 -04:00
AJ Ferguson 576a1b7d7a
Remove map cache (#4576) 2024-04-17 17:53:56 -04:00
chris 7a20a190a0
Feature: Structure block translation (#4521)
* ported camotoy's attempt of implementing structure blocks, removal of a few TODO's

* no more parsing of java structure templates

* Don't attempt to re-request structure size

* ensure we can load structures in even if we know the size

* init: send correct structure size/offset/rotation to java, not fully working yet

* restore offsets so we are sending correct values to the java server regarding where we want the structure to be placed

* something something mirror

* attempt at proper offsets for mirroring AND rotations. this was not fun at all

* rotation, mirror, offsetting all seem to work

* undo import changes

* fix NPE

* Proper handling of empty structures, ensure that we can clear the structure block outline when a zero vector was sent for structure size

* oops

* Update core/src/main/java/org/geysermc/geyser/session/cache/StructureBlockCache.java

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* Update core/src/main/java/org/geysermc/geyser/translator/level/block/entity/StructureBlockBlockEntityTranslator.java

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockStructureBlockUpdateTranslator.java

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* Update core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockStructureTemplateDataRequestTranslator.java

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>

* consolidate java structure sending into one method

* fix merge conflict
---------

Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
2024-04-17 23:21:25 +02:00
AJ Ferguson c8475d8100
Always remove entities from cache (#4577)
* Always remove entities from cache

* Despawn throwable entities in the void
2024-04-17 03:18:17 -04:00
Joshua Castle 9fe3207ea2
Merge remote-tracking branch 'upstream/master' into fix/protocol
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-17 00:14:20 -07:00
Kas-tle 5151c25e1a
Support RakNet Cookies (#4554)
* Support cookies

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>

* Use cloudburst upstream raknet

* Comment out mavenLocal()

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-16 20:52:46 -07:00
Kas-tle f200df327b
Merge branch 'GeyserMC:master' into fix/protocol 2024-04-15 07:03:36 -07:00
chris a24f684123
Update to Gradle 8.7, bump loom to 1.6 (#4565)
* Update to Gradle 8.6, bump loom to 1.6

* update to gradle 8.7
2024-04-14 00:16:26 +02:00
Joshua Castle dff08aaa2a
Actually builds
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-12 17:32:05 -07:00
Kas-tle 7e25e2ecae
Pull protocol jitpack from cloudburst again 2024-04-12 12:36:10 -07:00
Kas-tle 4e6970c0f5
Merge branch 'GeyserMC:master' into fix/protocol 2024-04-12 07:38:41 -07:00
Kas-tle 5e783312c7
Remove unused postinitchannel GeyserServerInitializer 2024-04-12 05:54:18 -07:00
rtm516 e856a8af84
Fix user agent strings (#4562) 2024-04-12 13:12:38 +01:00
Joshua Castle ddd47b682a
Merge remote-tracking branch 'upstream/master' into fix/protocol 2024-04-12 03:27:21 -07:00
Joshua Castle 42f2a4b6b0
1.20.80
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-12 03:23:13 -07:00
Eclipse ca0e226aac
Fix breaking of custom head blocks added by Polymer by adding a default fallback to block mappings (#4557) 2024-04-11 03:05:15 +02:00
Joshua Castle aa4306c47a
Bump protocol
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-10 17:46:38 -07:00
chris 94d2cbced9
stop reading when there is no item to read (#9) 2024-04-10 14:41:45 -07:00
Joshua Castle decce7ce27
More kicking
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-10 03:18:28 -07:00
Kas-tle 92d46424c3
Update Protocol 2024-04-08 14:59:02 -07:00
Kas-tle 1d9dd8e1ab
Correction 2024-04-08 09:58:22 -07:00
Kas-tle 4bad65215b
Pin protocol to 68dc192 2024-04-08 09:54:30 -07:00
rtm516 c91182132c
Update Crowdin on README 2024-04-08 10:05:48 +01:00
Joshua Castle 3dc213a863
Add more unused packets
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-08 00:26:06 -07:00
Joshua Castle 65b23f3dd4
Deregister more unused packets
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-08 00:11:55 -07:00
Joshua Castle 070a19a02d
Make evil more harder
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-04-07 23:15:55 -07:00
Camotoy fa2e4e5a94
Reduce processing for incoming TrimDataPackets 2024-04-07 22:44:58 -04:00
Denys Loshkarev 3d9f3ac645
Show 1.20.73 as being supported (#4543)
* update version supported by plugin

* Update README.md
2024-04-07 01:12:56 +03:00