Commit graph

3678 commits

Author SHA1 Message Date
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
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
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
1e9dbaf38b
Here is the Spigot change 2024-05-18 16:54:42 -04:00
Camotoy
6c904b2378
It's almost done. 2024-05-18 16:37:06 -04: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
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
chris
86dafbc108
Ensure we load mod resources correctly on Geyser-NeoForge (#4651)
* correctly load jar resource files on neoforge

* also add support for neoforge-floodgate
2024-05-12 10:49:08 +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
AJ Ferguson
8addcadb71
Bump MCPL to increase NBT max depth (#4639) 2024-05-05 02:24:28 -04:00
Camotoy
5770c96f48
Indicate support for 1.20.81 2024-05-05 01:29:37 -04:00
AJ Ferguson
b8fe71a8bc
Bump MCPL to fix ClientboundExplodePacket (#4635) 2024-05-04 01:06:59 -04:00
basaigh
9d299ee83b
Fix particle reading issues (#4631) 2024-05-03 07:29:15 -07:00
basaigh
a39cd65537
Fix velocity ping passthrough (#4626) 2024-05-03 13:53:47 +02: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
Camotoy
6a214f235c
Remove duplicate method 2024-05-02 13:07:18 -04:00
Camotoy
efda13421f
Merge branch 'master' into feature/1.20.5 2024-05-02 12:58:46 -04:00
onebeastchris
f7c65f38d1 properly annotate methods in the ServerTransferEvent 2024-05-02 12:51:32 +02:00
AJ Ferguson
60f8532be3 Fix attribute display text 2024-05-02 06:12:16 -04:00
AJ Ferguson
29a613b85c Use java default area effect cloud radius 2024-05-02 05:04:19 -04:00
AJ Ferguson
d003818e73 Potion fixes 2024-05-02 03:47:30 -04:00
AJ Ferguson
fdae333351 Add data components hash code to translated NBT 2024-05-01 19:06:22 -04:00
chris
1291b89e64
Ensure proper Geyser starting/disabling when Geyser is used on a client (#4621)
* Ensure proper Geyser starting/disabling when Geyser is used on a client

* also set correct remote port

* only use direct connection on server, not client, actually override remote port
2024-05-02 00:29:33 +02:00
Camotoy
cc635d4447
This would probably end up being an issue... 2024-05-01 15:41:27 -04:00
Camotoy
1e8d6b23cf
Different registry implementation; fix banner blocks with ViaVersion 2024-05-01 15:35:30 -04:00
Camotoy
abb1d7d9e9
Indicate Java 1.20.6 support 2024-04-30 18:50:41 -04:00
Camotoy
59a2c0dc02
Use item tags for all animal loved food 2024-04-30 18:35:52 -04:00
AJ Ferguson
aff7d2cf35 Fix potential NPE 2024-04-30 18:05:46 -04:00
onebeastchris
255835438d viaversion 4.10.0 compat, indicate 1.20.6 support on modrinth 2024-04-30 21:59:38 +02:00
onebeastchris
51cbbba47c Merge remote-tracking branch 'upstream/feature/1.20.5' into feature/1.20.5 2024-04-30 21:48:41 +02:00
onebeastchris
4a0a694eb9 revert bad diff 2024-04-30 21:38:25 +02:00
onebeastchris
d99f498901 translate ominous banners 2024-04-30 21:35:21 +02:00
onebeastchris
dd745b901f move to paper-adapters 2024-04-30 20:48:10 +02:00