@Override
    public void set(int value) {
        setter.accept(value);
    }
Data slot that can be initialized with lambdas for cleaner code
core/src/main/java/mrtjp/projectred/core/inventory/container/SimpleDataSlot.java