package net.darkhax.bookshelf.mixin.item;

import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.world.item.Item;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Mutable;
import org.spongepowered.asm.mixin.gen.Accessor;

@Mixin(Item.class)
public interface AccessorItem {

    @Mutable
    @Accessor("category")
    void bookshelf$setCreativeTab(CreativeModeTab tab);
}

@@ -405,11 +405,116 @@
 ab tab);
+%0A%0A    @Mutable%0A    @Accessor(%22craftingRemainingItem%22)%0A    void bookshelf$setCraftingRemainder(Item item);
 %0A%7D%0A

Allow mods to change the remainder crafting item after the item has been initialized.