package games.dmg.spigotinventoryhelper; /** Positive VarInt frame IDs outside the native 15-bit range; never wrap or recycle. */ final class AnvilFrameVersions { private long next = 32768; private boolean exhausted; int next() { if (next > Integer.MAX_VALUE) { exhausted = true; return -1; } return (int) next++; } boolean exhausted() { return exhausted; } }