Commit Graph

1083 Commits

Author SHA1 Message Date
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
FlorianMichael
cde4b24cad
Merge remote-tracking branch 'origin/main' into recode/3.0.0
# Conflicts:
#	gradle.properties
#	src/main/java/de/florianmichael/viafabricplus/fixes/data/ResourcePackHeaderDiff.java
#	src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinLivingEntity.java
#	src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java
2023-12-06 22:42:09 +01:00
FlorianMichael
a1024831dc
Made shieldBlockCounter injection optional
Fixed https://github.com/ViaVersion/ViaFabricPlus/issues/306
2023-12-06 22:29:51 +01:00
FlorianMichael
2e42a4565e
1.20.3 2023-12-05 21:25:04 +01:00
FlorianMichael
4ca7bce0f1
Use direct verification uri for bedrock login 2023-12-03 21:23:15 +01:00
FlorianMichael
995fb20f6a
Code formatting 2023-12-03 21:16:28 +01:00
RaphiMC
dc8a4ab529
Changed documentation wording 2023-12-03 20:48:32 +01:00
FlorianMichael
815d987be6
Don't hardcore NBT key 2023-12-03 20:46:32 +01:00
FlorianMichael
b34576a80d
Added missing documentation to base mixins 2023-12-03 20:43:22 +01:00
FlorianMichael
2700dfec2d
Code cleanup 2023-12-03 20:28:16 +01:00
FlorianMichael
07a896b897
Fixed last commit 2023-12-03 20:25:07 +01:00
RaphiMC
3cc0c032bc
Removed fixes which are now in ViaVersion 2023-12-03 18:40:14 +01:00
FlorianMichael
9e92f973c7
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0 2023-12-03 02:27:19 +01:00
FlorianMichael
8d1d888684
Fixed armor not being visible in <= b1.7.3 2023-12-03 02:27:07 +01:00
RaphiMC
fb7a349bbf
Fixed armor hud not updating after rejoining 2023-12-03 02:24:20 +01:00
RaphiMC
e2a5c3396d
Cleaned and fixed code 2023-12-03 00:03:18 +01:00
RaphiMC
5f446f1017
Updated Fabric Loader and don't JiJ MixinExtras 2023-12-02 03:43:06 +01:00
RaphiMC
32917bb10f
Handle null messages in connect error messages 2023-12-02 03:40:20 +01:00
FlorianMichael
10bfca19e0
Added missing documentation and some final cleanup before 1.20.3 2023-12-01 15:55:51 +01:00
RaphiMC
e4881bd99d
Fixed several disconnect event issues 2023-11-30 21:38:54 +01:00
RaphiMC
ad75c26459
Save full version so multiple snapshot versions are supported 2023-11-30 20:21:54 +01:00
RaphiMC
1d8ee89faf
Move auto detect to the version list screen 2023-11-30 20:18:50 +01:00
RaphiMC
a0f233db30
1.20.3-rc1 2023-11-30 17:33:48 +01:00
FlorianMichael
92b5e194ff
Merge remote-tracking branch 'origin/main' into recode/3.0.0
# Conflicts:
#	src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/entity/MixinClientPlayerEntity.java
2023-11-29 22:11:50 +01:00
FlorianMichael
554638b60a
Fixed critical movement issue 2023-11-29 22:08:23 +01:00
FlorianMichael
1de6fcd4de
Merge remote-tracking branch 'origin/main' into recode/3.0.0 2023-11-29 20:14:47 +01:00
FlorianMichael
2f31c68ce9
[POST] Require newer Fabric API version 2023-11-29 20:07:33 +01:00
FlorianMichael
25daee6296
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-11-28 17:43:58 +01:00
FlorianMichael
43bb6875dc
1.20.3-pre4 2023-11-28 17:42:24 +01:00
FlorianMichael
476402044f
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0 2023-11-28 17:26:13 +01:00
FlorianMichael
770e0ff29c
Cleaned connecting code by removing useless mixins/fields and fixed a few issues 2023-11-28 17:25:59 +01:00
Blay
679e50fe44
updated polish translations (#302) 2023-11-28 15:38:29 +01:00
FlorianMichael
9f80ee41e1
updated docs/ folder 2023-11-28 15:07:51 +01:00
FlorianMichael
5057809c30
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0 2023-11-28 14:56:52 +01:00
FlorianMichael
bf5c9f9982
Even more improvements
Added SaveFilesCallback to interact with the saving api
Require alpha inventory emulation setting to restart / cleaned code.
Added VFPListEntry#renderTooltip
Added tooltip support to AbstractSetting API
2023-11-28 14:56:28 +01:00
Howard ZHY
1ea7055a41
Update zh_*.json (#301) 2023-11-28 13:34:58 +01:00
FlorianMichael
1611d96da3
Mark @Unique methods/fields with viaFabricPlus$ prefix 2023-11-28 00:16:29 +01:00
FlorianMichael
ae6e117698
Merge remote-tracking branch 'origin/main' into recode/3.0.0
# Conflicts:
#	src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinGameModeSelectionScreen.java
#	src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/screen/MixinGameModeSelectionScreen_GameModeSelection.java
2023-11-28 00:06:15 +01:00
FlorianMichael
5725345aef
Cleaned code. 2023-11-28 00:02:50 +01:00
FlorianMichael
ebf1075155
Fixed crash when using the F3 + F4 menu in <= 1.8 2023-11-28 00:00:54 +01:00
Felix14_v2
371065a8be
Update ru_ru.json (#296)
* Update ru_ru.json

Updated translations

* Update ru_ru.json

* Update ru_ru.json
2023-11-27 22:31:29 +01:00
FlorianMichael
9c5369dc52
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0 2023-11-27 22:02:55 +01:00
FlorianMichael
c94421bfd0
Update documentation folder 2023-11-27 22:02:41 +01:00
Fundi1330
340385341f
Update uk_ua.json (#300) 2023-11-27 21:20:36 +01:00
FlorianMichael
ddec37d8c8
Only create one shutdown hook for save files 2023-11-27 20:38:21 +01:00
FlorianMichael
c62aa7516c
Move setting to correct place 2023-11-27 20:10:00 +01:00
FlorianMichael
94471bf961
Code cleanup 2023-11-27 19:59:01 +01:00
FlorianMichael
8400106095
Invert version range correctly 2023-11-27 19:40:03 +01:00
FlorianMichael
677843479b
Cleaned settings and finished V3 TODO list 2023-11-27 19:38:03 +01:00
FlorianMichael
c5191b583d
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0 2023-11-27 17:57:24 +01:00
RaphiMC
766048b1eb
Fixed connection session setup 2023-11-27 17:56:08 +01:00
FlorianMichael
29918be68c
Renamed class file 2023-11-27 17:34:47 +01:00
FlorianMichael
9e6a945a40
Merge remote-tracking branch 'origin/main' into recode/3.0.0
# Conflicts:
#	src/main/java/de/florianmichael/viafabricplus/fixes/data/PackVersionDiff.java
#	src/main/java/de/florianmichael/viafabricplus/injection/mixin/viaversion/MixinProtocolVersion.java
2023-11-27 17:32:37 +01:00
FlorianMichael
9d33bd9431
1.20.3-pre3 2023-11-27 17:24:56 +01:00
FlorianMichael
57cbb51a35
Fixed bug introduced with a4794e3e48 2023-11-27 17:12:50 +01:00
FlorianMichael
7b32dd464e
Hook font renderer fix setting again 2023-11-27 17:10:34 +01:00
FlorianMichael
f88f6f6d9c
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0 2023-11-27 17:08:21 +01:00
FlorianMichael
b878bdaf13
Some finalizing stuff to the recode:
- Moved classic related classes
- Fixed classic item selection screen
- Added PackVersionDiff back from v2
2023-11-27 17:08:07 +01:00
Blay
f8496bafc2
Updated the polish translations (#295) 2023-11-27 17:06:22 +01:00
FlorianMichael
0c42add048
Fixed MixinMultiplayerServerListWidget_ServerEntry 2023-11-27 16:20:26 +01:00
FlorianMichael
b8152d13ca
Cleaned source code tree 2023-11-27 16:15:28 +01:00
FlorianMichael
93c2abf8f1
Merge remote-tracking branch 'origin/main' into recode/3.0.0
# Conflicts:
#	src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/network/MixinClientCommonNetworkHandler.java
2023-11-27 14:15:37 +01:00
FlorianMichael
77c3f1a5a2
Updated Fabric API usage 2023-11-27 14:10:47 +01:00
RaphiMC
e0ad9be6bd
Small code cleanup 2023-11-26 23:54:32 +01:00
RaphiMC
095323ceef
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0 2023-11-26 23:21:41 +01:00
RaphiMC
b74aa3d2bf
Fixed several issues 2023-11-26 23:21:27 +01:00
Howard ZHY
be06c973f0
Update Chinese Translations (#297) 2023-11-26 21:59:45 +01:00
FlorianMichael
6ee3246a39
Fixed wrong translation usage 2023-11-26 21:58:50 +01:00
FlorianMichael
cf93a0453a
Fixed random crashes and load ViaVersion async 2023-11-26 21:48:11 +01:00
RaphiMC
67285d4f4a
Prevent FabricAPI from breaking the clientside fixes 2023-11-26 21:30:42 +01:00
RaphiMC
4c11cbd0b6
Updated copyright 2023-11-26 21:23:59 +01:00
RaphiMC
aa275f08c3
Fixed game start 2023-11-26 21:23:43 +01:00
RaphiMC
3fb0b2a22b
Fixed build error 2023-11-26 21:16:40 +01:00
RaphiMC
7494a220ab
Merge remote-tracking branch 'origin/recode/3.0.0' into recode/3.0.0
# Conflicts:
#	src/main/java/de/florianmichael/viafabricplus/ViaFabricPlus.java
2023-11-26 21:12:48 +01:00
RaphiMC
a4794e3e48
Added and fixed tons of clientside fixes 2023-11-26 21:11:41 +01:00
FlorianMichael
4bcb2bcc17
Moved ViaFabricPlus config folder into .minecraft/config path 2023-11-26 13:18:35 +01:00
FlorianMichael
3cd08a8ae0
Moved documentation related resources into documentation folder
Renamed some classes I missed in the previous refactor
Fixed introduced bugs in third-party screens
Improved screen code and draw main title in classic login screens
2023-11-26 12:58:59 +01:00
FlorianMichael
55e9c024cf
Re-add Debug Hud information list 2023-11-26 12:33:46 +01:00
FlorianMichael
a19c7085e9
Sort injection methods in fixes package by version
Added new debug settings
2023-11-26 11:56:54 +01:00
RaphiMC
a2a2a56e46
Renamed boat model class to match VFP naming scheme 2023-11-26 10:48:11 +01:00
FlorianMichael
d129cb5ed3
Replaced INSTANCE fields with global getter 2023-11-26 04:25:12 +01:00
FlorianMichael
34d7808325
Continue with recoding the project:
- Added proper system for config files / saving:
  Added SaveManager and AbstractSave
  Deleted random save classes (ClassiCubeAccountHandler and BedrockAccountHandler)
- Moved data classes into proper packages
- renamed translation keys to fit english translation
- Deleted deprecated or useless settings and added new setting for optional fixes
- Changed settings system to save names instead of ordinals
- Added setting to save selected version
2023-11-26 04:21:26 +01:00
FlorianMichael
ae86d923ab
Added old version to ChangeProtocolVersionCallback 2023-11-26 01:19:40 +01:00
FlorianMichael
8c6babbabf
Fixed game startup 2023-11-26 01:18:17 +01:00
RaphiMC
be8c3659bc
Added and fixed tons of clientside fixes 2023-11-26 01:05:58 +01:00
FlorianMichael
a50dc89f2f
Recoded and improved even more ™️
- Added former contributor to author list as well
- Cleanup block changes from RaphiMC's last commit
- Fixed some block related issues
- Conditionally load IP-Next compat mixin
- Made all Mixins abstract and methods private

This commit is the initial commit to clean up some fundamental issues of VFP since its release:
- Actually start with having a package structure to group mixins
- Don't over-engineer debug/information system but keep it simple as it's only debugging
- Renamed definition package to fixes to address its purpose
- Start with creating proper packages for fixes
- Start with documenting the source code tree so new contributors understand what we're doing
2023-11-25 22:30:16 +01:00
FlorianMichael
472289b37c
Update copyright header 2023-11-25 15:53:18 +01:00
FlorianMichael
1d45d1a054
Fix classic login input field 2023-11-25 01:28:44 +01:00
FlorianMichael
f3a86c51be Added RaphiMC as author 2023-11-25 01:07:43 +01:00
FlorianMichael
84158d3b02 Fixed game start 2023-11-25 01:02:54 +01:00
RaphiMC
10851b48bf
Recoded and improved everything (1/2)™️ 2023-11-25 00:47:17 +01:00
FlorianMichael
7cb50c76d2
1.20.3-pre2 2023-11-22 18:10:19 +01:00
FlorianMichael
53ca04df80
Delete outdated fix 2023-11-21 00:15:15 +01:00
FlorianMichael
10b4633a50
Fixed compact with baritone 2023-11-20 23:05:25 +01:00
FlorianMichael
7c79145bc8
1.20.3-pre1 2023-11-20 19:42:06 +01:00
FlorianMichael
6d2ad60dbd
23w46a 2023-11-20 14:03:33 +01:00
FlorianMichael
cc3b832688
Merge remote-tracking branch 'origin/main' 2023-11-19 21:47:19 +01:00
FlorianMichael
eb2b7609a6
Updated MinecraftAuth to 3.0.0 2023-11-19 21:47:05 +01:00
notlin4
d2c1096ad5
Update Chinese Traditional (#290) 2023-11-18 14:44:32 +01:00
FlorianMichael
a5a338ed52
Fixed version range 2023-11-13 12:57:36 +01:00
FlorianMichael
37c9112a04
Implemented yOffset change in 1.19 -> 1.18.2 2023-11-12 23:51:19 +01:00
FlorianMichael
aa7191801d
Implemented sprinting condition changes in 1.19.x protocols 2023-11-12 23:23:43 +01:00
FlorianMichael
9878f247bd
small cleanup 2023-11-12 23:10:29 +01:00
FlorianMichael
18b4340649
Simplified item interaction fix 2023-11-12 22:42:01 +01:00
FlorianMichael
740a439eff
moved mixin class, removed new warning in 1.20 -> 1.19.4 2023-11-12 22:23:36 +01:00
FlorianMichael
45c8f03912
Changed block breaking progress calculation in 1.20 -> 1.19.4 2023-11-12 22:14:03 +01:00
FlorianMichael
6505c85726
updated TODO list, moved some mixins 2023-11-12 13:38:16 +01:00
FlorianMichael
f7d398a4e6
Renamed injection 2023-11-12 13:00:46 +01:00
FlorianMichael
1544364f21
Implemented some more Elytra changes in 1.15 -> 1.14.4
Slightly fixed last commit
2023-11-11 18:50:51 +01:00
FlorianMichael
4f5ce22d0c
Fixed Crossbow damage offset in 1.18 -> 1.17.1 2023-11-11 16:25:33 +01:00
FlorianMichael
b9cecbfbf3
23w45a 2023-11-10 16:07:51 +01:00
FlorianMichael
e6b72d33a6
Updated build script to exclude libraries 2023-11-06 16:43:43 +01:00
FlorianMichael
a177b73742
Fixed copyright headers 2023-11-05 19:29:42 +01:00
FlorianMichael
aa903430d8
less package structure in mixins, moved some classes ™️ 2023-11-05 19:26:28 +01:00
FlorianMichael
3f4b586328
Small code cleanup 2023-11-05 18:37:30 +01:00
FlorianMichael
dc21828860
Emulate recipes for 1.8 - 1.11.2 2023-11-05 18:27:35 +01:00
FlorianMichael
f445ecdd9e
Emulate crafting recipe results in <= 1.11.2
Fixed https://github.com/ViaVersion/ViaFabricPlus/issues/60
2023-11-05 16:30:38 +01:00
FlorianMichael
48aef1fd5b
Proper support for all item types in ItemTranslator 2023-11-05 16:04:51 +01:00
FlorianMichael
15913b98e9
Fixed NPE in ItemTranslator 2023-11-05 15:35:44 +01:00
FlorianMichael
6e8bfa6060
Remove unused mixin class 2023-11-05 14:30:24 +01:00
FlorianMichael
d6c8501fa9
Fixed classic inventory showing background 2023-11-04 15:24:16 +01:00
FlorianMichael
07a0001ab4
Delete integration package, inline methods 2023-11-02 08:46:06 +01:00
FlorianMichael
adddcca7ce
Deleted base package, moved some classes 2023-11-02 08:37:22 +01:00
FlorianMichael
d8bc4b451a
Merge remote-tracking branch 'origin/main' 2023-11-02 07:54:12 +01:00
FlorianMichael
8d35d2a724
Updated Via* to 23w44a 2023-11-02 07:53:47 +01:00
brunoman4006
a696556fd9
Added translations to spanish (#281) 2023-10-28 21:20:11 +02:00
FlorianMichael
9791283179
Merge remote-tracking branch 'origin/main' 2023-10-24 03:14:14 +02:00
FlorianMichael
4a512e43bd
Delete Upstreamed fixes from VV
Upstream has merged some of the existing VFP merges into itself, so we can delete them here
2023-10-24 03:14:00 +02:00
Fundi1330
482a277ee2
Update uk_ua.json (#276) 2023-10-21 19:51:57 +02:00
RaphiMC
4d1e1b9a45
Updated Via API usage 2023-10-20 16:57:08 +02:00
RaphiMC
2537ef5b4a
Updated ViaBedrock API usage 2023-10-20 16:45:00 +02:00
FlorianMichael
9fcc8a1c17
Updated Via API usage 2023-10-19 23:15:39 +02:00
FlorianMichael
6aedfbd291
Some cleanup of the last PR. 2023-10-18 18:36:54 +02:00
Adrian F
63f74d503f
Made every subtitle that has a url clickable. (#272)
* Made the subtitles clickable in every screen.

* Applied some changes to the code for the subtitles.

* Merged subtitle setters into one setter.
Renamed useDefaultSubtitle into setupDefaultSubtitle.
ClassiCubeLoginScreen now uses the subtitle system.
A subtitle that doesn't have a press action does now have its own render method.

* BetaCraftScreen subtitle is now the server list url.
2023-10-18 18:18:59 +02:00
Howard ZHY
0468d663c8
Update Chinese Translations (#270) 2023-10-17 19:53:49 +02:00
FlorianMichael
554cfea0cd
Use correct method to create old bounding box.
Fixed https://github.com/ViaVersion/ViaFabricPlus/issues/269
2023-10-17 13:46:05 +02:00
FlorianMichael
6a39e1edae
Merge remote-tracking branch 'origin/main' 2023-10-14 18:49:31 +02:00
FlorianMichael
32b8dc46c4
Bump Classic4J to use maven central release. 2023-10-14 18:49:16 +02:00
Blay
0fa0a2ae97
updated polish translations (#264) 2023-10-08 20:08:55 +02:00
FlorianMichael
fd58471f43
Fixed compile error 2023-10-08 11:28:02 +02:00
FlorianMichael
966936283d
Updated Classic4J to 2.0.0 2023-10-08 00:22:29 +02:00
FlorianMichael
c3b079a055
Updated Via API usage 2023-10-07 23:47:18 +02:00
FlorianMichael
533c0844ef
Fixed compile errors 2023-10-07 23:44:18 +02:00
FlorianMichael
b3bd7c16f7
Fixed ViaBedrock implementation not working 2023-10-07 23:27:26 +02:00
FlorianMichael
0f4a042ed6
Delete unused method. 2023-10-07 20:18:36 +02:00
FlorianMichael
f09d97775e
Updated Via* libraries 2023-10-07 19:57:23 +02:00
FlorianMichael
1b2e1e09f9
Small changes to last PR. 2023-10-02 03:36:04 +02:00
FlorianMichael
eff452e1da
Fixed some magic values in boat emulation. 2023-10-02 01:49:36 +02:00
FlorianMichael
8c7ece3004
Deleted useless code. 2023-10-02 00:19:36 +02:00
FlorianMichael
f88407f0bd
Fixed legacy public key signature tracking
Fixed https://github.com/ViaVersion/ViaFabricPlus/issues/258
Fixed https://github.com/ViaVersion/ViaFabricPlus/issues/255
2023-10-02 00:06:48 +02:00
FlorianMichael
abcb5f9271
Revert 929ab2f588 because it has been fixed in ViaVersion. 2023-10-01 20:28:45 +02:00
FlorianMichael
8e9f5fa141
Implemented packet syncing correctly. 2023-10-01 20:22:56 +02:00
FlorianMichael
b92aa99fd3
Fixed CPE protocol not working 2023-10-01 19:56:19 +02:00
FlorianMichael
3656c3f4e5
Call 1.18.2 interaction manager on main thread 2023-09-28 04:25:56 +02:00
FlorianMichael
10c8ed10c9
Cleaned networking sync base
Fixed https://github.com/ViaVersion/ViaFabricPlus/issues/253
2023-09-28 00:10:24 +02:00
FlorianMichael
44163aa59c
Emulate correct value if entity doesn't have passengers 2023-09-24 16:24:56 +02:00
FlorianMichael
e4cce0fa0c
Merge remote-tracking branch 'origin/main' 2023-09-24 16:22:37 +02:00
FlorianMichael
a4dc619363
Implemented last special cases in EntityHeightOffset emulator 2023-09-24 16:22:13 +02:00
RacoonDog
fa36d64a74
FileSaver close FileReader (#252)
* Update FileSaver.java

* Update FileSaver.java
2023-09-24 15:13:32 +02:00
RacoonDog
c6cb3c0ee2
chat stuff (#251) 2023-09-24 15:11:31 +02:00
FlorianMichael
a0df65c578
Implemented movement change in <= 1.20.1 2023-09-24 04:00:23 +02:00
FlorianMichael
26323aac86
Fixed error in ChatUtil#prefixText 2023-09-24 03:15:41 +02:00
FlorianMichael
4ce73a42e5
Fixed bad packets / packet order in <= 1.20.1 2023-09-24 03:15:19 +02:00
FlorianMichael
f63ff90711
Implemented Camel, Llama and Chicken passenger offsets 2023-09-24 03:03:42 +02:00
FlorianMichael
baf48de0b8
Added setting for 1.7 block hit animation
Added setting for 1.8 boat physic/model
2023-09-24 01:18:08 +02:00
FlorianMichael
670bf9fec2
Implemented old 1.8 boat model back 2023-09-24 00:48:07 +02:00
FlorianMichael
a407568f62
removed server-sided only fix 2023-09-24 00:18:30 +02:00
FlorianMichael
dc769fe3d8
removed unused Code 2023-09-24 00:16:56 +02:00
FlorianMichael
42d8a36990
Implemented Registry for Entity height offsets in <= 1.20.1 2023-09-24 00:15:41 +02:00
FlorianMichael
531ef3eea3
Implemented most passenger offsets in <= 1.20.1 2023-09-23 21:21:03 +02:00
FlorianMichael
d01f2913fb
Started with fixing passenger offsets 2023-09-23 20:23:36 +02:00
RaphiMC
6ac8ec625d
Fixed skin loading in <= 1.20.1 2023-09-23 19:21:55 +02:00
FlorianMichael
c44228bfaa
Updated TODO List 2023-09-23 18:09:35 +02:00
FlorianMichael
c518eccfd5
Revert equipment/creative condition in <= 1.20.1 2023-09-23 17:59:45 +02:00
FlorianMichael
f8f3975600
Implemented sign block interactions in <= 1.20.1 2023-09-23 17:50:44 +02:00
FlorianMichael
43e9442cd0
Changed Player default riding offset in <= 1.20.1 2023-09-23 17:46:57 +02:00
FlorianMichael
71f619013d
Removed new sanity check logging in <= 1.20.1 2023-09-23 17:46:08 +02:00
FlorianMichael
e02ca49137
Fixed PinkPetals bounding box in <= 1.20.1 2023-09-23 17:45:06 +02:00
FlorianMichael
432f1ed75a
Release 2.9.0 2023-09-23 02:05:33 +02:00
FlorianMichael
96fc1b78e0
Fixed syncing task base, improved TripleChestHandler code 2023-09-23 02:03:18 +02:00
FlorianMichael
64adbb1330
Removed debug prints 2023-09-22 20:03:31 +02:00
FlorianMichael
9a26ac9782
Added support for configuration state to ProtocolHack#createFakerUserConnection and implemented proper logging to Translator utils 2023-09-22 20:01:26 +02:00
FlorianMichael
e887116078
Minecraft 1.20.2 2023-09-21 18:51:01 +02:00
FlorianMichael
9f347dfd19
Updated Fabric mod-metadata 2023-09-21 18:39:26 +02:00
FlorianMichael
1e47ab7f51
Fixed clientside sync task system, thanks Fabric-API 2023-09-20 00:41:52 +02:00
FlorianMichael
2f9dc58613
Merge remote-tracking branch 'origin/main' into 1.20.2-recode 2023-09-20 00:14:31 +02:00
FlorianMichael
d3b89bed8d
Fixed hopper culling not being correct when installing MoreCulling mod 2023-09-18 23:58:55 +02:00
FlorianMichael
93bfa6a5ff
Don't reload all block shape caches on early init (mod compat)
Fixed https://github.com/ViaVersion/ViaFabricPlus/issues/245
2023-09-18 22:15:05 +02:00
FlorianMichael
fe5cdf2c8c
Added Mixin Plugin to disable compat mixins
Fixed DashLoader compat
Fixed ArmorSkin compat (Fixes https://github.com/ViaVersion/ViaFabricPlus/issues/221)
Repackage compat mixins into own package
2023-09-18 17:43:28 +02:00
FlorianMichael
8aca0ea935
Fixed Anvil block shape not rendering properly in <= 1.12.2
Fixed https://github.com/ViaVersion/ViaFabricPlus/issues/246
2023-09-18 17:02:21 +02:00
FlorianMichael
7bbc8bf830
Re-implemented Entity changes 2023-09-16 16:30:23 +02:00
FlorianMichael
7078b18f18
use the correct packet size logger instance 2023-09-16 16:09:38 +02:00
FlorianMichael
50e9952e64
Port to 1.20.2-rc1 2023-09-16 16:08:13 +02:00
FlorianMichael
7ea0500b24
Merge remote-tracking branch 'origin/main' 2023-09-16 15:10:39 +02:00
FlorianMichael
a4495413b5
Updated Via* 2023-09-16 15:10:16 +02:00
Blay
7b4cd8f918
updated pl_pl.json and deleted a duplicate key from en_us.json (#241) 2023-09-12 13:19:41 +02:00
FlorianMichael
1caae1226c
Make sure to get the right version 2023-09-10 23:57:07 +02:00
FlorianMichael
f1cbda15e2
Cleaned up classic extension base
Fixed critical SRV resolving issues
2023-09-10 23:49:51 +02:00
FlorianMichael
087ab76960
Thank you git for not pushing my changes 2023-09-10 23:14:18 +02:00
FlorianMichael
8145e11732
Move some classes around 2023-09-10 23:12:43 +02:00
FlorianMichael
b0c450f56e
Merge remote-tracking branch 'origin/main' 2023-09-10 23:07:24 +02:00
FlorianMichael
dfa3838771
Implemented proper handling of protocol translation errors
Renamed all words. translations to misc.
Cleaned up codebase
2023-09-10 23:07:11 +02:00
Lilly
cdeb6bf3dd
Added 1.7.10 Blocking (#238)
* Added 1.7.10 Blocking

* Applied requested changes
2023-09-04 20:02:50 +02:00