Occultism

Occultism

19M Downloads

Request: Another way to trigger otherworld vision with an addon

RCXcrafter opened this issue ยท 4 comments

commented

Is your feature request related to a problem? Please describe.
I'm working on a tinkers construct compatibility addon and I would like to add an otherworld goggles modifier for helmets. Currently otherworld vision only works with items that extend OtherworldGogglesItem which isn't an option for me.
https://github.com/klikli-dev/occultism/blob/version/1.18/src/main/java/com/github/klikli_dev/occultism/util/CuriosUtil.java#L41

Describe the solution you'd like
I would like to request some sort of way for otherworld vision to check for something that I can add/remove through a tinkers construct modifier. A boolean NBT tag that says whether the item can give the player otherworld vision would be a simple and effective way of doing this I think. An item capability would also work but personally I think that's overkill for something that can only be on or off.

commented

Ah yes that was a rather short-sighted design decision on my end.
NBT can be done :)

commented

@RCXcrafter please let me know if it works as intended!

commented

Added NBT and Tag support, see

occultism:otherworld_goggles=true will make an item be seen as goggles, the same applies to the occultism:otherworld_goggles tag.

commented

Thanks, I just tried it out and it works as intended.