Example:
"example_ability": {
"ability": "lucraftcore:toggle_power",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.toggle_power.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray"
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.toggle_power.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
Example:
"example_ability": {
"ability": "lucraftcore:health",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.health.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"amount": 1.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.health.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
amount |
Float |
1.0 |
The amount for the giving attribute modifier |
operation |
Integer |
0 |
The operation for the giving attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations) |
uuid |
UUID |
"0669d99d-b34d-40fc-a4d8-c7ee963cc842" |
Sets the unique identifier for this attribute modifier |
Example:
"example_ability": {
"ability": "lucraftcore:healing",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.healing.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"frequency": 20,
"amount": 0.5
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.healing.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
frequency |
Integer |
20 |
Sets the frequency of healing (in ticks) |
amount |
Float |
0.5 |
Sets the amount of hearts for each healing |
Example:
"example_ability": {
"ability": "lucraftcore:strength",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.strength.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"amount": 1.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.strength.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
amount |
Float |
1.0 |
The amount for the giving attribute modifier |
operation |
Integer |
0 |
The operation for the giving attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations) |
uuid |
UUID |
"0669d99d-b34d-40fc-a4d8-c7ee963cc842" |
Sets the unique identifier for this attribute modifier |
Example:
"example_ability": {
"ability": "lucraftcore:punch",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.punch.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"amount": 1.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.punch.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
amount |
Float |
1.0 |
The amount for the giving attribute modifier |
operation |
Integer |
0 |
The operation for the giving attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations) |
uuid |
UUID |
"0669d99d-b34d-40fc-a4d8-c7ee963cc842" |
Sets the unique identifier for this attribute modifier |
Example:
"example_ability": {
"ability": "lucraftcore:sprint",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.sprint.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"amount": 1.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.sprint.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
amount |
Float |
1.0 |
The amount for the giving attribute modifier |
operation |
Integer |
0 |
The operation for the giving attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations) |
uuid |
UUID |
"0669d99d-b34d-40fc-a4d8-c7ee963cc842" |
Sets the unique identifier for this attribute modifier |
Example:
"example_ability": {
"ability": "lucraftcore:jump_boost",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.jump_boost.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"amount": 1.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.jump_boost.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
amount |
Float |
1.0 |
The amount for the giving attribute modifier |
operation |
Integer |
0 |
The operation for the giving attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations) |
uuid |
UUID |
"0669d99d-b34d-40fc-a4d8-c7ee963cc842" |
Sets the unique identifier for this attribute modifier |
Example:
"example_ability": {
"ability": "lucraftcore:resistance",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.resistance.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"amount": 1.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.resistance.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
amount |
Float |
1.0 |
The amount for the giving attribute modifier |
operation |
Integer |
0 |
The operation for the giving attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations) |
uuid |
UUID |
"0669d99d-b34d-40fc-a4d8-c7ee963cc842" |
Sets the unique identifier for this attribute modifier |
Example:
"example_ability": {
"ability": "lucraftcore:fall_resistance",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.fall_resistance.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"amount": 1.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.fall_resistance.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
amount |
Float |
1.0 |
The amount for the giving attribute modifier |
operation |
Integer |
0 |
The operation for the giving attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations) |
uuid |
UUID |
"0669d99d-b34d-40fc-a4d8-c7ee963cc842" |
Sets the unique identifier for this attribute modifier |
Example:
"example_ability": {
"ability": "lucraftcore:fire_resistance",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.fire_resistance.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.fire_resistance.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
Example:
"example_ability": {
"ability": "lucraftcore:step_assist",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.step_assist.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"amount": 1.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.step_assist.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
amount |
Float |
1.0 |
The amount for the giving attribute modifier |
operation |
Integer |
0 |
The operation for the giving attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations) |
uuid |
UUID |
"0669d99d-b34d-40fc-a4d8-c7ee963cc842" |
Sets the unique identifier for this attribute modifier |
Example:
"example_ability": {
"ability": "lucraftcore:size_change",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.size_change.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"size": 0.1,
"size_changer": "lucraftcore:default"
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.size_change.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
size |
Float |
0.1 |
Well...the size you want to change to |
size_changer |
SizeChanger |
"lucraftcore:default" |
The way to change size |
Example:
"example_ability": {
"ability": "lucraftcore:teleport",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.teleport.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"distance": 1.0
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.teleport.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
distance |
Float |
1.0 |
The maximum amount of blocks you can teleport to |
Example:
"example_ability": {
"ability": "lucraftcore:knockback_resistance",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.knockback_resistance.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"amount": 1.0,
"operation": 0,
"uuid": "0669d99d-b34d-40fc-a4d8-c7ee963cc842"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.knockback_resistance.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
amount |
Float |
1.0 |
The amount for the giving attribute modifier |
operation |
Integer |
0 |
The operation for the giving attribute modifier (More: https://minecraft.gamepedia.com/Attribute#Operations) |
uuid |
UUID |
"0669d99d-b34d-40fc-a4d8-c7ee963cc842" |
Sets the unique identifier for this attribute modifier |
Example:
"example_ability": {
"ability": "lucraftcore:potion_punch",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.potion_punch.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"potion": "minecraft:poison",
"amplifier": 0,
"duration": 20
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.potion_punch.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
potion |
Potion |
"minecraft:poison" |
Sets the actual potion |
amplifier |
Integer |
0 |
Sets the amplifier for the potion effect |
duration |
Integer |
20 |
Sets the duration for the potion effect |
Example:
"example_ability": {
"ability": "lucraftcore:slowfall",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.slowfall.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray"
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.slowfall.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
Example:
"example_ability": {
"ability": "lucraftcore:energy_blast",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.energy_blast.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"damage": 3.0,
"color": [255, 0, 0],
"entity_data": {}
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.energy_blast.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
damage |
Float |
3.0 |
The amount of damage that the energy blast entity will cause |
color |
Color |
[255, 0, 0] |
Sets the color for the energy blast |
entity_data |
NBTTagCompound |
{} |
NBT tag for the entity that will be spawned |
Example:
"example_ability": {
"ability": "lucraftcore:fire_punch",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.fire_punch.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"duration": 20
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.fire_punch.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
duration |
Integer |
20 |
Sets for how long a hurt entity will be on fire |
Example:
"example_ability": {
"ability": "lucraftcore:flight",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.flight.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"speed": 0.1,
"sprint_speed": 0.2,
"rotate_arms": true
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.flight.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
speed |
Float |
0.1 |
Sets the speed multiplier for flying when you are NOT sprinting |
sprint_speed |
Float |
0.2 |
Sets the speed multiplier for flying when you are sprinting |
rotate_arms |
Boolean |
true |
If enabled the players arms will face in your direction (like Superman) |
Example:
"example_ability": {
"ability": "lucraftcore:water_breathing",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.water_breathing.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.water_breathing.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
Example:
"example_ability": {
"ability": "lucraftcore:tough_lungs",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.tough_lungs.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray"
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.tough_lungs.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
Example:
"example_ability": {
"ability": "lucraftcore:invisibility",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.invisibility.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray"
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.invisibility.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
Example:
"example_ability": {
"ability": "lucraftcore:command",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.command.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"commands": ["say Hello", "say World"]
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.command.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
commands |
AbilityCommand$CommandList |
["say Hello", "say World"] |
Sets the commands which get executed when using the ability |
Example:
"example_ability": {
"ability": "lucraftcore:command_loop",
"show_in_bar": false,
"title": {"translate":"lucraftcore.abilities.command_loop.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"commands": ["say Hello", "say World"]
}
Setting | Type | Default | Description |
---|---|---|---|
show_in_bar |
Boolean |
false |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.command_loop.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
commands |
AbilityCommand$CommandList |
["say Hello", "say World"] |
Sets the commands which get executed when using the ability |
Example:
"example_ability": {
"ability": "lucraftcore:command_toggle",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.command_toggle.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"commands": ["say Hello", "say World"]
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.command_toggle.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
commands |
AbilityCommand$CommandList |
["say Hello", "say World"] |
Sets the commands which get executed when using the ability |
Example:
"example_ability": {
"ability": "lucraftcore:command_held",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.command_held.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"commands": ["say Hello", "say World"]
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.command_held.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
commands |
AbilityCommand$CommandList |
["say Hello", "say World"] |
Sets the commands which get executed when using the ability |
Example:
"example_ability": {
"ability": "lucraftcore:set_punch",
"cooldown": 0,
"show_in_bar": true,
"title": {"translate":"lucraftcore.abilities.set_punch.name"},
"icon": { "type": "internal" },
"bar_color": "light_gray",
"arm": 0,
"reach_distance": 5.0,
"damage": -1.0
}
Setting | Type | Default | Description |
---|---|---|---|
cooldown |
Integer |
0 |
Maximum cooldown for using this ability |
show_in_bar |
Boolean |
true |
Determines if this ability should be displayed in the ability bar |
title |
ITextComponent |
{"translate":"lucraftcore.abilities.set_punch.name"} |
Allows you to set a custom title for this ability |
icon |
AbilityDataIcon$Icon |
{ "type": "internal" } |
Lets you customize the icon for the ability |
bar_color |
EnumAbilityBarColor |
"light_gray" |
Lets you choose the color of the ability bar frame for this ability. Available options: white, orange, magenta, light_blue, yellow, lime, pink, gray, light_gray, cyan, purple, blue, brown, green, red, black |
arm |
Integer |
0 |
The arm that will be used for this. 0 - main hand. 1 - off hand. 2 - both arms. 3 - random arm |
reach_distance |
Float |
5.0 |
The maximum distance you can hit entities at |
damage |
Float |
-1.0 |
The amount of damage dealt with each hit. If you set it to -1 it will use the current attack stat of the player |