public boolean tryConsume(Consumer<Slot> action) {
        Objects.requireNonNull(action, "action");
        if (this.remainingSlots.isEmpty()) {
            return false;
        }

        int slot = this.remainingSlots.remove(0);
        action.accept(this.gui.getSlot(slot));
        return true;
    }
Resets the slot order used by this populator to the state it was in upon construction
helper/src/main/java/me/lucko/helper/menu/scheme/MenuPopulator.java