Commit graph

3530 commits

Author SHA1 Message Date
Konicai
ff05c98690
Camera shake and fog effect api (#3931) 2023-07-02 17:00:46 -04:00
Konicai
b344e21f7f
Fix loading contents keys of encrypted resource packs (#3925) 2023-06-29 12:22:13 +01:00
Konicai
40775149f5
NMS adapter for spigot 1.20 (#3911) 2023-06-28 00:31:03 -04:00
Tim203
b43bc3d86e
Updated protocol version for jwt changes 2023-06-27 20:09:12 +02:00
Tim203
99671960d0
Merge remote-tracking branch 'origin/master' into jwt-changes
# Conflicts:
#	core/src/main/java/org/geysermc/geyser/registry/populator/BlockRegistryPopulator.java
#	core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java
#	core/src/main/java/org/geysermc/geyser/util/LoginEncryptionUtils.java
2023-06-27 12:12:31 +02:00
Konicai
c7304f04e9
Make PlatformType fields final (#3917) 2023-06-26 15:18:29 -04:00
Konicai
c7568ec889
Move to a text box for commands on Geyser standalone GUI (#3915) 2023-06-26 14:44:25 -04:00
Konicai
cdd0459d47
Implement interaction entity (#3916) 2023-06-26 12:04:28 -04:00
Konicai
8aed471ba0
Fix serverbound hanging sign updates (#3904) 2023-06-22 18:05:07 -04:00
Amberichu
70db98eeaf
Fix updating villager trade experience (#3906)
* Fix villager experience not updating

Remove unnecessary fake trade experience stuff

* Hide trade level for wandering traders
2023-06-22 17:38:05 -04:00
Konicai
50d7f56aaf
Update piglin head variants (#3901) 2023-06-20 08:28:51 -05:00
DeveloperDragon
50d3945477
Fix/proxy protocol missing message (#3898)
* Show proxy protocol ip for debug message

* Make sure that first message that contains proxy protocol also gets sent. This caused issues with serverlists and console players
2023-06-20 08:28:31 -05:00
Amberichu
811aba3339
Validate written_book tags and fix writable book losing changes (#3894)
* Validate NBT tags of written_book like Java edition

* Update page count and character count limits

The maximum number of characters allowed in Java's book edit screen is
1024 for each page and 16 for the title. However, the packet itself has
a limit of 8192 * 3 bytes for each page and 128 * 3 bytes for the title.

* Fix writable book losing changes when signing

Bedrock sends a 3 action InventoryTransactionPacket after the player
changes a page. This causes Geyser to send a ServerboundEditBookPacket
with an outdated NBT. The Java responses with a
ClientboundContainerSetSlotPacket that overwrites any NBT Changes from
BedrockBookEditTranslator.

* Add a comment for the title length check

* Specify color in Component.translatable
2023-06-18 20:02:27 -04:00
Konicai
e5aa320d22
Fix condition for using author's api branch (#3893) 2023-06-18 17:45:59 -04:00
Konicai
2368b63ad5
Allow deferred registries to be loaded/set more than once (#3892) 2023-06-18 17:45:25 -04:00
Konicai
bed7b5d10e
Bump logj4 (#3888) 2023-06-17 16:47:42 +01:00
rtm516
f272ed9383
Move PlatformType to API and expose it for extensions (#3798)
* Move PlatformType to API and expose it for extensions

* Move to a record
2023-06-17 02:56:50 +01:00
chris
8d068ee28f
Add SessionJoinEvent and SessionLoginEvent (#3840) 2023-06-16 20:46:32 -05:00
chris
903e61f1a3
Exposing resourcepack loading to api (#3696)
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
Co-authored-by: RednedEpic <redned235@gmail.com>
2023-06-16 20:39:53 -05:00
Konicai
6eca6ade06
Loop through item palette versions in ascending order (#3884) 2023-06-16 20:51:29 -04:00
Konicai
23fb63eb17
Update mappings for new pottables, other misc(#3885)
torchflower/cherry sapling as pottable, other misc
2023-06-16 20:37:54 -04:00
Tim203
3d1a10db3b
Update events library to latest version 2023-06-16 22:54:21 +02:00
chris
6591332eb7
fix commands with trailing whitespaces (#3878)
fixes https://github.com/GeyserMC/Geyser/issues/3877
2023-06-15 22:17:29 -04:00
Konicai
eecf84e87d
Show archeology brushing animations (#3855)
Display items emerging from suspicious blocks
2023-06-15 15:04:50 -04:00
Konicai
4e749d75f8
Sound and particle mapping updates (#3874) 2023-06-15 13:27:11 -04:00
RednedEpic
bf5e08403c Fix shift-click crafting with item in hand
When shift-clicking the result item in a crafting table while holding an item in your hand, items would bug out completely and cause weird inventory desyncs.
2023-06-13 23:26:43 -05:00
RednedEpic
d43a862491 Strip unnecessary block entity tag from container NBT 2023-06-13 22:54:55 -05:00
RednedEpic
1b0d03824a Update Protocol and RakNet 2023-06-13 22:09:00 -05:00
derspyy
446d3c22e2
Change filename uploaded to modrinth (#3823)
Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
2023-06-12 21:40:12 -04:00
Amberichu
f55d84321a
New entity mount offsets (#3861)
* Add missing entities to getMountedHeightOffset and getHeightOffset

* Fix mount offset on Camels for more than 1 passenger

* Fix mount offset for Shulkers on Bamboo boats and minecarts with stuff

Also fix mount offsets for minecart and boat passengers

* Combine

* More missing mount offsets

* Fix mount offsets for entities riding players
2023-06-11 13:32:42 -04:00
Konicai
049d64d34d
Leniency when trimming incoming sound ids (#3852) 2023-06-09 21:30:03 -04:00
AJ Ferguson
1d99f8beb8
Fix shift clicking Stonecutter output (#3854) 2023-06-09 21:23:10 -04:00
Konicai
1788295291
Translate nbt of decorated pots (#3847) 2023-06-09 12:33:50 -04:00
Camotoy
3ec0d82d46
Kick pre-1.19.30 players for not sending a RequestNetworkSettingsPacket 2023-06-09 12:10:59 -04:00
Konicai
53d002656f
Update EmotePacket creation for 1.20 (#3841)
Include xuid and platformId in EmotePacket
2023-06-08 23:43:45 -04:00
Konicai
ab577f66ac
Translate armour trims on items (#3837) 2023-06-08 23:32:04 -04:00
Konicai
d6e095424c
Check for null server ip on Fabric (#3842) 2023-06-08 23:29:46 -04:00
Konicai
f9870ac4ce
Update mappings to fix chiseled bookshelves (#3839) 2023-06-08 23:25:16 -04:00
Konicai
4cd472906c
Update handling of sign color/glow for 1.20 (#3835) 2023-06-08 13:30:25 -07:00
Konicai
6791acd215
Handle effects with infinite duration (#3834) 2023-06-08 13:20:49 -07:00
Tim203
231e9a1cc6
Fail silently if uploading to Modrinth fails 2023-06-08 16:34:31 +02:00
Konicai
4ab9eb4920
Misc 1.20 fixes (#3828)
* Update mappings

diff: f69b4db9a6...2989dbd7e1

* 1.20 boat entity variants and remove old check in UpstreamPacketHandler
2023-06-08 07:23:27 -07:00
chris
8b8d6ddb9e
Geyser-Fabric: bump to 1.20 (#3824)
* add accesswidener, bump to 1.20

* address review

* yeet AW, use level() instead

* update modrinth version 

pls work
2023-06-08 07:15:08 -07:00
Kas-tle
f3cc93c94e
Relocate org.yaml for bungee and spigot (#3820)
* Relocate org.yaml

* Spigot did the same for yaml sadly
2023-06-07 13:22:36 -05:00
chris
52454e5ee8
1.20 bump in readme (#3818) 2023-06-07 11:19:35 -05:00
Redned
b78ca431b6
Merge pull request #3817 from GeyserMC/feature/1.20 2023-06-07 10:47:44 -05:00
RednedEpic
13c9063368 Update to use protocol 589 and other 1.20 updates 2023-06-07 09:44:18 -05:00
Redned
b3a66dbe29
Something looked wrong... 2023-06-04 22:43:56 -05:00
Redned
23cdde5cc6
Drop any namespace for incoming sounds
Fixes custom sounds defined through a resource pack.
2023-06-04 22:40:09 -05:00
Tim203
c5d4b86564
Prepare for changes made in CloudburstMC/Protocol#205 2023-06-03 11:47:50 +02:00