Darkhax-Minecraft / ItemStages

Allows items to be put into stages.
GNU Lesser General Public License v2.1
7 stars 18 forks source link

Lock items using NBT wildcard. #55

Closed friendlyhj closed 4 years ago

friendlyhj commented 4 years ago

Qxtm6A.jpg

To make effect clearer, I used Hardcore Item Stages.

friendlyhj commented 4 years ago

Maybe This can work.

mods.ItemStages.addItemStage("alpha", <minecraft:iron_ingot>);
mods.ItemStages.addItemStage("alpha", <minecraft:iron_ingot>.withTag({RepairCost : 0}));

But as #50 said, we should be able to lock item with any NBT, instead of only matching the empty NBT.

dong031001 commented 4 years ago

Seconded.

Darkhax commented 4 years ago

Closing as this is a duplicate of #50