Commit graph

326 commits

Author SHA1 Message Date
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
Konicai
3949fb1988
Check if Items of campfire block entity is null (#3986)
* Check if items of campfire block entity is null
* Use instanceof for Items
2023-07-25 13:33:50 -04: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
Camotoy
0e3e2d0e28
Remove unused file 2023-07-04 19:18:12 -04:00
Camotoy
d44e599925
Fix #3905 2023-07-04 18:06:05 -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
Konicai
eecf84e87d
Show archeology brushing animations (#3855)
Display items emerging from suspicious blocks
2023-06-15 15:04:50 -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
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
Konicai
53d002656f
Update EmotePacket creation for 1.20 (#3841)
Include xuid and platformId in EmotePacket
2023-06-08 23:43:45 -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
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
Konicai
ba4e37075d
Fix uppercase item attribute modifier names (#3780)
* Check for hide attributes flag, and "Name" -> "AttributeName"

* Operation tag is not required?

* Only process each modifier once

* Ignore `minecraft:` namespace if present

* No `Operation` is implicitly ADD, fix knockback_resistance check
2023-05-22 12:58:01 -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
YHDiamond
fbd157ccdf
Add Attribute Modifiers Display (#3728)
* Add Attribute Modifiers Display

Allows Bedrock players to view the Attribute modifiers display on the bottom of items.

* Fix handling for Knockback Resistance

For some reason, Knockback Resistance is multiplied by 10 in the display for addition, so this handles that oddball.

* Add null check for NBT

* Remove "contains" check

This is checked in the beginning of the addAttributes method so is not required here.

* Add curly brackets

Camotoy likes curly brackets I guess

* Use ModifierOperation enum instead of int for clarity
2023-05-16 14:54:34 -05: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
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
49aa9468a0
Should fix some crafting errors 2023-04-25 13:29:05 -04:00
Camotoy
b66088e434 TEMPORARY fix for chunk memory leaks 2023-04-24 23:48:05 -04:00
Camotoy
abba88112a
Use all 1.19.80 Bedrock legacy codes for color downsampling
This will make RGB downsampling a bit more colorful.
2023-04-24 18:44:33 -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