Commit Graph

885 Commits

Author SHA1 Message Date
Howard ZHY
141750c2bd Update Chinese Translations 2024-02-22 11:07:29 +08:00
Felix14_v2
b6845f0c64
Update ru_ru.json 2024-02-22 03:36:21 +03:00
FlorianMichael
e9b060fc3c
Added button for making feature requests 2024-02-21 23:23:08 +01:00
FlorianMichael
87b27861b7
Added report issues screen and moved server lists into one screen 2024-02-21 22:59:02 +01:00
FlorianMichael
27f8156c47
Rewrite subtitle system to support dynamic subtitle changes 2024-02-21 22:46:09 +01:00
FlorianMichael
1c206b83e0
Rewrote close handling of VFPScreen to support recursive opening 2024-02-21 22:03:18 +01:00
FlorianMichael
f61cb8b8f6
Fixed bedrock login not working 2024-02-21 20:27:25 +01:00
FlorianMichael
5c061e503d
Don't filter for third party custom payloads and explain the cursed things we're doing.
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/359
2024-02-21 16:41:20 +01:00
FlorianMichael
aee1575f30
Fixed offhand swap check using the wrong version
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/358
2024-02-21 14:25:10 +01:00
FlorianMichael
6c8449ac6b
Fixed incompatibility with auto-elytra 2024-02-19 22:50:03 +01:00
FlorianMichael
5507ad3bc5
Random code cleanup 2024-02-17 20:35:33 +01:00
FlorianMichael
aa4be98e71
Updated button orientation translations 2024-02-17 20:29:56 +01:00
FlorianMichael
775eb62ded
Added button to direct connection screen, added feature to disable certain buttons 2024-02-17 19:56:05 +01:00
FlorianMichael
988268ba13
Merge remote-tracking branch 'origin/main' 2024-02-16 06:10:22 +01:00
FlorianMichael
85d915a6c4
Fixed version selection rendering 2024-02-16 06:09:49 +01:00
RaphiMC
cfb2ca5d5a
Fixed auto detect breaking version comparisons 2024-02-15 17:32:05 +01:00
FlorianMichael
7d5408f7f9
Resolved TODO in EntityDimensionDiff
Added ProtocolTranslator#isCloserTo
2024-02-15 02:11:38 +01:00
FlorianMichael
5f0ac0caea
Renamed ProtocolHack to ProtocolTranslator
I decided to use ProtocolTranslator as new name since it better describes what this part of the program is doing
2024-02-15 01:11:31 +01:00
EnZaXD
da73e8ba19
Migrate ViaFabricPlus to ViaVersion's new ProtocolVersion API (#354)
* Updated Via API usage

* Thanks for not pushing this class IntelliJ

* Updated Via API usage

* Updated Via API usage

* Updated MixinProtocolVersion

* Moved auto detect to bottom of protocol list

* Use sorted version list for GUIs

* Fixed compile errors and startup

* Fixed config saving and loading

* Updated DEVELOPER_API file

---------

Co-authored-by: RaphiMC <50594595+RaphiMC@users.noreply.github.com>
2024-02-15 01:09:20 +01:00
RaphiMC
9d3877a9f8
Updated Via API usage 2024-02-13 23:30:37 +01:00
RaphiMC
b159ce3511
Merge remote-tracking branch 'origin/main' 2024-02-13 21:44:16 +01:00
RaphiMC
d637e43f55
Updated Via API usage 2024-02-13 21:44:01 +01:00
FlorianMichael
b85f61708d
Fixed incompatibility with lithium 2024-02-10 20:07:26 +01:00
FlorianMichael
f54433ce9f
Updated TODO list 2024-02-09 20:27:07 +01:00
RaphiMC
787ce37bed
Cleaned up x-z collision fix 2024-02-09 19:55:12 +01:00
FlorianMichael
34c66e0f09
Fixed X-Facing/Z-Facing in <= 1.13.2 2024-02-09 19:44:21 +01:00
RaphiMC
d8c2a036e9
Updated ViaBedrock implementation 2024-02-08 01:54:28 +01:00
RaphiMC
98926cb794
Updated Via to 24w06a 2024-02-07 19:55:44 +01:00
FlorianMichael
ab5c1ac872
Improved MoreCulling compatibility 2024-02-07 17:07:11 +01:00
FlorianMichael
9d791a0c9a
Updated fabric.mod.json file 2024-02-06 22:33:27 +01:00
FlorianMichael
de6db35397
Use MixinExtras for MixinClientPlayerInteractionManager#redirectPlayerPosPacket 2024-02-06 22:06:45 +01:00
FlorianMichael
ecd38de782
Code cleanup 2024-02-06 22:03:59 +01:00
RaphiMC
3b29c948f4
Updated Via to 24w05b 2024-02-03 15:55:28 +01:00
Howard ZHY
f9b74b673b Update zh_*.json 2024-02-02 21:41:44 +08:00
神枪968
f9de2c38b2
Update zh_cn.json 2024-02-02 12:52:44 +08:00
RaphiMC
9f1ce594fe
Updated Via to 24w05a 2024-01-31 18:46:13 +01:00
RaphiMC
fb8e70246f
Fixed errors introduced by block breaking speed calculation rewrite 2024-01-30 23:06:49 +01:00
FlorianMichael
e402047e63
Merge remote-tracking branch 'origin/main' 2024-01-30 22:16:28 +01:00
FlorianMichael
6bf938424e
Rewrite block breaking speed calculation changes 2024-01-30 22:16:13 +01:00
RaphiMC
66ce0c1e08
Filter classic creative screen items properly 2024-01-29 19:35:37 +01:00
FlorianMichael
d6d3494ae6
Filter for "Update 1.21" feature flag in classic creative screen
Updating the ItemRegistryDiff would cause the inventory to be broken on 1.21 feature pack servers
2024-01-29 19:20:36 +01:00
FlorianMichael
f105bd8667
Revert "Updated ItemRegistryDiff to 1.20.5 to fix classic creative screen"
This reverts commit 5600e3fbfb.
2024-01-29 19:10:27 +01:00
FlorianMichael
5600e3fbfb
Updated ItemRegistryDiff to 1.20.5 to fix classic creative screen 2024-01-29 19:02:06 +01:00
FlorianMichael
ac7121be47
Refactor ProtocolHack#injectPreviousVersionReset to match modifications 2024-01-29 14:12:09 +01:00
FlorianMichael
b5b677da71
Don't reset selected version when playing singleplayer
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/337
2024-01-29 13:57:34 +01:00
FlorianMichael
a4f837fb9d
Tidy up VFPScreen#showErrorScreen 2024-01-26 13:55:22 +01:00
FlorianMichael
bcb3c57832
24w04a and Via API usage update 2024-01-26 13:54:11 +01:00
FlorianMichael
c31637cdbf
Finalizing some things 2024-01-24 16:13:09 +01:00
FlorianMichael
55eb34b5a5
Apply changes on other class files 2024-01-23 21:04:53 +01:00
FlorianMichael
cb31189cb8
Codestyle changes on mixin files:
- Use else block and ternary operator when possible
- Rely more on MixinExtras annotations (e.g. WrapWithCondition)
- Prevent not needed local fields
- Only use var if field type is clear or to prevent lines from getting to long
- Use VersionEnum#isNewerThan in disabling/removal injections
2024-01-23 20:41:05 +01:00
FlorianMichael
52a4d2c5f6
Use Formatting class file in MixinDrawContext 2024-01-23 19:22:19 +01:00
FlorianMichael
610ae09d69
Fixed namings in MixinItemStack and updated Classic4J 2024-01-20 23:15:00 +01:00
FlorianMichael
b195886642
Merge remote-tracking branch 'origin/main' 2024-01-19 21:18:35 +01:00
FlorianMichael
e8015a864c
Updated MinecraftAuth 2024-01-19 21:18:21 +01:00
notlin4
868519c756
Update Traditional Chinese 2024-01-20 00:15:06 +08:00
Marcel
21df9acc78
Update hu_hu.json
update + consistent order with en_us
2024-01-19 16:50:28 +01:00
FlorianMichael
9c164663e2
24w03b 2024-01-18 20:04:39 +01:00
RaphiMC
f899bc5745
Fixed FabricAPI injection conflict
Fixes #319
2024-01-15 17:40:57 +01:00
FlorianMichael
342604f143
Fixed wrong command outputs when using /viafabricplus 2024-01-15 00:14:24 +01:00
FlorianMichael
88a1376881
Updated Fabric API 2024-01-14 04:32:35 +01:00
FlorianMichael
751090cdfd
Updated Via* API usages 2024-01-13 06:21:28 +01:00
FlorianMichael
ea72120ff7
Removed fix which is now merged into Via 2024-01-12 23:58:00 +01:00
FlorianMichael
35d795ea3d
Structural refactor of fixes package
This commit introduces the fixes/versioned package, where random class files for specific game versions are stored since I don't want them to be in the root package and splitting more common data dumps and more version-specific class files into separate packages looks like a good solution for me.
2024-01-12 09:14:03 +01:00
FlorianMichael
e1a98531df
Added ClientsideFixes#getChatLength to fix edge cases were the chat length is wrong. 2024-01-12 00:28:49 +01:00
FlorianMichael
9109c6b5d1
Actually print the exception when using logger.error() method 2024-01-12 00:06:38 +01:00
FlorianMichael
53084c4e7e
Merge remote-tracking branch 'origin/main' 2024-01-03 18:47:10 +01:00
FlorianMichael
1c2f0e146c
Removed extra newline in debug hud injection 2024-01-03 18:47:01 +01:00
FlorianMichael
a46276579e
Update comment 2024-01-03 01:12:55 +01:00
RaphiMC
1cbc880b09
Removed second injection for resource pack URL validation fix 2024-01-03 00:52:49 +01:00
FlorianMichael
b731ff7925
Don't send resource pack validation packets in main thread (1.20.3 -> 1.20.2) 2024-01-02 21:47:37 +01:00
FlorianMichael
5762a0578f
Bump version to 3.0.5-SNAPSHOT 2024-01-02 16:15:56 +01:00
FlorianMichael
3dddc5b75e
Merge branch 'clean/recipes' 2024-01-02 16:09:36 +01:00
FlorianMichael
b56c399e3e
Merge branch 'feat/particles' 2024-01-02 16:09:10 +01:00
RaphiMC
31b261e3e8
Fixed FootStepParticle 2024-01-02 15:58:35 +01:00
RaphiMC
37a11f7bc2
Improved footstep particle handling 2024-01-02 15:32:43 +01:00
FlorianMichael
fbad198a39
Match recipe codestyle with project codestyle 2024-01-02 06:05:42 +01:00
FlorianMichael
bfde0eac48
Delete unused fields and methods in recipe fixes 2024-01-02 05:39:05 +01:00
FlorianMichael
69df6e2ace
Renamed fields in EntityRidingOffsetsPre1_20_2 2024-01-02 04:53:28 +01:00
FlorianMichael
8e82ae58c0
Change ProtocolHack#patchConfigs to not be bound to ViaLoader 2024-01-02 04:44:29 +01:00
FlorianMichael
fa88a7d1d2
Support ProtocolHack#createDummyUserConnection without protocol path
Fixed javadoc
2024-01-02 04:43:34 +01:00
FlorianMichael
6e91f4419a
Cleaned PerServerVersionScreen 2024-01-02 04:39:15 +01:00
FlorianMichael
5b5b68e2ec
Add support for left arm in <= 1.8 sword animations
Fixed https://github.com/ViaVersion/ViaFabricPlus/issues/315
2024-01-02 03:07:56 +01:00
FlorianMichael
8ebb8969a0
Clean assets folder 2024-01-02 02:56:14 +01:00
FlorianMichael
5f7a967d68
Implemented footstep particle in 1.13 -> 1.12.2 and fixed depthsuspend texture 2024-01-02 01:28:22 +01:00
FlorianMichael
65c17c8e94
Updated metadata 2024-01-01 17:52:14 +01:00
RaphiMC
2be62e51ec
Updated copyright header 2024-01-01 01:45:48 +01:00
FlorianMichael
6ef8477cd5
Merge remote-tracking branch 'origin/main' 2024-01-01 00:43:09 +01:00
FlorianMichael
42360c4d9e
2024 2024-01-01 00:41:25 +01:00
FlorianMichael
26c5bee954
Don't register /viaversion command as VFP alias to prevent mismatches with server-side ViaVersion 2023-12-31 16:51:24 +01:00
RaphiMC
f555b465fc
Merge remote-tracking branch 'origin/main' 2023-12-28 16:38:55 +01:00
RaphiMC
f2570ea445
Fixed entity riding offsets
Fixes #305
2023-12-28 16:38:32 +01:00
FlorianMichael
5c07c00b3b
Some code styling 2023-12-27 23:31:46 +01:00
FlorianMichael
04fd1ac510
Fixed "Open to LAN" being broken. 2023-12-27 23:19:29 +01:00
FlorianMichael
3b8537119e
Merge remote-tracking branch 'origin/main' 2023-12-27 23:12:44 +01:00
RaphiMC
655a130df9
Don't block custom characters from resource packs 2023-12-27 23:11:14 +01:00
FlorianMichael
2338fd8f02
Added EntityDimensionReplacements#getEntityDimensions methods instead of exposing the data dump. 2023-12-27 23:06:46 +01:00
FlorianMichael
5ffe582802
We can do it this way. 2023-12-27 22:44:04 +01:00
FlorianMichael
782864f385
Merge remote-tracking branch 'origin/main' 2023-12-27 22:43:07 +01:00
FlorianMichael
22d8e9fd53
Added java doc for util package 2023-12-27 22:42:58 +01:00
RaphiMC
3a87cc92d3
Readded ResourcePackHeaderDiff sanity check 2023-12-27 22:42:18 +01:00
FlorianMichael
6da4a443de
Added EntityDimensionReplacements#getEntityDimensions 2023-12-27 22:40:59 +01:00
FlorianMichael
be5a95b563
Merge remote-tracking branch 'origin/main' 2023-12-27 22:33:15 +01:00
FlorianMichael
dc61e98ee6
Added explanations for data dumps and missing java docs. 2023-12-27 22:32:37 +01:00
RaphiMC
f8cc29698c
Removed BlobCache override 2023-12-27 22:32:33 +01:00
FlorianMichael
d2889bbcf0
Prevent people from invoking EntityDimensionReplacements#init twice. 2023-12-27 22:23:58 +01:00
FlorianMichael
86f10ceabd
Start with explaining random class files. 2023-12-27 22:22:43 +01:00
FlorianMichael
180ce79ca7
Renamed JoinGameDataTracker 2023-12-27 22:17:59 +01:00
FlorianMichael
c5d9db05be
Revert version bump in ResourcePackHeaderDiff since we never add clientside fixes for backwards protocols
I don't plan on making ports for snapshot protocols but only for releases, so it doesn't make sense to randomly update the ResourcePackHeaderDiff but not all the other clientside fixes and data dumps
2023-12-27 22:16:13 +01:00
FlorianMichael
b58a74acd7
Updated Via API usage 2023-12-27 21:54:28 +01:00
RaphiMC
5c2e9c3349
Fixed Material1_19_4 comparison issues
Fixes #313
2023-12-27 09:30:42 +01:00
FlorianMichael
80ba3a6221
Structural refactor
This commit moves all parts of the ViaVersion/ViaLoader implementation into the protocolhack/impl package, this includes commands, providers and the viaversion implementation classes, netty and translator classes are still separate as they aren't part of the ViaVersion implementation but of the integration with the game code.
2023-12-26 01:59:55 +01:00
FlorianMichael
1a540e39ca
Improved ViaDecoder replacement 2023-12-26 01:50:43 +01:00
FlorianMichael
5c70e93d82
Fixed crash with camera-utils 2023-12-23 23:30:11 +01:00
FlorianMichael
926b40c3e9
Removed outdated comment 2023-12-21 21:50:16 +01:00
RaphiMC
481ddbde13
Merge remote-tracking branch 'origin/main' 2023-12-19 19:30:49 +01:00
RaphiMC
7da33b0fe6
Added sanity checks for ResourcePackHeaderDiff 2023-12-19 19:30:25 +01:00
christopherplaysminecraft
9553aa257f
Update German Translation (#311)
* Fix typo

* Bring German Translation up-to-date

* Implement requested changes
2023-12-19 11:38:01 +01:00
FlorianMichael
00f39b48e8
Fix last commit 2023-12-19 09:51:04 +01:00
RaphiMC
bacbb076cc
23w51b 2023-12-19 00:41:58 +01:00
FlorianMichael
ba66e4c9c5
Bump version to 3.0.3-SNAPSHOT 2023-12-13 20:01:14 +01:00
RaphiMC
fec87d0c8b
Moved reach fix injection point 2023-12-13 18:08:30 +01:00
RaphiMC
2ae5122d83
Implemented brush item reach changes 2023-12-13 18:08:15 +01:00
RaphiMC
24368bb5eb
Implemented jigsaw screen changes 2023-12-13 18:07:46 +01:00
FlorianMichael
ecd5d18818
Optimize code 2023-12-12 22:16:37 +01:00
FlorianMichael
736ac43868
Prefix all unique fields with viaFabricPlus$ 2023-12-11 21:45:11 +01:00
FlorianMichael
a861237423
Use MixinExtras annotations 2023-12-11 21:39:55 +01:00
FlorianMichael
513ba5bfc3
Proper reason for Overwrite annotation usages 2023-12-11 21:31:53 +01:00
FlorianMichael
a47cad4d54
Explain properly why we *break* game features 2023-12-11 21:24:20 +01:00
FlorianMichael
3ac1420e87
Added ItemTranslator#getItemType util 2023-12-11 21:16:02 +01:00
FlorianMichael
06ec8e26c1
Prefix accessor with mixin 2023-12-11 21:14:25 +01:00
RaphiMC
e42ddfe5b4
Fixed protocol version rename 2023-12-10 17:03:52 +01:00
RaphiMC
8c68e11cee
Updated Via API usage 2023-12-10 12:26:52 +01:00
RaphiMC
6272f2fde0
Fixed wrong usage of packet types 2023-12-10 00:01:18 +01:00
RaphiMC
84c739926c
Replaced 1.20.3 -> 1.20.2 component converter of ViaVersion 2023-12-09 17:46:19 +01:00
RaphiMC
9a9450c83e
Only depend on actually used FAPI modules 2023-12-09 14:24:39 +01:00
RaphiMC
a0af296589
Added debug setting for forwarding config packets immediately 2023-12-09 13:16:17 +01:00
RaphiMC
db5c96d038
Fixed some initial porting mistakes and improved mixin code style 2023-12-09 02:19:50 +01:00
FlorianMichael
b7612bf808
[POST] remove sanity check because VFP supports to load on multiple versions at the moment 2023-12-08 14:26:08 +01:00
RaphiMC
2b6bc8a7fc
Updated outdated ProtocolVersion renames 2023-12-08 11:01:00 +01:00
FlorianMichael
26dc4e49b1
Bump ProtocolHack#NATIVE_VERSION field 2023-12-07 16:29:54 +01:00
FlorianMichael
febc7538be
Merge remote-tracking branch 'origin/main' into recode/3.0.0
# Conflicts:
#	src/main/java/de/florianmichael/viafabricplus/fixes/data/ResourcePackHeaderDiff.java
#	src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java
2023-12-07 16:25:18 +01:00
FlorianMichael
e7e19d07b9
Updated to Fabric/Minecraft 1.20.4 2023-12-07 16:24:02 +01:00
FlorianMichael
d5b7f133bd
1.20.4 2023-12-07 16:22:45 +01:00
FlorianMichael
aaf7edbd85
Validate access widener 2023-12-07 01:56:47 +01:00
FlorianMichael
533c402f5b
Implemented version specific changes from 1.20.3 2023-12-07 01:47:33 +01:00
FlorianMichael
8ddde7065b
Prefix field with viaFabricPlus$ 2023-12-07 01:46:28 +01:00
FlorianMichael
4269453a5e
Code cleanup 2023-12-07 00:46:00 +01:00
FlorianMichael
1cac6e5e16
Updated TextComponentTranslator 2023-12-07 00:26:02 +01:00
FlorianMichael
792420cfd0
It compiles ™️ 2023-12-07 00:17:21 +01:00
FlorianMichael
0e5f786c77
Updated to Fabric/Minecraft 1.20.3 2023-12-07 00:15:46 +01:00