Skip to content

Commit

Permalink
Bump client settings even more
Browse files Browse the repository at this point in the history
  • Loading branch information
Alemiz112 committed Apr 25, 2024
1 parent ebe7489 commit c73682a
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ public class EncodingSettings {
* be able to receive larger packets and NBT data.
*/
public static final EncodingSettings CLIENT = EncodingSettings.builder()
.maxListSize(4096)
.maxByteArraySize(1024 * 1024 * 2) // 2MB
.maxNetworkNBTSize(1024 * 1024 * 3) // 3MB
.maxItemNBTSize(1024 * 512) // 500KB
.maxStringLength(1024 * 64) // 64KB
.maxListSize(10240)
.maxByteArraySize(1024 * 1024 * 20) // 20MB
.maxNetworkNBTSize(1024 * 1024 * 10) // 10MB
.maxItemNBTSize(1024 * 1024 * 5) // 5MB
.maxStringLength(1024 * 1024) // 1MB
.build();

/**
Expand Down

0 comments on commit c73682a

Please sign in to comment.