ModsFinder

AntiNbtKick

by UnicornMaster

AntiNbtKick is a Fabric optimization mod that stops players from picking up items once their inventory data would exceed the NBT size limit that gets a client kicked.

FabricClient-side onlyAll rights reserved1.20.5 – 1.21.11

What it does

A player whose inventory data grows past the server limit can be disconnected, and the mod works to prevent that. It calculates the byte size of items with the same CODEC-based encoding Minecraft uses, adds 128 bytes of overhead for each slot, and enforces a total cap of 1,777,777 bytes across the main inventory, hotbar, offhand and armor slots.

Each action that would push the inventory over the cap is refused: picking up items from the ground, placing items, dragging stacks, and moving items into containers in survival and creative mode, including creative cloning and painting. Blocked items are dropped silently, and moving items between containers and the inventory is still allowed even when the total is over the limit. The mod is client-side only, so players install it and servers do not need it.

Key features

  1. Accurate size checks

    Item sizes are computed from Minecraft's own CODEC encoding rather than estimated, so the total tracks the real data.

  2. Ground pickup blocking

    Items that would take the inventory past the limit are refused on the ground and quietly left where they are.

  3. Container and drag control

    Single clicks, drag operations and container deposits are checked, and moves that exceed the limit are stopped.

  4. Creative mode protection

    Creative placement, dragging, painting and middle-click cloning of oversized items are all blocked.

Compatibility

Latest build for each game version and loader.

1.21.x12 of 12 versions with builds
1.21.111.1
1.21.101.1
1.21.91.1
1.21.81.1
1.21.71.1
1.21.61.1
1.21.51.0
1.21.41.0
1.21.31.0
1.21.21.0
1.21.11.0
1.211.0
1.20.x2 of 2 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Use cases

Survival servers with large stacks

Server owners whose players carry heavily enchanted or data-rich items can keep those players from being kicked for oversized NBT data.

Who it’s for: Players on Fabric servers that have hit the NBT size limit, and players who want to avoid disconnects caused by large inventories.

How it compares

Full comparison

NBTSize is client-side only, open source under the GNU Lesser General Public License v3.0 only, and published for 1.21.11 – 26.3, so it covers a different version range. Full Inventory GUI is client and server, not open source, under All rights reserved, and built for 1.20.1 – 1.21.11. Maikura Inventory Expansion is client and server, open source under the MIT License, and published only for 1.21.11.

ModLoadersGame versionsEnvironmentUpdated
AntiNbtKickFabric1.20.5 – 1.21.11Client-side only2026-06-11
NBTSizeFabric1.21.11 – 26.3Client-side only2026-09-26
Full Inventory GUIFabric1.20.1 – 1.21.11Client and server2026-02-28
Maikura Inventory ExpansionFabric1.21.11Client and server2026-06-20

Questions

Does AntiNbtKick need to be installed on the server?

No. It is installed on the player's side alone, so servers need nothing.

Which Minecraft versions does AntiNbtKick support?

Files cover 1.20.5 – 1.21.11, with 14 release versions in total. The latest Fabric file is 1.1 for 1.21.11.

In the catalog

AntiNbtKick is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 19,862 mods support Minecraft 1.21.11.

More from UnicornMaster

All projects

Similar mods

What the author says

A Fabric mod that prevents players from getting kicked due to oversized NBT data in their inventory. This mod intelligently monitors and restricts inventory size to keep you safe from server kicks while still allowing you to manage your items effectively. Ground Item Pickup: - Prevents picking up items that would…
UnicornMaster, on the Modrinth page

Official listing

Owner
UnicornMaster
Published
2026-03-18
Updated on Modrinth
2026-06-11
Facts verified
2026-10-15

Tags