Camotoy
af5d03f5dd
Show teams in command suggestions
2023-01-25 11:05:04 -05:00
Kas-tle
b8040a1d98
Fix some instances of chunks not appearing ( #3498 )
2023-01-20 10:02:20 -05:00
Camotoy
b5e1ddc3c8
Guess when the client is clicking air on mobile
...
Should address #2113
2023-01-03 19:28:43 -05:00
Camotoy
00df4c26ba
Don't send more than one ServerboundSwingPacket per tick
...
Should address #2875
2023-01-03 15:51:58 -05:00
Camotoy
3f4ed67597
Add Item classes to partially replace ItemMapping. Part 1?
2022-12-29 15:10:40 -05:00
Camotoy
e295f910c4
BlockMappings extends DefinitionRegistry
2022-12-23 19:40:42 -05:00
Camotoy
08c15a86ec
You can connect now. Command translation doesn't work though.
2022-12-23 16:18:48 -05:00
Camotoy
c48cb2a4a8
Remount players in their vehicle if they're not supposed to leave
2022-12-22 13:19:46 -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
Camotoy
3fad4c37fc
Merge branch 'render-distance' of https://github.com/valaphee/Geyser into dev
2022-12-18 14:17:50 -05:00
Camotoy
ad4424d2b6
Use server data to pick block on banners
2022-12-17 21:05:41 -05:00
Valaphee
298d59405a
Fix wrong render distance calculation
2022-12-15 11:57:57 +01: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
Camotoy
7c26036906
Update adapters to support 1.19.3 and add biome command completions
2022-12-13 13:53:28 -05:00
Camotoy
e7544c0bb4
Fix some chat not appearing for Bedrock users
2022-12-07 20:09:48 -05:00
Camotoy
e12d4bfa0e
Merge branch 'feature/1.19.3'
2022-12-07 11:06:40 -05:00
Camotoy
3d66d2790f
Fix rare dimension switch inconsistencies
...
Fixes #3161
2022-12-04 13:34:51 -05:00
Konicai
b09caed0f1
Fix BitSet import
2022-12-02 00:29:20 -05:00
Konicai
92aa2059d2
Merge remote-tracking branch 'upstream/master' into JE-1.19.3
2022-12-01 22:00:57 -05:00
Konicai
c7e79299b6
Improve 1.19.50 flags ( #3422 )
2022-11-29 16:34:09 -05:00
RednedEpic
8f96823048
Add support for Bedrock 1.19.50 (560)
2022-11-28 20:53:17 -06:00
Konicai
759db72536
Compiling for 1.19.3
2022-11-22 17:13:59 -05:00
Kevin Ludwig
37931e4996
Fix potion recipes not working on pre-1.12 servers ( #3408 )
2022-11-18 12:36:18 -05:00
Camotoy
886d7e5b4b
Fix crashes when joining a server in the Nether
2022-11-12 10:28:53 -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
Camotoy
29fcce7ec8
Add option to not log player IP addresses
...
Resolves #3246
2022-08-25 16:10:43 -04:00
Tim203
ab6e0d1e16
Some more API changes
2022-08-12 01:01:26 +02:00
Tim203
80588a07bd
Initial API changes
2022-08-11 23:17:56 +02:00
Konicai
ee5e916112
Merge remote-tracking branch 'upstream/master' into ext-1.19.20
...
# Conflicts:
# core/pom.xml
2022-08-09 14:36:54 -04:00
Camotoy
f74713c0ed
Initial support for 1.19.20 Bedrock
2022-08-07 12:09:54 -04:00
Konicai
aee43e68fa
Merge remote-tracking branch 'upstream/master' into feature/extensions
...
# Conflicts:
# ap/pom.xml
# api/base/pom.xml
# api/geyser/pom.xml
# api/pom.xml
# bootstrap/bungeecord/pom.xml
# bootstrap/bungeecord/src/main/java/org/geysermc/geyser/platform/bungeecord/GeyserBungeePlugin.java
# bootstrap/pom.xml
# bootstrap/spigot/pom.xml
# bootstrap/sponge/pom.xml
# bootstrap/standalone/pom.xml
# bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneBootstrap.java
# bootstrap/velocity/pom.xml
# common/pom.xml
# core/pom.xml
# core/src/main/java/org/geysermc/geyser/command/CommandManager.java
# core/src/main/java/org/geysermc/geyser/registry/populator/ItemRegistryPopulator.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/JavaLoginTranslator.java
# core/src/main/resources/languages
# pom.xml
2022-08-02 00:01:05 -04:00
Camotoy
6856922f42
Don't let players change their own gamemode without permission
...
Fixes #3191
2022-08-01 14:45:03 -04:00
Camotoy
40fde6b046
Some nitpicks and cleaning up the provider API
...
The command changes here are not final. Internally we're discussing if we want to allow extensions to register root commands on platforms.
2022-07-26 18:33:39 -04:00
Camotoy
a18ac29a91
Initial 1.19.1 Java support
2022-07-24 19:32:22 -04:00
Camotoy
76bb5d4d88
Fix persistent FOV when walk speed is ever set to zero
...
Fixes #3139
2022-07-23 10:50:43 -04:00
Kas-tle
46faf02474
Merge remote-tracking branch 'upstream/master' into feature/extensions
2022-07-14 01:46:26 +00:00
Camotoy
f6f8886f23
Fix PS4 players crashing on certain dimension switches
2022-07-13 21:31:10 -04:00
Kas-tle
1b5f237996
Merge remote-tracking branch 'upstream/master' into feature/extensions
2022-07-12 20:17:23 +00:00
Camotoy
109e1c0a97
Fix dropping items in 1.19.10
2022-07-12 16:05:06 -04:00
Kas-tle
2dbd39c5a4
Per review by @Camotoy
2022-07-12 16:33:57 +00:00
Kas-tle
bca6359f7e
1.19.10 fallout
2022-07-12 05:29:39 +00:00
Kas-tle
363d72da91
Merge remote-tracking branch 'origin/master' into feature/extensions
2022-07-12 05:26:52 +00:00
Camotoy
16bb79e7aa
Support HAProxy in legacy ping passthrough
2022-07-11 08:38:26 -04:00
Camotoy
4d0952c224
Initial support for 1.19.10 Bedrock
2022-07-10 13:33:39 -04:00
Camotoy
2ce7ff850a
Support the 1.19.0 Java block prediction/ack system
2022-07-09 23:02:19 -04:00
Camotoy
897c4dcfec
Changes
2022-07-09 18:39:02 -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
ImDaBigBoss
36c49a7256
Custom item support for extensions ( #2822 )
...
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2022-07-02 12:50:16 -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
ddd2262380
Custom chat types at login are valid
...
Fixes https://github.com/GeyserMC/Geyser-Fabric/issues/55
2022-06-15 18:32:27 -04:00
ImDaBigBoss
db003293e9
Merge master
2022-06-12 10:33:32 +02:00
Camotoy
162aff4978
Better handle chat packets sent before login
2022-06-10 10:27:07 -04:00
Camotoy
72a9df58e0
Properly support differently setup chat registries
...
ViaVersion has two entries in its fake chat registry that are not in the same order as Java. This commit supports that properly and renders subtitled text correctly.
Resolves #3023
2022-06-08 22:30:34 -04:00
ImDaBigBoss
4e2f74481b
Updated to 1.19
2022-06-08 14:09:14 +02:00
Tim203
5fe24ac867
Merge remote-tracking branch 'origin/feature/1.19-bedrock' into feature/cumulus-1.1
...
# Conflicts:
# core/src/main/java/org/geysermc/geyser/session/cache/AdvancementsCache.java
2022-06-07 00:14:43 +02:00
Tim203
86d0200960
Re-added the old sendForm methods
2022-06-06 10:03:39 +02:00
Camotoy
09fb6bf3ba
Fix direct connection and ensure connecting doesn't block
2022-06-05 18:38:29 -04:00
Tim203
94445a5222
Re-added the old sendForm methods
2022-06-06 00:25:45 +02:00
RednedEpic
bcc68ee4b5
Update to latest MCPL changes
2022-06-05 13:12:36 -05:00
Camotoy
7a0a6795d0
Remove now-obsolete sign workaround. Yay.
2022-05-29 20:31:54 -04:00
Tim203
bd1cc26bf3
Use new Cumulus methods
2022-05-29 23:39:40 +02:00
Tim203
d4ecd2bd72
Merge remote-tracking branch 'origin/master' into feature/cumulus-1.1
...
# Conflicts:
# ap/pom.xml
# api/base/pom.xml
# api/geyser/pom.xml
# api/pom.xml
# bootstrap/bungeecord/pom.xml
# bootstrap/pom.xml
# bootstrap/spigot/pom.xml
# bootstrap/sponge/pom.xml
# bootstrap/standalone/pom.xml
# bootstrap/velocity/pom.xml
# common/pom.xml
# core/pom.xml
# core/src/main/java/org/geysermc/geyser/session/cache/AdvancementsCache.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/java/JavaCustomPayloadTranslator.java
# core/src/main/java/org/geysermc/geyser/util/LoginEncryptionUtils.java
# pom.xml
2022-05-28 17:09:20 +02:00
Camotoy
b10ce16506
The wild update experiment is no longer necessary
2022-05-27 22:44:03 -04:00
davchoo
c5de293373
Allow 1.19.0 to join and use new block mappings
2022-05-25 21:50:50 -04:00
Camotoy
1a7b57018e
Chat messages now show up correctly.
2022-05-25 21:48:38 -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
5339127105
Start work on 1.19
2022-05-24 16:16:40 -07:00
Camotoy
b885e22fa3
Always show the world border at least five blocks away
...
Previously, no indication that the world border exists would show if warning blocks was set to 0.
2022-05-15 13:52:18 -04:00
David Choo
b33cc512b4
Add custom skull render distance ( #2751 )
...
* Add player skull render distance
* Improve updateVisibleSkulls a bit
Avoid rechecking visibility on small movements
* Periodically despawn unused skull entities
* Don't hide skull entity for position/rotation changes
Prevents flickering for skulls that are rotating
* Update visible skulls when a skull is removed
* Only update on removal if an entity is assigned
* No need to check for skull in ChunkUtils
Update copyright year
* Avoid rechecking all skulls when a skull is added/removed
* Allow skull render distance and number to be configured
Renamed some fields to better match their values
* Compare texture property directly from GameProfile
* Remove unnecessary blockState field from SkullPlayerEntity
* Use binarySearch for insertion
Wait for player movement before loading skulls
* Allow culling to be disabled by setting max-visible-custom-skulls to -1
* Only remove skulls in inRangeSkulls when culling is enabled
* Add suggestions from review
* Merge the for loops in updateVisibleSkulls
* Fix skulls being leaked on chunk unload
2022-05-14 15:12:18 -04:00
RednedEpic
fbaa6c1f5f
Remove entity work from main extension branch for now
2022-05-07 10:11:21 -05:00
RednedEpic
59d5a6469c
Add support for modifying identifiers through the AvailableEntityIdentifiersPacket
...
This is the first of many commits that address adding support for custom entities through the Geyser API.
2022-05-01 12:25:24 -05:00
RednedEpic
f2e606c0f3
Rename HYBRID AuthType back to FLOODGATE
2022-04-24 11:42:17 -05:00
RednedEpic
43f23674d6
Merge branch 'master' into feature/extensions
...
# Conflicts:
# ap/pom.xml
# api/base/pom.xml
# api/geyser/pom.xml
# api/pom.xml
# bootstrap/bungeecord/pom.xml
# bootstrap/pom.xml
# bootstrap/spigot/pom.xml
# bootstrap/sponge/pom.xml
# bootstrap/standalone/pom.xml
# bootstrap/velocity/pom.xml
# common/pom.xml
# core/pom.xml
# core/src/main/java/org/geysermc/geyser/configuration/GeyserJacksonConfiguration.java
# core/src/main/java/org/geysermc/geyser/network/UpstreamPacketHandler.java
# core/src/main/java/org/geysermc/geyser/session/GeyserSession.java
# core/src/main/java/org/geysermc/geyser/translator/protocol/bedrock/BedrockFilterTextTranslator.java
# pom.xml
2022-04-24 11:23:26 -05:00
Konicai
03b067e23e
Merge master into extensions ( #2941 )
...
* Don't always store cert/client data used for skin uploaded
This takes up a decent 30K of memory that we don't use after the skin is uploaded. The GameProfileTranslator cannot be run more than once per session.
* Make all moon phases visible
The fix to prevent integer overflows also prevented moon phases from being visible until now.
Fixes #2927
* SetTimeTranslator: cast from long on the entire modulus
This should fix some inaccuracies with time on older worlds.
* Bump version; drop 1.17.40; support 1.18.30
* Actually bump to 2.0.3-SNAPSHOT
* Fix message being sent still if a single escape character is sent
* Replace instances of configs using `generateduuid` for Metrics
* Fix some merge mistakes
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2022-04-20 21:37:50 -04:00
Camotoy
e923325246
Fix stonecutters for Bedrock 1.18.30
...
Also add an option in debug mode to not log pings in the event they're spammy.
2022-04-20 21:22:02 -04:00
Camotoy
cf8114543e
Bump version; drop 1.17.40; support 1.18.30
2022-04-17 19:53:06 -04:00
Camotoy
cb8858fc42
Don't always store cert/client data used for skin uploaded
...
This takes up a decent 30K of memory that we don't use after the skin is uploaded. The GameProfileTranslator cannot be run more than once per session.
2022-04-11 15:44:15 -04:00
RednedEpic
9939a26a5b
Add RemoteServer API
2022-03-19 21:55:29 -05:00
RednedEpic
02cda38259
Merge remote-tracking branch 'origin/master' into feature/extensions-gradle
2022-03-19 20:48:14 -05:00
Konicai
f8e983887e
Add method in Connection API for transferring connections ( #2891 )
2022-03-18 18:59:32 -04:00
Camotoy
607e97f988
More descriptive disconnect messages for outdated Java servers
2022-03-18 10:51:22 -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
d0d01714aa
Remove unlockedRecipes storage
...
This has been unused, and for the time being we aren't going the packet route that would use these.
2022-03-09 23:09:48 -05:00
Camotoy
9154a4571c
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/extensions
2022-03-06 20:35:04 -05:00
Camotoy
8388a4830e
Simplify disconnection logging
...
A disconnect message will always be printed, but not more than once.
CLOSED_BY_REMOTE_PEER -> Bedrock client disconnected (hopefully slightly less vague)
If a message is sent from the server, the log will now indicate their disconnection reason.
2022-03-05 22:32:38 -05:00
Camotoy
c977e36368
Deprecate userAuths in favor of a saved token system
2022-03-03 18:52:26 -05:00
turikhay
d0220a9b71
Allow single-device Microsoft authentication ( #2688 )
...
By default, there is a two-minute delay if you disconnect so you can authenticate your Microsoft account.
Co-authored-by: rtm516 <rtm516@users.noreply.github.com>
Co-authored-by: Camotoy <20743703+Camotoy@users.noreply.github.com>
2022-02-26 15:45:56 -05:00
Camotoy
7d1ec5c41a
Support offhand interactions with entities
2022-02-24 22:49:10 -05:00
Camotoy
811ae178c9
Store recipes in a more compact GeyserRecipe type
...
This prevents us from storing some unnecessary data.
Also removes some 1.11 recipe compatibility code that is essentially unusable.
2022-02-21 16:11:51 -05:00
Camotoy
746cd94dd1
Fix villagers for 1.18.10
...
Includes working around pre-1.14 ONLY on pre-1.14 by checking the tags packet.
Fixes #2828
2022-02-10 20:14:52 -05:00
Camotoy
354e87b747
Merge branch 'master' of https://github.com/GeyserMC/Geyser into feature/extensions
2022-02-10 09:17:27 -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
Tim203
5ce2c113ae
Remove IPv6 scope if present
2022-01-28 13:08:10 +01:00
Tim203
3011d89db6
Update Geyser to use the latest features of Cumulus 1.1
2022-01-22 12:20:52 +01:00