private boolean maxAmount() {
        for (WidgetChild widgetChild : Widgets.get(512, 0).getChildren()) {
            if (widgetChild.getChildId() == item.getItemId())
                return widgetChild.getChildStackSize() >= amount;
        }
        return false;
    }