GithubHelp home page GithubHelp logo

jriwanek-forks / wailastages Goto Github PK

View Code? Open in Web Editor NEW

This project forked from darkhax-minecraft/wailastages

0.0 1.0 0.0 154 KB

A mod that adds some progression to Waila.

License: GNU Lesser General Public License v2.1

Java 100.00%

wailastages's Introduction

Waila Stages

Allows access to Waila HUD and specific tool tip info to be restricted based on stages,

Nodecraft
This project is sponsored by Nodecraft. Use code Darkhax for 30% off your first month of service!

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.

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. If multiple stages are added, players will require at least one.
  • mods.WailaStages.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.

wailastages's People

Contributors

darkhax avatar jriwanek avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.