Commit graph

1040 commits

Author SHA1 Message Date
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
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
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
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