Commit Graph

1083 Commits

Author SHA1 Message Date
FlorianMichael
0ca4cae943
Handle bucket interaction change as well, update TODO 2024-07-03 23:59:46 +02:00
FlorianMichael
55b6c47a3c
Handle axolotl interaction change in <= 1.20.5 2024-07-03 23:01:45 +02:00
FlorianMichael
330412618a
Simplify and improve version sanity checks
Adds a check for the ProtocolTranslator#NATIVE_VERSION field
2024-07-01 22:15:16 +02:00
FlorianMichael
a0baba5661
Cleanup CPEAdditions 2024-07-01 22:10:58 +02:00
RaphiMC
d370e8bc41
Add method to get real item count 2024-06-30 19:22:04 +02:00
Tea Master
22c01812a8
Update polish translations (#468) 2024-06-29 12:32:55 +02:00
FlorianMichael
87f0634fcc
Close classic creative screen when pressing inventory key 2024-06-27 20:29:42 +02:00
FlorianMichael
bba145732b
Fix incompatibility with FancyBlockParticles, cleanup code
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/463
2024-06-27 20:19:05 +02:00
FlorianMichael
42f33167a9
Update VV usage 2024-06-27 19:15:16 +02:00
RK_01
3ac3216922
Cleanup clientside enchantment emulation (#464)
* Improve mod compatibility by setting the attributes instead of redirecting their access

* Improve mod compatibility by setting the attributes instead of redirecting their access

* Use early returns in updating code

---------

Co-authored-by: FlorianMichael <florian.michael07@gmail.com>
2024-06-27 15:28:53 +02:00
FlorianMichael
09be940b25
Add setting for legacy tab completions in <= 1.12.2 2024-06-25 18:52:41 +02:00
FlorianMichael
196dff92f8
Fixup injection conflict with polymer mod
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/461
2024-06-24 02:02:43 +02:00
RK_01
395ad80d91
Add 3D Shareware 8-Bit sound (#459) 2024-06-23 14:18:15 +02:00
FlorianMichael
8863e9eaad
Fix remap = false in MixinRegistrySyncManager 2024-06-22 16:22:55 +02:00
FlorianMichael
4f1f044837
Always reference newest version in injection names 2024-06-22 15:05:44 +02:00
RK_01
b966022f74
Readd "air stepping" mechanic in <= 1.20.6 (#458)
Fixes #454
2024-06-22 15:02:22 +02:00
FlorianMichael
ab9fd7edd6
Add setting to ignore Fabric registry sync errors
See https://github.com/ViaVersion/ViaFabric/pull/341
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/455
2024-06-22 00:13:47 +02:00
RK_01
f646b8c965
Handle some enchantments clientside in <= 1.20.5 (#453)
* Handle more enchantments clientside

* Handle aqua affinity clientside
2024-06-20 20:05:36 +02:00
RaphiMC
ce94e07c27
Make mixin methods private 2024-06-20 01:29:09 +02:00
FlorianMichael
9ff009237d
Re-add old WON_GAME state handling in <= 1.20.5 2024-06-20 01:29:08 +02:00
FlorianMichael
0ed772f477
Don't apply base values from attributes in <= 1.20.5 2024-06-20 01:29:03 +02:00
Blay
60ae10c8e5
Update polish translations (#452) 2024-06-19 19:47:27 +02:00
FlorianMichael
8a69e037ab
Fixup MixinMouseOptionsScreen, update todo list 2024-06-18 15:00:05 +02:00
RaphiMC
3a16c4752f
Fix fabric.mod.json supported version range 2024-06-18 11:48:21 +02:00
bluegreensea
0027e681ee
Update lithium compat 2024-06-17 17:43:06 +02:00
bluegreensea
44b42fe176
Update zh_tw.json 2024-06-17 17:42:28 +02:00
FlorianMichael
085319fbbe
[ci skip] Most 1.21 porting TODOs 2024-06-17 16:49:12 +02:00
RaphiMC
3d48023e20
Initial 1.21 update (#445) 2024-06-16 20:25:08 +02:00
FlorianMichael
36362bd1bc
Update Via* libraries 2024-06-16 20:19:20 +02:00
FlorianMichael
5fcf377366
Add copy link button to bedrock login screen
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/444
2024-06-16 16:35:44 +02:00
FlorianMichael
18fd102a68
Update VV API usage 2024-06-15 21:02:44 +02:00
FlorianMichael
0ea07d0e63
Fixup horrible formatting 2024-06-15 16:39:54 +02:00
FlorianMichael
46474fcd22
Remove via subcommands which are not usable on the clientside 2024-06-15 16:10:00 +02:00
RacoonDog
1f8fb02b53
Change particle density in 1.20.3->1.20.5 (#442)
* tweak particle density

* implement changes

* newlined
2024-06-14 18:52:34 +02:00
FlorianMichael
456a5a94b9
Fixup sword blocking in <= 1.8
Closes https://github.com/ViaVersion/ViaFabricPlus/pull/438

Co-authored-by: Error <45919406+OfficialError@users.noreply.github.com>
2024-06-12 04:30:23 +02:00
FlorianMichael
aa27837c56
Fixup jsonwebtoken compat injections
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/437
2024-06-11 22:28:08 +02:00
FlorianMichael
8c34100ee1
Hide Footstep particle from Fabric registry sync
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/430
2024-06-11 20:29:22 +02:00
FlorianMichael
ba925d0a65
Fix wrong farmland version check
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/436
2024-06-11 20:09:25 +02:00
FlorianMichael
6eccfc8849
Fixup classic weather extension 2024-06-11 19:52:12 +02:00
RaphiMC
1a6a683ebe
Fix transitive JiJ issues 2024-06-10 17:29:08 +02:00
FlorianMichael
3984f6a12d
Replace ClientsideFixes#ATTRIBUTE_FIX_KEY with ItemRewriter API 2024-06-10 10:59:42 +02:00
FlorianMichael
4bb0057ced
Update VV usage 2024-06-10 10:57:55 +02:00
RaphiMC
6fd7e3730e
Add 1.20.3->1.20.5 openWrittenBook fix 2024-06-09 16:53:08 +02:00
FlorianMichael
a199f553af
Cleanup mixins 2024-06-09 16:39:26 +02:00
RaphiMC
088290e352
Clean up TODO list 2024-06-09 16:35:45 +02:00
FlorianMichael
9a9b4a8d88
Bump Fabric API 2024-06-09 12:33:08 +02:00
RaphiMC
8525292b09
Update VV API usage 2024-06-07 15:58:07 +02:00
FlorianMichael
a1f3552944
Disable VV chunk-border-fix option
It doesn't work on some servers and should be fixed properly on game level at some point
2024-06-05 00:43:46 +02:00
FlorianMichael
b230a9e2f7
Default disable VV update checker 2024-06-05 00:29:24 +02:00
FlorianMichael
3366b6766e
Gradle 8.8 2024-06-03 20:30:48 +02:00
FlorianMichael
f538c56b0e
Make mixin abstract, update TODO 2024-06-03 03:20:47 +02:00
FlorianMichael
25ce9984b6
Add slime/magma_cube dimension change in 1.20.3->.5 2024-05-31 15:16:49 +02:00
FlorianMichael
3ef13d8426
Add viaversion and viabackwards as provides into fabric.mod.json
Allows mods to commonly check for either viaversion or viabackwards to be loaded
2024-05-30 15:37:25 +02:00
FlorianMichael
22678ba99b
Set handle-invalid-item-count viaversion setting to default true
I don't see any issue with the current implementation, and we will see if I'm right once this release rolls out if it turns out to be wrong later, we can revert this decision easily.
2024-05-30 02:36:47 +02:00
Kichura
5eb9401852
Ensure we use JDK 21, not 17. (#423) 2024-05-28 22:27:43 +02:00
FlorianMichael
49311d479f
Fix footstep particles causes client disconnect
Also carry custom particle id through modern particle mappings
2024-05-28 22:03:19 +02:00
RaphiMC
d0426c82e3
Add new methods to ItemTranslator 2024-05-27 16:27:55 +02:00
RaphiMC
43d5065e1e
Replace Redirect with ModifyExpressionValue
Fixes mod compatibility issue
2024-05-27 14:45:36 +02:00
FlorianMichael
17f57f0c41
Update Via* libraries 2024-05-26 17:40:21 +02:00
FlorianMichael
c1a34f3d7f
Make ClassLoaderPriorityUtil print warnings
Makes it more obvious that jars are overridden because people tend to forget about it leading to random issues later
2024-05-26 16:21:58 +02:00
FlorianMichael
07f25f8e26
Change some injection names 2024-05-26 16:04:43 +02:00
FlorianMichael
ef469dcd26
[ci skip] Add 1.20.6 TODO 2024-05-26 15:54:56 +02:00
FlorianMichael
8f9ab00b94
Handle more 1.20.3->.5 changes 2024-05-26 15:52:34 +02:00
Felix14_v2
0cf982fec3
Update russian translations (#422) 2024-05-26 13:09:32 +02:00
FlorianMichael
06c6cd024a
Mark internals and make initializing private where possible 2024-05-26 01:28:53 +02:00
FlorianMichael
203585875f
Handle auto read changes in 1.20.3->.5 2024-05-26 01:16:03 +02:00
FlorianMichael
17ecf0c736
Add ProtocolTranslator#getTargetVersion with channel argument 2024-05-25 22:22:44 +02:00
FlorianMichael
73d21aaf2c
Rename storage classes and move init into ViaFabricPlusProtocol 2024-05-25 22:15:44 +02:00
FlorianMichael
a6327fb588
Fix method sorting 2024-05-25 21:48:32 +02:00
FlorianMichael
e01522c2fa
Move game options fix into correct package 2024-05-25 21:47:03 +02:00
FlorianMichael
473fe49b69
Update repository artifact in DEVELOPER_API.md 2024-05-25 21:18:32 +02:00
FlorianMichael
249d46470b
Update VV API usage 2024-05-23 15:02:41 +02:00
FlorianMichael
6b115b712f
Fix invalid javadoc for ProtocolTranslator#getPlayNetworkUserConnection 2024-05-20 17:52:18 +02:00
FlorianMichael
2e0018b7bc
Update VV, validate namespace correctly in registry 2024-05-20 00:26:56 +02:00
FlorianMichael
458b4daf15
Rewrite 1.14.4 enchantment registry properly
Adds a 1.14 enchantment name -> 1.20.5 enchantment element registry to validate enchantments and get the correct one even when names change.
2024-05-20 00:17:05 +02:00
RaphiMC
90dfd7d4a2
Update ViaBedrock API usage 2024-05-19 16:50:05 +02:00
FlorianMichael
e4f91d4808
Override packet handler 2024-05-19 14:37:27 +02:00
FlorianMichael
ad75e36213
Rename tracker package and ViaFabricPlusProtocol protocol 2024-05-19 02:09:19 +02:00
RaphiMC
68c6310c9d
Fix code style 2024-05-19 00:09:24 +02:00
FlorianMichael
f471068696
Add networking fixes to 1.20.3->.5 2024-05-18 19:02:12 +02:00
FlorianMichael
d69a3a9bd2
Update TODO list
remove entries which are either now resolved or were wrong in the first place
2024-05-18 18:18:44 +02:00
FlorianMichael
cd3caa9156
Load settings earlier again, post load target version
Fixes GeneralSettings#emulateInventoryActionsInAlphaVersions not working because config loading was AFTER loading Via providers, target version loading has to be late, so it catches up versions added by Via* addons and VFP (auto protocol)
2024-05-18 14:30:02 +02:00
RaphiMC
f5315892fd
Remove offset when checking for sneaking collision
Fixes #401
2024-05-18 11:02:24 +02:00
RaphiMC
30e97c41f4
Code cleanup 2024-05-18 00:00:27 +02:00
FlorianMichael
6c372c2127
Update ViaLegacy API usage 2024-05-17 23:54:44 +02:00
FlorianMichael
d9458d1fb7
Move out debug mixin into integration, cleanup mixins json 2024-05-17 23:06:17 +02:00
FlorianMichael
1f5ac05fcf
Add flow control handler for Via
Adds missing flow control handler to ViaVersion's pipeline to fix several issues related to the configuration state
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/414
2024-05-17 22:56:27 +02:00
FlorianMichael
56ee795de5
Only show world seed in debug hud when existent in current version 2024-05-17 21:44:09 +02:00
FlorianMichael
38580e328c
Port to upstream changes 2024-05-17 21:39:54 +02:00
Blay
14e1fcbeca
Update polish translations (#417) 2024-05-16 20:11:36 +02:00
FlorianMichael
d2b834a058
Add debug setting to print networking errors to log files 2024-05-14 19:43:53 +02:00
FlorianMichael
41a2139a98
Add german translation for new setting 2024-05-09 20:02:48 +02:00
Pablo Herrera
60a26d2bb1
Add 1.7->1.8 tablist behaviour and layout (#411)
* Implement legacy tablist functionality

* Address review comments (squashed)

* Minor changes following code review
2024-05-09 19:57:02 +02:00
Joseph Burton
9c78a71d40
Use ModifyExpressionValue in MixinStringHelper (#406) 2024-05-05 12:19:10 +02:00
FlorianMichael
223e1591f9 Update ViaBedrock (1.20.80)
Currently not working due to internal pipeline changes 1.20.5 did, will fix that at another point.
2024-05-04 22:22:15 +02:00
FlorianMichael
f84865645e Use HandlerNames class for MC pipeline constants 2024-05-01 02:11:35 +02:00
FlorianMichael
f7eef8fd4b 1.20.6 2024-04-29 17:40:17 +02:00
Blay
9dfcd7db1a
Update polish translations (#402) 2024-04-29 12:36:57 +02:00
RaphiMC
89515390c2
Code cleanup 2024-04-28 14:54:08 +02:00
FlorianMichael
4ef493a68b Update ItemRegistryDiff 2024-04-28 14:52:31 +02:00
RaphiMC
a6fd03ded2
Code cleanup 2024-04-28 14:44:50 +02:00
FlorianMichael
f45895c547 Move PostViaVersionLoadCallback into ViaFabricPlusVLLoader 2024-04-28 14:35:03 +02:00
FlorianMichael
38a900c78d Unify tracking tag names 2024-04-28 13:28:08 +02:00
FlorianMichael
8b26d75717 Port pre 1.11 negative item count fix 2024-04-28 12:39:16 +02:00
FlorianMichael
ff942ccf09 Cleanup code 2024-04-28 12:36:15 +02:00
FlorianMichael
642b4de7a0 Port attribute modifier tooltip fix 2024-04-27 23:19:59 +02:00
FlorianMichael
624b6dcbca Port custom payload fixes on protocol level 2024-04-27 23:19:42 +02:00
FlorianMichael
712d8bbba7 Restructure item fix loading
Also fixes the loading behaviour of PostViaVersionLoadCallback to actually getting fired after Via is fully loaded. Adding VB back since VAF requires it (for now).
2024-04-27 18:42:08 +02:00
FlorianMichael
7fc46c4854 Port ingame hud changes 2024-04-27 00:48:37 +02:00
FlorianMichael
5ef8d1bae4 Fix possible NPE in 32k enchantment fix 2024-04-27 00:43:08 +02:00
FlorianMichael
6e21d8d946 Use VFPListEntry abstraction for protocol screens 2024-04-27 00:04:47 +02:00
FlorianMichael
6fa75395d5 Add VFPList abstraction layer to globally remove selection highlighting 2024-04-26 23:57:33 +02:00
FlorianMichael
964d3fbd48 Don't rely on deprecated API method 2024-04-26 23:45:55 +02:00
FlorianMichael
a2f159cb58 Removed outdated translation key 2024-04-26 23:41:32 +02:00
FlorianMichael
710d1bd251 Port 32k enchantments fix as well 2024-04-26 23:32:12 +02:00
FlorianMichael
f45b2b0047 Remove ViaBackwards dependency
Not needed anymore since snapshots won't be supported from now on due to VVs new release cycle.
2024-04-26 21:13:31 +02:00
FlorianMichael
ae2c6da14c Merge branch 'refs/heads/main' into update/1.20.5
# Conflicts:
#	gradle.properties
2024-04-26 20:47:43 +02:00
FlorianMichael
9a52ae4c4a Update Via* to support 1.20.5 2024-04-26 16:50:42 +02:00
FlorianMichael
31a7c84a05 Add setting for <=1.11.1 backwards walking animation 2024-04-26 16:26:08 +02:00
FlorianMichael
05dfdc30d3 Delete VV version rename patch
Now merged into VV which will be public by friday.
2024-04-25 20:44:02 +02:00
FlorianMichael
971ad3241a Merge branch 'refs/heads/main' into update/1.20.5
# Conflicts:
#	.github/workflows/build.yml
#	gradle.properties
#	src/main/resources/assets/viafabricplus/lang/zh_tw.json
2024-04-25 20:43:00 +02:00
RaphiMC
185e24e5c8
Workaround for data loading race condition 2024-04-24 23:04:00 +02:00
RaphiMC
bc8682b010
Don't clear entity eye height and attachment points 2024-04-24 16:36:04 +02:00
RaphiMC
e7f9188fbf
Remove TODO 2024-04-24 15:10:09 +02:00
RaphiMC
1422464052
Fix version comparison 2024-04-24 14:48:09 +02:00
RaphiMC
862d040e48
Remove TODO 2024-04-23 22:20:49 +02:00
RaphiMC
37b8c8e52e
Disable strict error handling 2024-04-23 22:02:12 +02:00
RaphiMC
39e8866548
Readd item attribute fixes on protocol level 2024-04-23 20:25:26 +02:00
RaphiMC
6dd2cd6894
Rename item-tool-components.json 2024-04-23 20:25:10 +02:00
FlorianMichael
ac6d5b8ee6
Rename ViaFabricPlus#init 2024-04-23 20:22:07 +02:00
bluegreensea
4235543dcb
Postpone settings load 2024-04-23 23:28:38 +08:00
bluegreensea
51fd8dad1d
Update zh_tw.json 2024-04-23 23:26:30 +08:00
RaphiMC
57564c8488
Move 1.19.4 material data to json file 2024-04-22 22:17:03 +02:00
RaphiMC
b41474f257
Readd item data fixes on protocol level 2024-04-22 20:15:33 +02:00
RaphiMC
b3b66c0526
Add interaction range and step height fixes 2024-04-20 19:31:04 +02:00
RaphiMC
796ae671b8
Readd 1.7 step height change 2024-04-19 18:30:03 +02:00
RaphiMC
f6282d34d9
Fix villager trading emulation 2024-04-19 16:47:01 +02:00
RaphiMC
c1a90bd329
Readd clientside fixes packet handling 2024-04-19 16:34:31 +02:00
FlorianMichael
036f3e083b
Update fabric loader and api 2024-04-19 04:40:27 +02:00
FlorianMichael
77c3a004b4
Change backwards walking animation in <= 1.12 2024-04-19 04:29:25 +02:00
RaphiMC
8c64fa74a4
Initial 1.20.5 port 2024-04-17 23:13:28 +02:00
FlorianMichael
8f6ad8694d
Fix NPE in classic commands 2024-04-12 00:16:41 +02:00
RaphiMC
1f7c0b6c15
Made Via* config patching less hacky 2024-04-10 21:27:33 +02:00
RaphiMC
7b8bf9edc6
Fixed clientside crafting result prediction 2024-04-09 16:23:39 +02:00
FlorianMichael
a8e5b243d0
Use WrapWithCondition v2 (hopefully) 2024-04-08 21:07:59 +02:00
FlorianMichael
ac9ac18b13
Fix downloading terrain screen behaviour in 1.20.2->1.20.3
Closes https://github.com/ViaVersion/ViaFabricPlus/issues/387
2024-04-08 21:01:31 +02:00
FlorianMichael
a68a280aee
Swap version arguments of DebugSettings#sendIdlePacket 2024-04-04 17:08:57 +02:00
RaphiMC
68839a8d22
Merge remote-tracking branch 'origin/main' 2024-04-04 00:14:22 +02:00
RaphiMC
6b8f979b8f
Handle errors properly in <=1.20 custom payload handling 2024-04-04 00:14:06 +02:00
FlorianMichael
f8704eaab7
Use version name for protocol auto detection 2024-04-03 23:43:52 +02:00