CompatSkills Mod — FAQ
Requirement Syntax
The core of CompatSkills is the Requirement System. Most functions in the mod use a "VarArg" (Variable Argument) approach, meaning you can pass one or many requirement strings to a single function. These requirements are checked against the player's current stats.
Common Requirement Formats
| Requirement Type | Syntax Example | Description |
|---|---|---|
| Skill Level | "reskillable:mining|10" |
Requires Level 10 in the Mining skill. |
| Advancement | "adv|minecraft:story/mine_diamond" |
Requires a specific vanilla or modded advancement. |
| Game Stage | "stage|industrial_age" |
Requires the player to have a specific Game Stage. |
| Trait | "trait|reskillable:battle_spirit" |
Requires a specific trait to be unlocked. |
| Logic (NOT) | "not|reskillable:magic|5" |
True only if the player's Magic level is below 5. |
| Dimension | "dim|-1" |
Requires the player to be in (or not in) a specific dimension. |
When multiple requirements are provided in a single command, they are typically treated as an AND condition, meaning the player must meet every single one to gain access.