Commit graph

158 commits

Author SHA1 Message Date
AJ Ferguson
bd30b34600 Bump MCPL 2024-06-16 01:06:17 -04:00
onebeastchris
b1d319bb7e Add Spigot 1.21 world adapter 2024-06-15 18:39:09 +02:00
Camotoy
7e87af718b
Fix item attribute modifiers 2024-06-14 16:48:46 -04:00
onebeastchris
6a715770e2 Update mod dependencies to their official 1.21 releases 2024-06-13 23:20:43 +02:00
Camotoy
be04ff2a13
Update to latest MCProtocolLib 2024-06-12 23:48:40 -04:00
onebeastchris
82d68bfe9b Bump fabric/neoforge dependencies to 1.21, update README.md, bump Geyser version to 2.4.0 2024-06-13 00:14:10 +02:00
Camotoy
02179a798f
You shall compile! 2024-06-10 16:53:14 -04:00
Camotoy
c136bcb34d
Merge remote-tracking branch 'origin/dev' into feature/1.21 2024-06-09 15:39:41 -04:00
onebeastchris
b7931f8d70 Update protocol to suppress packet warnings 2024-06-07 16:52:41 +02:00
Camotoy
65fd409a00
Painting re-implemented. Started on enchantments 2024-06-02 20:42:53 -04:00
Camotoy
444b5ecee8
Remove BlockStateUpdater dependency
Not currently used
2024-05-27 14:33:11 -04:00
Kas-tle
fa6808a620
Bedrock 1.21.0 Support (#4687)
* 1.21.0

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

* Deprecate Bedrock 1.20.70 and below

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

* Strictly disconnect on all exceptions

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

* Remove old version resources

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

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-05-26 23:00:47 -04:00
Camotoy
0094fa1418
BlockState values can now be switched at runtime
E.G. Blocks.PISTON_HEAD.defaultBlockState().withValue(FACING, Direction.SOUTH)

Some of the inspiration may be thanks to FerriteCore, at least with the shared property keys idea, so thank you to them.
2024-05-21 14:25:57 -04:00
Camotoy
1b075badce
Actually implement adventure mode predicates, kind of.
If it's just block IDs, it'll work.
2024-05-19 23:15:52 -04:00
Camotoy
cbaa9cd2a0
Block refactory 2024-05-16 23:12:06 -04:00
Camotoy
9bca012194
Bump Erosion 2024-05-15 15:31:02 -04:00
AJ Ferguson
0a261f1d9d
Update MCPL and MCAuthLib (#4645)
* Update MCPL and MCAuthLib

* Bump MCPL
2024-05-06 21:40:32 -04:00
AJ Ferguson
8addcadb71
Bump MCPL to increase NBT max depth (#4639) 2024-05-05 02:24:28 -04:00
AJ Ferguson
b8fe71a8bc
Bump MCPL to fix ClientboundExplodePacket (#4635) 2024-05-04 01:06:59 -04:00
basaigh
9d299ee83b
Fix particle reading issues (#4631) 2024-05-03 07:29:15 -07:00
basaigh
a39cd65537
Fix velocity ping passthrough (#4626) 2024-05-03 13:53:47 +02:00
Camotoy
efda13421f
Merge branch 'master' into feature/1.20.5 2024-05-02 12:58:46 -04:00
Camotoy
abb1d7d9e9
Indicate Java 1.20.6 support 2024-04-30 18:50:41 -04:00
onebeastchris
51cbbba47c Merge remote-tracking branch 'upstream/feature/1.20.5' into feature/1.20.5 2024-04-30 21:48:41 +02:00
onebeastchris
dd745b901f move to paper-adapters 2024-04-30 20:48:10 +02:00
AJ Ferguson
dacacc6df8 Anvil renaming 2024-04-30 04:48:15 -04:00
AJ Ferguson
e97bbcc483 Potion effect colors 2024-04-28 02:10:20 -04:00
Camotoy
2fa7585db3 Switch to Cloudburst NBT only 2024-04-26 21:44:59 -04:00
RK_01
42a9ba617b
Update ViaProxy platform (#4607)
* Update ViaProxy API usage

* Don't reference ViaProxy API in dummy application
2024-04-26 20:06:37 +02:00
Camotoy
b29e0d9d10
Move MCProtocolLib to dev - package ID change 2024-04-24 16:39:35 -04:00
onebeastchris
687d299ff5
target 1.20.5 release, build neoforge again 2024-04-24 16:26:59 -04:00
Camotoy
d105dadf62
Update for release. STILL NOT READY YET THOUGH 2024-04-24 16:26:59 -04:00
onebeastchris
c48428daf0
init: pick item component change 2024-04-24 16:26:58 -04:00
Camotoy
c34f0f2c3b
Update for latest MCProtocolLib 2024-04-24 16:26:58 -04:00
basaigh
dac5f69d47
Bump mcpl 2024-04-24 16:26:58 -04:00
basaigh
48164e93c7
Bump mcpl to fix item deserialization 2024-04-24 16:26:58 -04:00
basaigh
94e533ea7c
Fix tags and attributes 2024-04-24 16:26:57 -04:00
basaigh
6d8021f155
Update the non-item parts (#4586)
* Update the non-item parts

* Add MaceItem

* Fix registry data loading
2024-04-24 16:26:57 -04:00
Kas-tle
3fa7952936
1.20.80 Support and Protocol Changes (#4561)
* Make evil more harder

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

* Deregister more unused packets

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

* Add more unused packets

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

* Pin protocol to 68dc192

* Correction

* Update Protocol

* More kicking

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

* stop reading when there is no item to read (#9)

* Bump protocol

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

* 1.20.80

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

* Remove unused postinitchannel GeyserServerInitializer

* Pull protocol jitpack from cloudburst again

* Actually builds

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

* Bump protocol to fix BossEventPacket & EmotePacket

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

* Add remove before merge comment

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

* Bump protocol to fix BlockEntityDataPacket and ignore serverbound BossEventPacket

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

* Bump protocol & add more illegal/ignored packets

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

* Remove deprecated packet

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

* Ignore ClientCacheStatusPacket instead of disallow

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

* Define static serializers

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

* Less static class nonsense more correct order

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

* Remove unused import

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

* Bump protocol

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

* Move codec processing to CodecProcessor

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

* Falsify recipe symetry assumption

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

* Update Protocol for 2 wrong packet IDs & 5 wrong directions

* Jitpack protocol from Geyser repo

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
Co-authored-by: chris <github@onechris.mozmail.com>
2024-04-23 09:16:18 -07: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
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
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
Kas-tle
c9ca4c82f7
Allow configuration of RakNet limits (#4532)
* Allow configuration of RakNet limits

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

* Validate packet limiter system properties

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

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-03-31 21:42:31 -07:00
Kas-tle
b469904951
Update Raknet (#4529) 2024-03-30 03:27:55 -07:00
Redned
7da3afef60
Update RakNet 2024-03-29 12:25:57 +00:00
Kas-tle
f1828419d6
Update raknet (#4528) 2024-03-28 17:28:49 -07:00
chris
4fa0bcd01b
Update Jackson (#4512)
* Update jackson

* relocate yaml on velocity
2024-03-21 19:05:41 +01:00
Kas-tle
e1e09a6ccb
Fix KQueue loading crashing macOS; Closes #4474 (#4506) 2024-03-16 08:19:09 -07:00
chris
39b05e284e
update protocol lib to resolve command crashing (#4493) 2024-03-13 12:25:30 -07:00
Kas-tle
1df63c6de8
Support Bedrock 1.20.70 (#4477)
* Support 1.20.70

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

* Update readme

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

* Use 1.20.70 mappings

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

* Creative lectern drops work but not survival yet

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

* Fix lectern book pickup in survival

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

* Add copyright notices to new files

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

* Temp fix for incorrect creative_items from Cloudburst/Data

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

* Fix item frame breaking in creative

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

* Clarify what to remove when 1.20.60 support is dropped

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

* Don't use dim change enum pre 1.20.70

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

---------

Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-03-11 00:29:27 -07:00