chris
06890504a2
Fix: Totem animation when playing totem effects manually ( #4860 )
...
* Fix: Totem animation for manually played totem effects
* Ensure we always reset the offhand correctly
2024-07-14 21:55:57 +02:00
chris
9cdda707a3
Fix: Send a container close packet to Java for containers that could not be opened ( #4861 )
...
* Close containers if we did not manage to open it
* Mark session inventory translator as nonnull
2024-07-14 20:17:22 +02:00
LetsGoAway
49f66c2a02
Correctly cap scale attribute ( #4856 )
...
* Fix scale attribute cap
* Update LivingEntity.java
2024-07-14 10:44:39 +02:00
chris
6ab0186fc9
Fix: Manually translated item names for block items not showing up properly ( #4857 )
2024-07-13 22:00:15 +02:00
Camotoy
6e0bad3c40
Fix #4837 by not hardcoding dimension IDs
2024-07-13 15:11:22 -04:00
chris
b0c7ddb68d
Fix: Item color names/glint for rare items ( #4763 )
...
* debug stick changes
* yay light purple item name
* Address review
* Auto-generate rarity
* Add glint generation
* Translate all rare items properly
* Use putIfAbsent instead of double checks
2024-07-13 18:53:13 +02:00
chris
93b0a61265
Fix: hanging sign recipe not showing up in the recipe book ( #4814 )
2024-07-12 20:55:40 +02:00
Eclipse
2a6025f3fc
Fix reading enchantments from server ( #4836 )
2024-07-10 12:02:32 +02:00
Camotoy
7fdb410d26
Fix mappings
2024-07-09 13:00:27 -04:00
Camotoy
a3b1f203ec
Bump Bedrock version in README
2024-07-09 12:59:48 -04:00
Camotoy
f825007d9a
Support Bedrock 1.21.2
2024-07-09 12:39:43 -04:00
chris
0a928c41b0
Show potions & custom items in the shulker box tooltip ( #4822 )
...
* Fix: Potions/Custom items showing up improperly in shulker box previews
* oops
2024-07-08 00:41:00 +02:00
strom
e0af0a54b7
Fix: Text display passenger offsets ( #4676 )
2024-07-07 16:59:18 +02:00
LetsGoAway
a807fa6bb5
Fix typo in version command ( #4830 )
2024-07-07 11:27:49 +02:00
chris
cbd59de37b
Only apply door fix when we can actually access the old blockstate ( #4827 )
2024-07-06 23:14:15 +02:00
Ethan
3c35fd303f
Fix toggleable block opening sounds (doors, trapdoors, fence gates) ( #4815 )
...
* Initial Commit
* Fix minor copy and paste comment mistake
* Remove debug log
Co-authored-by: chris <github@onechris.mozmail.com>
* Remove iron check on fence gate sound translator
iron fence gates dont exist lol
* Remove iron check from fence gate sound translator.
Iron fence gates dont exist (yet)
* Remove unnecessary curly braces
* Rewrite the code, now functioning correctly with the runtime id
* Update mappings
* Better formatting
Co-authored-by: chris <github@onechris.mozmail.com>
* fix comment because it is referring to code that has been changed
* Hopefully fix double closing
* Seems like the double closing issue isnt from my code and from somewhere else
* Fix issue where doors would update twice when opening/closing them using the upper half
* change weird variable name
---------
Co-authored-by: chris <github@onechris.mozmail.com>
2024-07-06 15:50:19 +02:00
Ethan
9f19c0a9f6
Fix: Trial Spawner Level Events ( #4821 )
...
* commit every thing i could do, couldnt get it to work with ominous stuff
* Fix trial spawner events to work correctly.
* Update mappings to latest
* fix comment
* Workaround for buggy trial chamber particles
* Fix positioning and also fix become ominous event
* Fix sounds and positioning again
* Fix random new line
* Update mappings
* update cloudburst library to 20240704.153116-14
* Fix accidental random line
2024-07-06 11:58:54 +02:00
Eclipse
ff1e1dd7e3
Fix attribute modifier tooltips ( #4816 )
2024-07-02 15:17:47 +02:00
chris
48ea81eb98
Update mappings ( #4812 )
...
Fixes short grass mapping
2024-07-01 17:17:52 +02:00
Camotoy
7612686972
Don't show git version string twice
2024-06-30 22:03:30 -04:00
Camotoy
c621e93e64
Merge branch 'master' of https://github.com/GeyserMC/Geyser
2024-06-29 13:30:31 -04:00
AJ Ferguson
130b27203f
Limit particle amount in LevelParticlesPacket ( #4802 )
2024-06-28 22:55:36 -04:00
Camotoy
835ba9e24f
Remove casting from block mappings
2024-06-24 16:25:12 -04:00
Ethan
a8bd93a075
Add fix ( #4792 )
2024-06-23 12:43:09 -07:00
chris
55e90b6f57
Show build number in startup log, fix Geyser version command( #4336 )
...
* Version check command/startup log shows build number
* Add development build warning
* Fix `/geyser version` command
* Hack around outdated language module
2024-06-22 20:32:29 +02:00
Camotoy
e6bf3ffdf0
Proper trial spawner block entity data
2024-06-21 15:58:23 -04:00
Camotoy
21ccafc40c
DataComponentType.ITEM_NAME should remove italics
2024-06-21 13:53:38 -04:00
Camotoy
a12d60d27f
Show trial chamber map item texture
2024-06-21 13:50:10 -04:00
chris
110470726a
Fix: Bedrock players dying of fall damage, instead of falling in the void ( #4704 )
...
* fix https://github.com/GeyserMC/Geyser/issues/4649
* add javadoc
2024-06-21 18:28:05 +02:00
basaigh
c00a02e5ea
Add trial chambers map icon ( #4783 )
2024-06-21 15:36:55 +01:00
Camotoy
78642db3ad
Ensure players get disconnected with no Java disconnect packet
2024-06-20 19:15:05 -04:00
Camotoy
dd9d5f321b
Work around Bedrock players looking like Steve
2024-06-20 15:24:39 -04:00
Camotoy
f49acb2f7c
Indicate support for Bedrock 1.21.1
2024-06-20 15:08:49 -04:00
Alex
fc529a661c
Fix build errors reporting to the wrong directory by updating blossom ( #4771 )
...
* Fix build errors reporting to the wrong directory by updating blossom
* Add info comment
2024-06-20 10:29:42 -07:00
Eclipse
ded6f6bb7c
Fix NPEs caused by custom head blocks from Polymer ( #4764 )
...
* Add null checks to fix NPEs caused by custom head blocks from Polymer
* Make sure block state is never null, remove now unnecessary null checks
* Remove unnecessary default fallback in skull block entity translator
2024-06-20 16:46:54 +02:00
Camotoy
2e6cf2f4ca
Update mappings
2024-06-19 22:43:47 -04:00
Camotoy
57cb8549ec
Update Floodgate download location
2024-06-19 19:56:33 -04:00
chris
126d56d144
Fix: Ignore invalid block entity data sent by Java server ( #4766 )
...
* Proper block entity checks; ignore invalid block entity data sent by Java server
* fix intelliJ warning about potentially null block state
* Use auto-generated block entity types instead of hardcoding them
* undo some diff
* Update BlockRegistryPopulator.java
* Access block entity type of state by getting the block first
* deprecate JavaBlockState#hasBlockEntity
* Simplify check
* Add type check in JavaBlockEntityDataTranslator, ensure deprecated setBlockEntity() method still sets piston behavior
* nullability annotations
* yeet duplicate check
2024-06-19 23:48:55 +02:00
Camotoy
2c47330509
Use integrated world managers for decorated pot animation
2024-06-19 15:52:54 -04:00
chris
6884a0f7db
Fix: norwegian locale handling ( #4716 )
2024-06-19 02:37:34 +02:00
Camotoy
a9300fb1ab
Vault: show some components in block entity (enchantments, potion types)
2024-06-18 15:30:19 -04:00
chris
29928c2d83
Sanity check for shulker boxes ( #4762 )
2024-06-17 18:46:57 +02:00
basaigh
deb25d7147
Bump mappings to fix effects error on startup ( #4760 )
2024-06-17 13:17:57 +01:00
Eclipse
63a3da7c56
Fix reading custom jukebox songs ( #4757 )
...
* Read sound event objects properly in jukebox song
* Add debug log for unexpected sound event type
2024-06-16 19:35:18 -04:00
basaigh
1efb633723
Bump MCPL ( #4756 )
2024-06-16 22:05:28 +01:00
YHDiamond
6cda7c2202
Partially implement handling of "hide_tooltip" and fix attribute modifiers in "Armor" category not showing ( #4731 )
...
* Skip lore creation if hide tooltips exists
* Fix not showing attributes for "Armor" category
* Minor refactor
---------
Co-authored-by: chris <github@onechris.mozmail.com>
2024-06-16 21:01:21 +02:00
Camotoy
3b46622ffa
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.21
2024-06-16 12:19:32 -04:00
Camotoy
6025931c7d
Properly translate player entity UUID for vaults
2024-06-15 22:40:29 -04:00
Camotoy
851ed36244
Translate vault block entity
2024-06-15 16:52:09 -04:00
Camotoy
be83fe7220
Re-enable crafter inventory
2024-06-14 19:36:10 -04:00
Camotoy
7e87af718b
Fix item attribute modifiers
2024-06-14 16:48:46 -04:00
Camotoy
a9ba1ad603
Properly translate ominous items
2024-06-14 15:44:00 -04:00
Camotoy
28e4661fcf
Fix incoming player chat
2024-06-14 14:02:11 -04:00
chris
138c7b4eee
Catch EOFExceptions while pinging Java servers when it is misconfigured/not online ( #4746 )
...
* Catch EOFExceptions when the remote server is misconfigured/not online
2024-06-14 17:27:30 +02:00
Camotoy
4a334a2c8d
Bed block sanity check for villagers
2024-06-13 14:58:39 -04:00
Camotoy
746be566a2
Sanity check for BlockState being chest
2024-06-13 13:53:20 -04:00
Camotoy
ce3083b9b8
Fix key regression with pre-built registries
2024-06-13 11:24:16 -04:00
Camotoy
842e1b4d12
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/1.21
2024-06-13 11:12:01 -04:00
chris
db5a528965
Fix: Improper detection of virtual double chests ( #4738 )
2024-06-13 16:53:01 +02:00
chris
d00cab18fd
Only translate double chest tags if we are dealing with a double chest ( #4736 )
2024-06-13 14:14:57 +02:00
Camotoy
026e6fc4f1
Merge remote-tracking branch 'origin/master' into feature/1.21
2024-06-12 23:48:51 -04:00
Camotoy
be04ff2a13
Update to latest MCProtocolLib
2024-06-12 23:48:40 -04:00
Camotoy
3528b1d692
Allow recipes to default count as 1
2024-06-12 22:47:47 -04:00
Camotoy
52a93ecc18
Implement breeze
2024-06-12 22:16:14 -04:00
Camotoy
9db1dd10d2
Fix some water plants not being waterlogged
2024-06-12 20:56:06 -04:00
Camotoy
82d0a87020
Remove debug code
2024-06-12 20:45:47 -04:00
Camotoy
2ecc4cd841
Point to right mappings
2024-06-12 20:42:29 -04:00
Camotoy
ecffb564ed
Refactor static recipe loading
...
The only recipes added should be the ones that are sent on Bedrock, so it appears in the recipe book. Every other recipe will be handled through our fallback system.
2024-06-12 20:34:42 -04:00
Camotoy
a42c979abb
This variant of tag loading should be slightly more efficient
2024-06-12 00:12:15 -04:00
Camotoy
29dacd2397
Properly remap coral blocks on 1.20.80
2024-06-11 14:26:53 -04:00
Camotoy
b78c7b2bd3
Fix #4729
2024-06-11 10:54:57 -04:00
Camotoy
956a84a3fb
Enchantment tag can be null
2024-06-11 10:47:26 -04:00
Camotoy
d19807170d
Properly show dyed wolf armor
2024-06-10 22:40:14 -04:00
Camotoy
7fc370cef7
Merge remote-tracking branch 'origin/master' into feature/1.21
2024-06-10 22:04:27 -04:00
Camotoy
9a310f248b
1.21-pre4 updated block tags
2024-06-10 21:59:03 -04:00
Camotoy
538e9f4dd6
Properly remove SnowCollision
2024-06-10 17:04:43 -04:00
Camotoy
18ad652bcb
Merge branch 'master' of https://github.com/GeyserMC/Geyser
2024-06-10 16:59:42 -04:00
Camotoy
02179a798f
You shall compile!
2024-06-10 16:53:14 -04:00
Camotoy
f954dd9b48
oooops
2024-06-09 16:58:26 -04:00
Camotoy
ae6059bdc3
Implement wind charges
2024-06-09 16:57:51 -04:00
Camotoy
e9e364636a
New potion effects
2024-06-09 15:44:29 -04:00
Camotoy
c136bcb34d
Merge remote-tracking branch 'origin/dev' into feature/1.21
2024-06-09 15:39:41 -04:00
Camotoy
007ecb4363
Ensure custom blocks can be represented at any index
2024-06-09 15:06:39 -04:00
Camotoy
79bcc790ce
Remove Registries.RECORDS
2024-06-06 20:30:55 -04:00
Camotoy
29c9515d55
Re-implement jukebox songs
2024-06-06 20:28:38 -04:00
Camotoy
8f5d1560a2
Implement Bogged entity
2024-06-06 18:20:24 -04:00
Camotoy
3f8739a88f
New effects
2024-06-05 16:56:44 -04:00
Camotoy
4ee9dd5d17
New potions and merge potion enums
2024-06-05 16:45:11 -04:00
Camotoy
fcdd1b91a1
New banner patterns
2024-06-04 22:47:31 -04:00
Camotoy
e2a61d4365
Merge branch 'dev' into feature/1.21
2024-06-04 22:35:11 -04:00
Camotoy
42ae9eba55
Fix air bubbles for Bedrock 1.21
2024-06-04 17:09:57 -04:00
chris
688b642520
Ignore PurchaseReceiptPacket ( #4719 )
2024-06-04 22:14:42 +02:00
Camotoy
087322f6cd
Small set optimization
2024-06-04 00:01:59 -04:00
Camotoy
3ead9e94aa
More unneeded classes
2024-06-03 23:48:45 -04:00
Camotoy
6c245a66e2
Adapt for new enchantment changes
2024-06-03 23:43:35 -04:00
chris
0ca42308eb
Feature: Add API to show/hide GUI elements ( #4705 )
...
* Add API to show/hide GUI elements
* Bump version to 2.3.2
---------
Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com>
2024-06-03 21:00:08 +02:00
onebeastchris
aaad10b8c9
Merge remote-tracking branch 'upstream/master' into dev
2024-06-03 20:54:10 +02:00
Camotoy
8ad10f8a9e
Boats are leashable
2024-06-02 23:36:44 -04:00
Camotoy
65fd409a00
Painting re-implemented. Started on enchantments
2024-06-02 20:42:53 -04:00
Camotoy
214cc5a824
Initial changes for Java 1.21
2024-06-01 01:25:30 -04:00
Camotoy
da5d8006ad
Add native offhand support for *some* items
...
About 46 items are data-driven enough where we can tell Bedrock these items are permitted in the offhand.
2024-05-30 22:29:00 -04:00
Camotoy
c8fbffb638
Piston head correct pick block behavior
2024-05-29 21:47:50 -04:00
chris
66f30a2cb6
Ensure we send commands/chat the same way a Java client would ( #4703 )
...
* Ensure we send commands/chat the same way a Java client would
* yeet static import, move blank check
2024-05-29 23:43:39 +02:00
onebeastchris
8be60b41bf
Remove lectern/item frame dropping handling for pre 1.20.60
2024-05-29 22:39:33 +02:00
Camotoy
97d9207c69
Merge branch 'dev' of https://github.com/GeyserMC/Geyser into dev
2024-05-29 00:39:51 -04:00
chris
63c84bc25b
Yeet lectern cache ( #4695 )
...
* attempt to yeet lectern cache
* yeet lecternutils usage
* properly update lecterns
* yeet accidental diff
2024-05-29 00:39:39 -04:00
chris
0fcf0f9b4f
Update Bungee version check, create logger earlier ( #4697 )
...
* use the logger where possible instead of system.out.print
* make loggers final
* yeet unused constructors
* velocity is more complicated
2024-05-28 17:23:19 +02:00
Camotoy
6c88cc5883
Merge branch 'master' of https://github.com/GeyserMC/Geyser into dev
2024-05-27 14:39:54 -04:00
Camotoy
675faf6bb4
Remove unused chat class
2024-05-27 14:35:02 -04:00
Camotoy
444b5ecee8
Remove BlockStateUpdater dependency
...
Not currently used
2024-05-27 14:33:11 -04:00
Valaphee The Meerkat
3570caae25
Fix crafting output not updating sometimes ( #4692 )
...
* Only cancel crafting grid future if slot == 0
* Add some comments
2024-05-27 16:53:42 +02:00
Valaphee The Meerkat
cb0488a271
Fix NPE in TippedArrow when it has no components ( #4694 )
2024-05-27 14:08:04 +02: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
5f7a31a1d8
Fix #4688
2024-05-25 20:55:05 -04:00
Camotoy
0ea01bfa48
Allow skull pick item NBT
2024-05-25 18:59:37 -04:00
rtm516
d5fdbeb49c
Make allow-third-party-capes default to false ( #4690 )
2024-05-25 14:19:59 +02:00
Camotoy
ec3327efeb
Minor minor changes
2024-05-23 11:41:26 -04:00
Joshua Castle
377eb07afc
Merge remote-tracking branch 'origin/master' into dev
...
Signed-off-by: Joshua Castle <26531652+Kas-tle@users.noreply.github.com>
2024-05-22 17:13:09 -07:00
gecko10000
6f4c29c834
Match Advancement Packet Behavior Towards Java ( #4684 )
...
* Send advancement packet regardless of current tab
* Send advancement close packet when single-advancement form closed
2024-05-22 11:26:32 +02:00
Camotoy
f7b026d61b
Remove old sneaking/crawling workarounds
...
Since Bedrock implements these natively, there's no need for extra checks. :)
2024-05-21 20:56:13 -04:00
Camotoy
96bfda2ed3
Fix #4683
2024-05-21 20:37:18 -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
db166ad8de
Small optimizations and BlockStateValues reduction
2024-05-20 21:26:01 -04:00
gecko10000
a780eeaae8
Open advancement tab regardless of currently open tab ( #4665 )
2024-05-20 19:52:41 +02:00
AJ Ferguson
f489fd3b98
Add TrapDoorBlock
2024-05-20 00:28:40 -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
d85549c38d
BlockMapping is removed
2024-05-19 20:24:19 -04:00
Camotoy
6c904b2378
It's almost done.
2024-05-18 16:37:06 -04:00
chris
8b7703154e
Resolve issue when trying to transfer a Geyser player ( #4673 )
2024-05-18 21:13:00 +02:00
Camotoy
a439f3e3d7
Fix compilation for Spigot
2024-05-17 21:14:59 -04:00
Camotoy
beef01f3fc
Pistons now use the new block stuff
2024-05-17 20:55:34 -04:00
Camotoy
06dc0d1ca8
Collisions without BlockMapping
2024-05-17 17:52:19 -04:00
chris
5ebb6ef0d6
Fix: using curly brackets in custom Minecraft locale overrides
2024-05-17 22:48:46 +02:00
chris
b010c500d8
Various entity fixes: Ensure TNT doesn't bug into the ground, reset player entity flags properly ( #4670 )
...
* Various entity fixes
* actually update the tnt entity position
* revert bad diff
2024-05-17 22:21:01 +02:00
Camotoy
1cd0aad79f
Comment out snow collision
...
Seems to be unnecessary as of 1.20.30. Will be deleted later if no problems are found!
2024-05-17 15:02:12 -04:00
Camotoy
a46332ace1
Move block breaking to new system
2024-05-17 14:50:21 -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
Camotoy
423d2e3a36
Emulate vanilla behavior with existing registries
2024-05-15 13:41:31 -04:00
Camotoy
6c4b2cb173
Don't create a property manager if an entity has no properties
2024-05-15 13:40:57 -04:00
rtm516
4d61766d0a
Fix SessionSkinApplyEvent not keeping altered skin data ( #4663 )
2024-05-14 16:38:51 +01:00
rtm516
b11a6d7176
Remove unofficial skin sources and add skin event for extensions ( #4507 )
...
* Remove ears and unoffical skin sources
* Remove supplyEars
* Cleanup and add SkinApplyEvent
* Add failed back to skin
* Accept suggestion on SkinGeometry
Co-authored-by: chris <github@onechris.mozmail.com>
* Add javadoc and update copyright
* Remove old config options
* Make SkinApplyEvent a ConnectionEvent
* Add warning about third-party config options
* Update warning message
* Add javadoc to event
* Fix javadoc
* Ajust for review and bump version to 2.2.4
* Get rid of array and preserve original skin data
* Add originalSkin method to event
* Handle NonNull in SessionSkinApplyEvent
* Revert default copyright change
---------
Co-authored-by: chris <github@onechris.mozmail.com>
2024-05-14 14:22:54 +02:00
Teelair
7801e357fb
Map new Mace enchantments for Bedrock clients ( #4653 )
...
* Map new Mace enchantments for Bedrock clients
* Move to using a map for Java-only enchantments.
* Change to using null check for translationKey
2024-05-11 01:20:52 +02:00
chris
e697eb3ae3
Feat: Make connection data exposed in api less prone to throw errors ( #4604 )
...
* Feat: Make connection data exposed in api less prone to throw errors
* address reviews
* review
2024-05-10 23:58:27 +02:00
AJ Ferguson
627c2babe9
Fix various mob attack animations ( #4627 )
...
* Fix various mob attack animations
* Fix error
* Don't set piglin target unless attacking
* Fix piglin and hoglin shaking effect
* Fix piglin attack animation when switching weapons
2024-05-07 19:26:31 -04:00
Eclipse
cda7a19a08
Fix discarding of custom trim patterns/materials ( #4642 )
...
* Fix discarding of custom trim patterns/materials
* Rename `stripNamespace` method to reflect its behaviour
2024-05-07 08:16:21 +02:00
AJ Ferguson
0a261f1d9d
Update MCPL and MCAuthLib ( #4645 )
...
* Update MCPL and MCAuthLib
* Bump MCPL
2024-05-06 21:40:32 -04:00
Camotoy
5770c96f48
Indicate support for 1.20.81
2024-05-05 01:29:37 -04:00
Camotoy
b39ed5de53
Panda eating particles are not necessarily bamboo
2024-05-02 20:33:28 -04:00
Camotoy
cab1a20034
Set mappings commit to master
2024-05-02 13:08:09 -04:00