chris
706d1b9627
Fix smithing tables on pre-1.20 servers ( #4056 )
2023-08-16 22:42:17 -04:00
Kas-tle
941275586d
Use chunk version 9 ( #4040 )
...
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2023-08-07 08:01:10 -07:00
Konicai
7b409fd55b
Cache the Keep Alive timestamp for forwarding ping ( #4002 )
...
* Cache the (clientbound) Keep Alive timestamp and use that for forwarding ping
* Use a Queue of keep alive IDs to handle KeepAlive packets sent in succession
* Don't force NetworkStackLatencyTranslator on the session's event loop
* Send clientbound NetworkStackLatencyPacket immediately
* Avoid sending negative NetworkStackLatencyPackets that are not from the form-image-hack in FormCache
* Downsize timestamps that would lead to overflow on the client
2023-08-01 10:58:59 -04:00
Konicai
d89b55e9ac
Ignore invalid animations in ClientboundAnimatePacket ( #4025 )
2023-07-31 16:56:28 -04:00
Roman Alexander
7725651726
Fix double sending ServerboundPlayerActionPacket in creative (both of which Spigot interprets as a BlockBreakEvent) ( Fixes #4021 ) ( #3996 )
2023-07-30 13:48:29 -07:00
chris
d147ee37dc
send system chat overlay and actionbar as jukebox_popup messages ( #3941 )
...
* send actionbar and systemchat overlay messages as jukebox text to avoid clashes with armor/air UI
* add explaining comment
2023-07-29 16:51:16 -07:00
Camotoy
966270d3c8
Fix missed swing on 1.20.10
2023-07-21 19:25:01 -04:00
Konicai
396f4e4900
Update latency translator for 1.20.10 ( #3993 )
2023-07-17 14:45:45 -04:00
Konicai
3a0c1b788a
Support for 1.20.10 ( #3961 )
...
Co-authored-by: chris <github@onechris.mozmail.com>
Co-authored-by: RednedEpic <redned235@gmail.com>
2023-07-11 18:17:01 -05:00
chris
872d7e3bb6
let boats not sink down, use less choppy (but faster) animation ( #3949 )
...
* let boats not sink down, use less choppy (but faster) animation
* remove passenger check since that always returns true
2023-07-07 18:14:38 -04:00
Konicai
ff05c98690
Camera shake and fog effect api ( #3931 )
2023-07-02 17:00:46 -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
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
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
6591332eb7
fix commands with trailing whitespaces ( #3878 )
...
fixes https://github.com/GeyserMC/Geyser/issues/3877
2023-06-15 22:17:29 -04:00
RednedEpic
1b0d03824a
Update Protocol and RakNet
2023-06-13 22:09:00 -05: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
6791acd215
Handle effects with infinite duration ( #3834 )
2023-06-08 13:20:49 -07:00
Redned
b78ca431b6
Merge pull request #3817 from GeyserMC/feature/1.20
2023-06-07 10:47:44 -05:00
Konicai
f712d4dd81
Bump Protocol and update imports of org.cloudburstmc.protocol.bedrock.data.definitions
2023-05-23 16:34:50 -04:00
AJ Ferguson
53ed40fde7
Some work on CamelEntity
2023-05-19 18:46:02 -04:00
Konicai
df5092d32f
Take width of hanging signs into account
2023-05-18 00:58:27 -04:00
Camotoy
b9c568733a
Improve sign editing
2023-05-17 20:11:14 -04:00
onebeastchris
231095e115
make heads render when equipped
2023-05-17 01:38:49 +02:00
Konicai
d8ec4a5389
Hardcode armor trim recipes
2023-05-15 22:51:52 -04:00
Camotoy
8e67b87bc0
A start on signs
2023-05-14 19:12:19 -04:00
Konicai
d9698edcc2
Fix smithing tables, but trim recipes are broken.
2023-05-13 22:42:18 -04:00
Konicai
2ec0d8c501
Compiling against MCPL 1.20
...
At a minimum, smithing and signs are broken
2023-05-11 21:27:46 -04:00
Camotoy
8849fd7018
Revert "Revert "Drop support for versions less than 1.19.80 ( #3758 )""
...
This reverts commit d93f3dd1f5
.
2023-05-11 12:38:49 -04:00
Camotoy
d93f3dd1f5
Revert "Drop support for versions less than 1.19.80 ( #3758 )"
...
This reverts commit 7b05ca3c41
.
2023-05-11 12:38:11 -04:00
Konicai
7b05ca3c41
Drop support for versions less than 1.19.80 ( #3758 )
2023-05-11 12:36:19 -04:00
Camotoy
ed21a10101
Boss bars should actually be more reliable on dimension switch
2023-05-09 01:41:57 -04:00
Camotoy
0d25a3f04d
Fix boss bars not showing up on dimension switch
2023-05-07 02:59:44 -04:00
Tim203
6ca53f5bf3
Merge remote-tracking branch 'origin/feature/floodgate-merge'
...
# Conflicts:
# bootstrap/bungeecord/src/main/java/org/geysermc/geyser/platform/bungeecord/GeyserBungeePlugin.java
# bootstrap/fabric/src/main/java/org/geysermc/geyser/platform/fabric/GeyserFabricMod.java
# bootstrap/spigot/src/main/java/org/geysermc/geyser/platform/spigot/GeyserSpigotPlugin.java
# bootstrap/sponge/src/main/java/org/geysermc/geyser/platform/sponge/GeyserSpongePlugin.java
# bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneBootstrap.java
# bootstrap/velocity/src/main/java/org/geysermc/geyser/platform/velocity/GeyserVelocityPlugin.java
# core/build.gradle.kts
# core/src/main/java/org/geysermc/geyser/GeyserImpl.java
# core/src/main/java/org/geysermc/geyser/command/defaults/VersionCommand.java
# core/src/main/java/org/geysermc/geyser/dump/DumpInfo.java
# core/src/main/java/org/geysermc/geyser/entity/type/FireworkEntity.java
# core/src/main/java/org/geysermc/geyser/network/netty/LocalSession.java
# core/src/main/java/org/geysermc/geyser/session/GeyserSession.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockCommandRequestTranslator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockNetworkStackLatencyTranslator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/JavaCustomPayloadTranslator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/level/JavaBlockUpdateTranslator.java
# gradle/libs.versions.toml
2023-05-05 12:09:20 +02:00
Camotoy
f3f30625d4
Gracefully handle invalid level event IDs
...
Fixes #3714
2023-05-03 11:01:31 -04:00
Camotoy
aa5e2e9cac
Ensure a singleton IntList doesn't take in a Block object
2023-05-01 13:04:12 -04:00
Valaphee The Meerkat
4d929f8a2c
Replace § in sign text and book editing operations ( #3721 )
2023-04-29 21:41:14 -04:00
Camotoy
1f18e4fe4f
Fix #3683
2023-04-27 13:09:38 -04:00
Camotoy
b66088e434
TEMPORARY fix for chunk memory leaks
2023-04-24 23:48:05 -04:00
Camotoy
365dd622bb
Recipes are fixed in 1.19.80
2023-04-23 14:09:51 -04:00
Camotoy
66ae88a2f6
Signs work in 1.19.80
2023-04-21 12:56:30 -04:00
Camotoy
51566a963f
Work-in-progress 1.19.80 support. Doesn't work yet
2023-04-21 00:36:51 -04:00
SupremeMortal
eaaba44e05
Remove unneeded retain
2023-04-20 10:45:23 +01:00
Camotoy
48b796d75e
Expose emote stuff in API; different secure chat checking
...
This should fix false flags from secure chat disablers doing funky things.
2023-04-15 12:54:30 -04:00
Camotoy
05a88f7693
Fix compiling probably
2023-04-08 16:19:42 -04:00
Camotoy
60de3187c6
Yeet NbtItemStackTranslator
2023-04-08 12:45:13 -04:00
Camotoy
503296a9cf
Decrease final startup memory usage
2023-04-07 14:08:22 -04:00
Camotoy
5eb8bec76e
Commands work again I guess
2023-04-07 00:17:20 -04:00
Camotoy
b6113dfd31
Optimizations and regression fix
2023-04-06 21:47:37 -04:00
Camotoy
d9811d08e3
Merge remote-tracking branch 'origin/master' into feature/protocol-3.0
2023-04-06 13:26:28 -04:00
Camotoy
0f99abc3a4
Fix #3549
2023-04-02 16:42:44 -04:00
Camotoy
5871ca3f22
Fix up boat types after 1.19.4
...
Fixes #3649
2023-04-01 15:25:37 -04:00
Camotoy
e2535108e6
Folia support and preparations for future changes
2023-03-30 15:44:55 -04:00
Kas-tle
96260cc358
Bring Rain/Thunder Behavior Inline With Java ( #3637 )
...
Closes #3611 Closes #2588 Closes #2499
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2023-03-24 00:57:40 -04:00
Camotoy
7ef005006b
Safety null check for dismount check code
2023-03-21 15:07:51 -04:00
Camotoy
b695dc075d
Fix command redirection detection
2023-03-19 14:09:01 -04:00
David Choo
021ffe2d94
Update ringing bell block event logic ( #3625 )
...
Check for BellValue instead of a GenericBlockValue
Removes now unnecessary JAVA_BELL_ID from BlockStateValues
2023-03-19 11:30:56 -04:00
Camotoy
9609686eb3
Version out potion registry
...
The ID of (for example) redstone dust has shifted, meaning that our hack of re-using IDs no longer works.
Fixes #3620
2023-03-17 19:07:31 -04:00
Camotoy
acb25b0c99
Remove legacy 1.19.2x Bedrock code
2023-03-17 13:41:01 -04:00
Tim203
6ec7326193
Removed another debug line
2023-03-14 21:16:38 +01:00
Camotoy
d3e7d99396
Remove debug print
2023-03-14 15:53:16 -04:00
Camotoy
03c0767965
Finish 1.19.4 support and add Bedrock 1.19.70 support
2023-03-14 15:37:57 -04:00
Camotoy
2436b2b1be
Damage will now show again.
2023-03-12 23:51:51 -04:00
Camotoy
777c69a21e
Remove armor quick change config
...
This is now in vanilla 1.19.4.
2023-03-12 13:06:13 -04:00
Camotoy
b3f1c64249
Base changes for Java 1.19.4 support
2023-03-10 20:51:51 -05:00
Camotoy
ee754c529b
Add implementation for ClientEmoteEvent
...
Also, a few random changes I've stored since forever.
2023-02-15 00:17:14 -05:00
SupremeMortal
1769f2a85c
Merge branch 'master' into feature/protocol-3.0
2023-02-14 22:09:48 +00:00
pop4959
3d97188db0
Add property to show scoreboard logs ( #3539 )
...
* property to show scoreboard logs
* cache system property
2023-02-09 11:19:17 -05:00
Tim203
c6f5a90ee5
Merge remote-tracking branch 'origin/master' into feature/floodgate-merge
2023-02-08 14:00:29 +01:00
Tim203
ca7d57e541
Merge remote-tracking branch 'origin/master' into feature/floodgate-merge
2023-02-08 13:57:30 +01:00
Camotoy
0bba18c726
Initial support for 1.19.60 Bedrock
2023-02-05 13:29:28 -05:00
Tim203
effe046308
Merge remote-tracking branch 'origin/master' into feature/dedicated-api-repo
2023-02-04 21:25:11 +01:00
Camotoy
c909b2b1a5
Fix #3521
2023-01-31 13:01:20 -05:00
Camotoy
af5d03f5dd
Show teams in command suggestions
2023-01-25 11:05:04 -05:00
Tim203
3ac931e11b
Moved the APIs to a dedicated repo
...
They can now be found at https://github.com/GeyserMC/api
2023-01-07 14:29:33 +01:00
Camotoy
b5e1ddc3c8
Guess when the client is clicking air on mobile
...
Should address #2113
2023-01-03 19:28:43 -05:00
Camotoy
00df4c26ba
Don't send more than one ServerboundSwingPacket per tick
...
Should address #2875
2023-01-03 15:51:58 -05:00
Camotoy
c483204446
Merge branch 'dev'
2023-01-02 12:19:19 -05:00
Camotoy
566b2635c0
Explain why Bedrock players can't chat with enforce-secure-profile
2022-12-30 16:24:16 -05:00
Camotoy
3f4ed67597
Add Item classes to partially replace ItemMapping. Part 1?
2022-12-29 15:10:40 -05:00
Camotoy
08c15a86ec
You can connect now. Command translation doesn't work though.
2022-12-23 16:18:48 -05:00
Camotoy
c48cb2a4a8
Remount players in their vehicle if they're not supposed to leave
2022-12-22 13:19:46 -05:00
Camotoy
3e778cdb49
Merge branch 'feature/protocol-3.0' of https://github.com/GeyserMC/Geyser into feature/protocol-3.0
2022-12-20 20:01:05 -05:00
Camotoy
4fe9aeca40
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/protocol-3.0
2022-12-20 19:47:45 -05:00
Camotoy
3fad4c37fc
Merge branch 'render-distance' of https://github.com/valaphee/Geyser into dev
2022-12-18 14:17:50 -05:00
Camotoy
09f17f59ae
Support new default Java skins from 1.19.3
2022-12-18 13:18:06 -05:00
Camotoy
ad4424d2b6
Use server data to pick block on banners
2022-12-17 21:05:41 -05:00
Camotoy
47fd148b7e
Refactor player add code for 1.19.3
...
Players are now not always added into the tab list.
2022-12-17 14:52:20 -05:00
Valaphee
298d59405a
Fix wrong render distance calculation
2022-12-15 11:57:57 +01:00
Konicai
2d3dd89162
Some misc fixes
2022-12-14 17:57:08 -05:00
Konicai
a988fbf290
Update inventory translators
2022-12-14 17:23:55 -05:00
Konicai
84248fa902
Merge remote-tracking branch 'upstream/master' into feature/protocol-3.0
...
# Conflicts:
# core/src/main/java/org/geysermc/geyser/entity/type/living/monster/EndermanEntity.java
# core/src/main/java/org/geysermc/geyser/inventory/holder/BlockInventoryHolder.java
# core/src/main/java/org/geysermc/geyser/network/ConnectorServerEventHandler.java
# core/src/main/java/org/geysermc/geyser/network/GameProtocol.java
# core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java
# 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/session/GeyserSession.java
# core/src/main/java/org/geysermc/geyser/text/ChatTypeEntry.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockInventoryTransactionTranslator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/JavaCommandsTranslator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/JavaDisguisedChatTranslator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/JavaPlayerChatTranslator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/entity/player/JavaPlayerInfoTranslator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/level/JavaExplodeTranslator.java
# core/src/main/java/org/geysermc/geyser/util/DimensionUtils.java
# core/src/main/java/org/geysermc/geyser/util/InventoryUtils.java
# gradle/libs.versions.toml
2022-12-14 15:58:17 -05:00
Camotoy
7c26036906
Update adapters to support 1.19.3 and add biome command completions
2022-12-13 13:53:28 -05:00
Camotoy
e7544c0bb4
Fix some chat not appearing for Bedrock users
2022-12-07 20:09:48 -05:00
Camotoy
e12d4bfa0e
Merge branch 'feature/1.19.3'
2022-12-07 11:06:40 -05:00
Konicai
59974c3f3a
A start on camels and hanging signs
2022-12-04 18:12:07 -05:00
Camotoy
3d66d2790f
Fix rare dimension switch inconsistencies
...
Fixes #3161
2022-12-04 13:34:51 -05:00
Camotoy
f9a52ffc96
Add support for SetContentPacket containerId 0
2022-12-04 00:56:43 -05:00