Note
This plugin documentation is not complete yet.
Cast Skill form Plugin MythicMobs, like plugin MMOItems or MythicCrucible but with less feature for who need Oraxen/ItemsAdder as item management, if oraxen or ItemsAdder has custom nbt modifier mybe you can make item that cast skill with only nbt because focus this plugin is use nbt as data for cast skill.
- Make datapack can Cast Skill with item.
- Support Oraxen/ItemsAdder or other plugin that use nbt as modifier item.
- Flexible for other plugin.
- Download this plugin in this Link or Packages below.
- Open your server panel.
- Upload or Drag & Drop plugin file to
./plugins
. - Install dependency plugin MythicMobs in your server.
- Start the server
← 1.20.4:
/give @s diamond_sword{ Abilities: [ { skill: "SmashAttack", action: "right_click" }, { skill: "regeneration", timer: 1 } ] }
Json like format
{
Abilities: [
{
skill: "SmashAttack",
action: "right_click"
},
{
skill: "regeneration",
timer: 1
}
]
}
-
{skill:"<Skill ID>"}
Id skill on MythicMobs -
{action:"<Event>"}
Skill Executor Event, this is list event for now Next update i will add more than this.- right_click
- left_click
-
{timer:<Delay>}
Will Cast Skill while player hold item with nbt skill
Event can't use combination with timer, if you try it, the item nbt will not cast skill.
Events | Descriptions |
---|---|
right_click |
Cast skill when right click. |
left_click |
Cast skill when left click. |
See this for further info. I know if that code is terrible 🗿
Note
Will added in future
In basic MMOItems or MythicCrucible you use condition skill on mythicmobs, but mythicmobs condition mechanic is has something lost and i want to add it like condition when attack cooldown player is not over will not cast.
ItemsAdder
items:
Exalibur:
display_name: "Exalibur"
nbt: '{Abilities:[{skill:"SmashAttack",timer:20},{skill:"SummonSkeletons",action:"right_click"}]}'
resource:
material: DIAMOND_SWORD
generate: false
model_path: excalibur_model/excalibur_sword
If someone contribute in this project i will very heppy for that. To contribute:
- Fork this project.
- Create new branch for your code changes.
- Submit pull request with clear description of the changes.
If you have questions or suggestions just tag me on discord, im always online on discord(if im not busy).