Tim203
c5d4b86564
Prepare for changes made in CloudburstMC/Protocol#205
2023-06-03 11:47:50 +02:00
onebeastchris
231095e115
make heads render when equipped
2023-05-17 01:38:49 +02:00
Camotoy
60de3187c6
Yeet NbtItemStackTranslator
2023-04-08 12:45:13 -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
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
777c69a21e
Remove armor quick change config
...
This is now in vanilla 1.19.4.
2023-03-12 13:06:13 -04:00
Camotoy
3f4ed67597
Add Item classes to partially replace ItemMapping. Part 1?
2022-12-29 15:10:40 -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
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
RednedEpic
8f96823048
Add support for Bedrock 1.19.50 (560)
2022-11-28 20:53:17 -06:00
RednedEpic
3f42d68f4e
Update to latest Protocol changes & cleanup item registry populator
2022-10-30 11:34:08 -05:00
RednedEpic
a133308f51
It compiles!
2022-10-29 22:02:11 -05:00
RednedEpic
18e7db8c30
Start on update to Protocol 3.0
2022-10-29 19:23:21 -05:00
Camotoy
1b6cfad5ad
Fix ghost blocks when insta-mining on 1.19+
...
Fixes #3113
2022-09-27 19:24:50 -04:00
RednedEpic
8fb22ee225
Merge branch 'master' into feature/extensions
2022-09-04 16:42:14 -05:00
AJ Ferguson
8e47a9f5e9
Ensure bedrock inventory id is at most 100 ( #3260 )
2022-08-29 12:26:30 -04:00
Kas-tle
e35f3785b2
Resolve fallout
2022-08-24 04:53:13 +00:00
Kas-tle
9232310b4d
Upstream
2022-08-24 04:53:00 +00:00
David Choo
33af9e094c
Fix missing cool down indicator when attacking mobs ( #3230 )
2022-08-12 22:25:07 -04:00
Tim203
80588a07bd
Initial API changes
2022-08-11 23:17:56 +02:00
Camotoy
616c088b66
Fix custom items with ItemTranslator#getBedrockItemMapping
2022-07-20 18:35:40 -04:00
Camotoy
2ce7ff850a
Support the 1.19.0 Java block prediction/ack system
2022-07-09 23:02:19 -04:00
David Choo
dc810f1d39
Fix break time while submerged in water ( #3110 )
...
* Fix break time while submerged in water
* Review stuff
* LAYERS -> LEVELS
2022-07-02 21:17:14 -04:00
David Choo
9ea22042eb
Fix some item interactions ( #3083 )
...
* Remove Bedrock only banner patterns from the creative inventory
* Add sound for tadpole bucket
* Fix lily pad and frogspawn placing on mobile/single stacks
* Workaround? Fix? for bucket usage on mobile
* Simplify math and update position+rotation whenever ServerboundUseItemPacket is sent
* Rotate the player back after using an item and fix glass bottles
* ITEM_USE actionType 1 does not need the rotation fix
Increase delay for look back
* Add some checks
* Prevent buckets and spawn eggs from being unintentionally placed when interacting with special blocks
As of 1.19 Bedrock no longer sends a PlayerActionPacket with action=BLOCK_INTERACT. Bedrock now sends action=ITEM_USE_ON_START before and action=ITEM_USE_ON_STOP after using an item on a block. However, this is not useful as it is sent for all block interactions.
* Fix inventory transactions being rejected after restoreCorrectBlock
The held item's netId is always 0 in the InventoryTransactionPacket.
* Touch ups
* Fix lookAt for different poses and sneaking + cauldron + bucket interactions
Fix boat items being desynced when placing them very close to collision
Fix bottles being desynced when tapping above water
Resend the held item if we do encounter a desync
* Avoid getting blockstate twice and fix comment
* Use generated interaction data
* Fix glass bottles being double filled and phantom water bottles/water buckets
* Don't update the entire inventory on useItem
* Use Geyser's inventory copy for check
* Use ItemTranslator#getBedrockItemMapping to avoid NBT translation
* mappings
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2022-06-24 16:48:28 -04:00
Camotoy
ebf18cfb28
Switch all Position instances to Vector3i
2022-05-25 19:17:49 -04:00
Camotoy
bbf45b6a4c
Compiles; provide your own mappings for now
2022-05-25 15:55:15 -04:00
Camotoy
1d3eebc678
Add recent Paper check and new vanilla check for block placement
...
Fixes #2917
2022-04-04 21:03:43 -04:00
Camotoy
d6cb5bd52d
ItemMappings: use array for ItemMapping class
2022-04-04 14:08:35 -04:00
Camotoy
0829b5cd4e
Replicate Bedrock shield behavior more accurately
...
If the player swings, then they cannot be holding their shield at the same time.
Also fixes an animation edge case with other players.
2022-03-15 13:34:56 -04:00
Camotoy
b4b5cea42d
Implement offhand support when interacting with entities
...
By simulating the exact processing that Java Edition does on the client-side, we can achieve full packet parity with Java when interacting with an entity.
2022-02-25 11:02:18 -05:00
Camotoy
9b8e1372c1
Work around dropping items from other slots
...
Fixes #2846
2022-02-25 10:31:00 -05:00
Camotoy
7d1ec5c41a
Support offhand interactions with entities
2022-02-24 22:49:10 -05:00
Camotoy
2d28ba0cb5
Several inventory and parity improvements
...
These changes fix up things that were missed with Java Edition inventory changes in 1.17 and 1.17.1. Working with the inventory in modern versions should be much nicer.
2022-01-30 11:15:07 -05:00
Camotoy
e92633d657
Add an option to always quick-change armor
...
With thanks to f068217cb7/src/main/java/me/juancarloscp52/bedrockify/client/features/quickArmorSwap/ArmorReplacer.java
for making me realize this was possible.
Currently disabled by default in the event that a server implementation also has this feature. May be enabled by default in the future.
2022-01-20 18:09:35 -05:00
Camotoy
516d8e573e
Config option to disable Bedrock scaffolding/godbridging
2022-01-15 16:28:52 -05:00
Tim203
3251d9010c
We're in 2022 now
2022-01-01 20:03:05 +01:00
Camotoy
24f09e016d
Entity IDs in Java Edition just need to be integers
...
We don't need to keep them as longs - this just reduces the amount of casting needing throughout the codebase.
2021-12-20 19:25:11 -05:00
Camotoy
966c2155ad
API: change player class to Connection
2021-11-22 14:52:26 -05:00
RednedEpic
83ddbd7d1a
Initial api draft
2021-11-21 12:36:42 -06:00
RednedEpic
2c663e0ee5
The Great Refactor Part 3 - Entire project restructure
2021-11-20 17:29:46 -06:00