public void saveTo(CompoundTag parent, String key) {
        parent.put(key, save(new CompoundTag()));
    }
Simple extension of default vanilla Inventory class that allows for proper saving and loading
to a CompoundNBT. Default implementation does not load items back into their original slots.
<p>
Use {@link BaseContainer#save} and {@link BaseContainer#load} instead of Inventory#createTag and Inventory#fromTag
core/src/main/java/mrtjp/projectred/core/inventory/BaseContainer.java