Commit Graph

722 Commits

Author SHA1 Message Date
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
e8015a864c
Updated MinecraftAuth 2024-01-19 21:18:21 +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
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
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
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
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
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
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
770e0ff29c
Cleaned connecting code by removing useless mixins/fields and fixed a few issues 2023-11-28 17:25:59 +01:00
FlorianMichael
9f80ee41e1
updated docs/ folder 2023-11-28 15:07:51 +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
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
FlorianMichael
c94421bfd0
Update documentation folder 2023-11-27 22:02:41 +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
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
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