Перенос инвентаря на 1.12.2

Версия Minecraft
1.12.2
Пробую, пытаюсь перенести инвентарь с 1.7.10 на 1.12.2
Столкнулся с проблемой, что в ItemStack отсутствует загрузка из NBT
readFromNBT:
    public void readFromNBT(final NBTTagCompound compound) {
        final NBTTagList items = compound.getTagList("safe", (int)compound.getId());
        for (int i = 0; i < items.tagCount(); ++i) {
            final NBTTagCompound item = items.getCompoundTagAt(i);
            final byte slot = item.getByte("SaveUI");

            if (slot >= 0 && slot < this.getSizeInventory()) {
                this.setInventorySlotContents(slot, ItemStack.loadItemStackFromNBT(item));
            }
        }
    }

Что придумали на 1.12.2? Какие-нибудь альтернативы или я слепой крот?
 
Назад
Сверху