Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
true |
If this condition enables. If false it instead decides whether the ability is unlocked. |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
true |
If this condition enables. If false it instead decides whether the ability is unlocked. |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
true |
If this condition enables. If false it instead decides whether the ability is unlocked. |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
ability_id |
String |
"" |
The id for the ability that must be enabled for the condition to be true. |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
ability_id |
String |
"" |
The id for the ability that must be unlocked for the condition to be true. |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
min |
Integer |
-2147483648 |
The minimum karma required for the condition to be true. |
max |
Integer |
2147483647 |
The maximum karma required for the condition to be true. |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
experience |
ExperienceThreeData$Experience |
5 |
Determines the amount of XP the player has to spend to activate this condition. |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
item |
ItemStack |
{"item":"minecraft:apple","count":1} |
Determines the item the player must spend to activate this condition. |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
slot |
EquipmentSlotType |
"mainhand" |
Requires the ability to be in an item, and needs that item in the specified slot |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
min |
Integer |
0 |
The minimum xp level required for the condition to be true. |
max |
Integer |
2147483647 |
The maximum xp level required for the condition to be true. |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
mainhand |
Ingredient |
"[]" |
Specifies the ingredient for the item in the mainhand slot |
offhand |
Ingredient |
"[]" |
Specifies the ingredient for the item in the offhand slot |
feet |
Ingredient |
"[]" |
Specifies the ingredient for the item in the feet slot |
legs |
Ingredient |
"[]" |
Specifies the ingredient for the item in the legs slot |
chest |
Ingredient |
"[]" |
Specifies the ingredient for the item in the chest slot |
head |
Ingredient |
"[]" |
Specifies the ingredient for the item in the head slot |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
item_tag |
Item> |
"forge:ingots/iron" |
Determines the item tag the items must have |
mainhand |
Boolean |
false |
Determines if the item in the mainhand slot must have the specified tag |
offhand |
Boolean |
false |
Determines if the item in the offhand slot must have the specified tag |
feet |
Boolean |
true |
Determines if the item in the feet slot must have the specified tag |
legs |
Boolean |
true |
Determines if the item in the legs slot must have the specified tag |
chest |
Boolean |
true |
Determines if the item in the chest slot must have the specified tag |
head |
Boolean |
true |
Determines if the item in the head slot must have the specified tag |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
slot |
EquipmentSlotType |
"head" |
The slot which will be checked on |
nbt_tag |
String |
"Opening" |
The nbt tag which will be checked on |
min |
Integer |
0 |
The minimum value the nbt tag has to be |
max |
Integer |
0 |
The maximum value the nbt tag has to be |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
fluid_tag |
Fluid> |
"minecraft:water" |
Determines the fluid the eyes are needed to be in |
Example:
| Setting | Type | Default | Description |
|---|---|---|---|
custom_title |
ITextComponent |
{"text":"empty"} |
A custom display name for the condition. |
invert |
Boolean |
false |
Lets you invert the condition |
enabling |
Boolean |
false |
If this condition enables. If false it instead decides whether the ability is unlocked. |
min |
Float |
0.0 |
The minimum size required for the condition to be true. |
max |
Float |
16.0 |
The maximum size required for the condition to be true. |