Item Stages

Item Stages

20M Downloads

Non-NBT version of item being staged as well as the NBT specified item

justinrusso opened this issue ยท 3 comments

commented

I'm trying to stage the normal bucket in stage one, and 2 buckets filled with something in stage 3. The end result is that the empty bucket is staged in 3, as is the NBT ones (with fluids)

It does show in JEI when stage one is unlocked, but the item is still restricted, and the tooltip states that stage three is required. Unlocking stage three then un-restricts it. (which is common interaction when an item has multiple stages assigned from my experience)

Script:

mods.ItemStages.addItemStage("one", <ceramics:clay_bucket>);
mods.ItemStages.addItemStage("three", <ceramics:clay_bucket>.withTag({fluids: {FluidName: "redstone", Amount: 1000}}));
mods.ItemStages.addItemStage("three", <ceramics:clay_bucket>.withTag({fluids: {FluidName: "redstone_alloy", Amount: 1000}}));
commented

Thank you!

Its fixed the issue for the most part, but now the one with no nbt tag does not get staged at all.

I am using version 1.0.16

commented

Are you staging the one with no tags specifically?

This is the test script lines I added for this.

// Enchantment Book test
mods.ItemStages.addItemStage("one", <minecraft:enchanted_book>);
mods.ItemStages.addItemStage("six", <minecraft:enchanted_book>.withTag({StoredEnchantments: [{lvl: 5 as short, id: 16 as short}]}));
mods.ItemStages.addItemStage("seven", <minecraft:enchanted_book>.withTag({StoredEnchantments: [{lvl: 3 as short, id: 48 as short}]}));
mods.ItemStages.addItemStage("eight", <minecraft:enchanted_book>.withTag({StoredEnchantments: [{lvl: 1 as short, id: 35 as short}]}));
commented

My fault - script was erroring. All good now! ๐Ÿ‘