Add unsupported config option and internal API to simplify remote item matching

This is important for 1.21.5 servers/clients and non-Vanilla clients that may not be able to match 1.21.5 data hashes anymore
This commit is contained in:
Nassim Jahnke
2025-03-12 12:50:40 +01:00
parent c37b890c8b
commit 310f52293b
5 changed files with 70 additions and 2 deletions

View File

@@ -186,6 +186,8 @@ public class GlobalConfiguration extends ConfigurationPart {
public CompressionFormat compressionFormat = CompressionFormat.ZLIB;
@Comment("This setting controls if equipment should be updated when handling certain player actions.")
public boolean updateEquipmentOnPlayerActions = true;
@Comment("Only checks an item's amount and type instead of its full data during inventory desync checks.")
public boolean simplifyRemoteItemMatching = false;
public enum CompressionFormat {
GZIP,