Item Caster icon

Item Caster -----

Cast Mythicmobs skill with NBT Item



Add Nbt item for casting MythicMobs skill.

Plugin Requirements:
How to use this plugin
You can see more than this in wiki.

The NBT data structure used by the plugin is as follows:
Code (Text):
{
  Artifact: [
    {skill: "Slash", activator: "left_click"},
    {skill: "Dash", activator: "right_click", cooldown: 20},
    {skill: "Throw_Knife", activator: "drop", power: 2, cooldown: 80}
  ]
}
Code (Text):
|Key        |Type   |Description                                                       |Default|
|-----------|-------|------------------------------------------------------------------|-------|
|`skill`    |String |The name of the skill to be cast.                                 |       |
|`activator`|String |How the skill is activated (e.g., `left_click`, `right_click`).   |       |
|`power`    |Float  |Multiplier for the skill's damage if `poweraffectsdamage` is true.|1.0F   |
|`cooldown` |Integer|The cooldown time in ticks before the skill can be used again.    |       |
How to get the item
Code (Text):
/give @s stone_sword{Artifact:[{skill:"Slash", activator:"left_click"}]}
How to Use in Other Plugin
ItemsAdder Integration
Here’s how to define a custom item with NBT using the ItemsAdder plugin:
Code (YAML):
items:
  example
:
    displayname
: "example"
    nbt
: |
     {
        Artifact: [
          {skill: "Slash", activator:"left_click"}
        ]
      }

  resource
:
    material
: STICK
    generate
: false
    model
: item/example
Mythicmobs Additional
Attack Cooldown Condition
This condition check if player attack cooldown is cooldown or not.

Attributes
- This condition has no additional attributes.

Example
- Here’s an example of how to use the attackCooldown condition:
Code (YAML):
Conditions :
- attackCooldown false   # Checks if the player's attack is not on cooldown
Note
For item configuration, i will develop in future.
Resource Information
Author:
----------
Total Downloads: 25
First Release: Dec 19, 2024
Last Update: Yesterday at 6:39 AM
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings