90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Waila Stages
This mod is an addon for the GameStage API. This allows for access to the Waila HUD to be gated behind a stage. You can gate specific tool tip entries behind a stage as well. To learn more about stages, you should check out the GameStage API mod's description. To give a brief rundown, stages are an abstract concept, and players can unlock them. The way players can go about unlocking them is up to the modpack/server.
This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!
To add restrictions, you have to use CraftTweaker. There are two script methods available.
- mods.WailaStages.addWailaStage(String stage); - Replace the stage string with the name of the stage. This will then make it so players require that stage to view the Waila HUD.
- mods.WailaProgression.addRequirement(String stage, String prefix); - Replace the stage string with the name of the stage. Then replace the prefix with with text of the info you want to restrict. If the tooltip line starts with the word Power, adding Power as the prefix will restrict that line to the stage.
Links
Details
Licensed LGPL-2.1-only
Published 2 years ago
Updated 2 years ago