Commit Graph

3584 Commits

Author SHA1 Message Date
Hasan 3dcb3650ea
Merge branch 'feature/1.20.5' into feature/1.20.5 2024-04-21 13:20:45 +03:00
AJ Ferguson 6ecff0d1df Compiles 2024-04-21 01:09:23 -04:00
Camotoy c49edf9951
Trying to get more compiled but brain is officially fried for the day! 2024-04-20 22:42:25 -04:00
basaigh 4fcddae1ea Fix tags and attributes 2024-04-21 01:33:07 +01:00
Camotoy 3a37daae91
Update the item parts 2024-04-20 19:20:00 -04:00
basaigh 3bdc6151a8
Update the non-item parts (#4586)
* Update the non-item parts

* Add MaceItem

* Fix registry data loading
2024-04-21 00:12:53 +01:00
Hasan 2ddb7f557f
Merge branch 'feature/1.20.5' into feature/1.20.5 2024-04-20 22:13:12 +03:00
Camotoy 78edbacae1
Keep chugging away 2024-04-20 14:55:30 -04:00
Hasan b96a6ebfad
Merge branch 'feature/1.20.5' into feature/1.20.5 2024-04-20 20:57:39 +03:00
Camotoy 54f04b55ba
Here's the idea so far 2024-04-20 13:29:14 -04:00
Hasan f17ee77cb7
Update Java version in README 2024-04-20 09:37:28 +03:00
Camotoy 53e0ec74b7
Initial, incomplete pass at Java 1.20.5 2024-04-19 19:21:44 -04:00
Camotoy 98c7fa2eed
Merge remote-tracking branch 'Kas-tle/fix/protocol' into feature/1.20.5 2024-04-19 16:29:42 -04: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
rtm516 0972e4f4d7
Update CreativeCategory none to have the correct value (#4549) 2024-04-05 22:21:27 +01:00