-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request]: Add hooks to API enabling addons to selectively toggle visibility of overlay elements #640
Comments
Sorry, this is not something I will add to journeymap itself. Also note, journeymap for mc 1.18.x is no longer in development. Only 1.20.1+ versions. |
Yeah, I was wondering if this was out of scope and I guess it is. Understandable. Though the API hooks would probably be nice; giving the community the ability to create addons for JourneyMap controlling when certain elements of the overlay are shown/hidden, I mean. Apologies about the version; it's been a while. It makes sense that 1.18 would be abandoned by lots of mods by now. |
Someone just sent me some KubeJS scripts for disabling the minimap. This could also be used for what you want, KubeJS is a mod that you can use to modify other mods by using a javascript.
startup_script.js
If you want to attempt to modify this for your needs, come into our discord and I help you with the hooks in JM that are needed to disable/enable JM things. |
Had no clue this was possible. I probably wont do this anytime soon, but when I decide to, I'll be sure to pass by. Thanks! Can I close this issue? |
No, let's leave it open to remind to add hooks for things in our api. |
Describe the new feature.
It would be nice to have the option to only show certain elements of the overall JourneyMap overlay IFF a player has certain items (might be from external mods, ideally specified by modid:itemid through configs) in their inventory (preferably should also check curio slots, which would also be a request to support curios in this feature).
For example, I hope to be able to do the following:
hasCompass
hasClock
hasNaturesCompass
Images
No response
The text was updated successfully, but these errors were encountered: