Waila Stages
This mod is an extension for GameStage API that allows restricting access to the Waila HUD interface based on player stages. You can also configure the display of specific tooltips depending on meeting certain conditions.
Main Features
With Waila Stages, you can flexibly control what information is shown to players. Stages represent abstract achievements that players can unlock through various methods - the specific mechanics for obtaining stages are determined by modpack creators or server administrators.
Setting Restrictions
Configuring restrictions requires using CraftTweaker. Two script methods are available:
mods.WailaStages.addWailaStage(String stage);- sets the requirement for a specific stage to view the entire Waila HUD interfacemods.WailaProgression.addRequirement(String stage, String prefix);- allows restricting the display of specific tooltip lines that start with the specified prefix
For example, if a tooltip line begins with the word "Power", specifying "Power" as the prefix will restrict the display of this information to the corresponding stage.