Feat: Allow for multiple items to be used as portalCreationItem
justinrusso opened this issue ยท 8 comments
This is a feature request to add support for multiple items to be added for the portalCreationItem.
The use case would be for situations where once the player is in the twilight, they have an alternative item they can use if needed to get back.
Current:
S:portalCreationItem=astralsorcery:itemcraftingcomponent
Suggested:
S:portalCreationItem <
astralsorcery:itemcraftingcomponent
minecraft:log
>
Reference Issue: DarkPacks/SevTech-Ages#2626
FYI, I literally just wrote something that does what you need for Weirding Gadget
https://github.com/AtomicBlom/WeirdingGadget/blob/devel-1.12/src/main/java/com/github/atomicblom/weirdinggadget/WeirdingGadgetFuel.java
Just need to strip out the time components of the regex and it'll work a treat..
Would it be possible to allow to set the side the item could only work on? As an optional argument to add to the end of the config input.
Use case for example in SevTech: Ages would be to enforce the route for the item in the overworld and as a secondary item for people who get stuck in the TF (who did not bring spare items) that item we set for secondary would only work on the TF. Thus allowing the pack to retain its enforcement tree. And still giving a secondary access back out which would only work in the TF if the player gets it's blown up or whichever.
Believe they were referring to this comment: #535 (comment)