Documentation Index
Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
Use this file to discover all available pages before exploring further.
Skill Conditions Reference
Conditions filter whether a skill should execute based on the state of the caster, target, or environment.
👤 Entity Conditions
| Condition | Description |
|---|
health{amount=X} | Checks if HP is above/below/equal to X. |
crouching | Checks if a player/mob is sneaking. |
blocking | Checks if a player is blocking with a shield. |
charging | Checks if a mob (Creeper/Wither) is charging up. |
onscreen | Checks if the target is within the caster’s FOV. |
lastdamagecause{c=X} | Checks the specific cause of the last damage taken (e.g. LAVA). |
🧱 Block & Spatial Conditions
| Condition | Description |
|---|
blockinradius{b=X;r=Y} | Checks if block X exists within radius Y. |
cuboid{pos1=X;pos2=Y} | Checks if target is within a coordinate box. |
holding{item=X} | Checks if target is holding item X. |
wearing{item=X} | Checks armor slots for item X. |
👥 Player Conditions
| Condition | Description |
|---|
haspermission{p=X} | Checks for a specific Bukkit permission. |
gamemode{m=X} | Checks for SURVIVAL, CREATIVE, etc. |
isplayer | True if the target is a human player. |
🌤️ Environmental Conditions
| Condition | Description |
|---|
sunny / rainy | Checks current weather state. |
insunlight | Checks if target is exposed to direct sky light. |
biome{b=X} | Checks the current biome at location. |
lineofsightfromorigin | Checks LoS from the caster’s exact origin point. |
🚀 Innovation Conditions (Exclusive)
| Condition | Description |
|---|
alliesalive{r=X} | Checks if enough faction allies are nearby. |
threatdelta{v=X} | Checks if threat is increasing/decreasing rapidly. |
playerhasdebuff | Checks for active negative potion effects. |
Conditions can be used inline:
- skill{s=BigBoom} @self ~onAttack ?health{<50%}