File Details
Triumph 1.12-3.3.0
- B
- Oct 8, 2018
- 287.88 KB
- 9.9K
- 1.12.2+2
File Name
Triumph-1.12.2-3.3.0.jar
Supported Versions
- 1.12.2
- 1.12.1
- 1.12
- Added new visibility options:
- alwaysHidden() - Forces the advancement to be hidden.
- visibleIf(advancement/gamestage) - Forces the advancement to be visible if the advancement/gamestage is had.
- hiddenIf(advancement/gamestage) - Forces the advancement to be hidden if the advancement/gamestage is had.
- visibleUnless(advancement/gamestage) - Forces the advancement to be visible if the advancement/gamestage is not had.
- hiddenUnless(advancement/gamestage) - Forces the advancement to be hidden if the advancement/gamestage is not had.
- All visibility options other than setHidden(true) and including alwaysVisible() are tested in order of appearance in the script, with the first one with acceptable conditions having its visibility option enforced. This means you can do things like the script below to make your advancement always visible if the player has a certain gamestage, and always hidden otherwise.
visibleIf("your_gamestage") - Forces the advancement visible if the player has "your_gamestage", ignoring later visibility checks in the script. If the player doesn't have the gamestage, it does nothing.
alwaysHidden() - Forces the advancement hidden.

