CC: Tweaked

CC: Tweaked

65M Downloads

No way to get potions effects using peripheral.getItemDetail() ?

Da-shou opened this issue ยท 0 comments

commented

Hello,

I've recently been dabbling in this mod for fun and I absolutely love it. I've been making an inventory management program for a few days and unfortunately, I have not found a way to get the specific potions effects using the getItemDetail fuction from my storages. (Even though enchantments are there for enchanted items)

I believe this may have been caused by how potions effects storage has changed in one of the latest updates of 1.21.
Is there a way to get these potions effects without making an NBT lookup table for each vanilla potion ? And if not, I'd really love to have potions effects available with getItemDetail.

The other way I thought of doing this would be to ask for the item details through neoforge and get the effects from there, but that'd require a command computer and lock my project to neoforge, which i don't want.

Thanks a lot !