CoolLord22 / OtherDrops1.13

OtherDrops branch for the latest Minecraft version!
GNU General Public License v3.0
0 stars 5 forks source link

MythicMobs Item and Mob integration #13

Open EHAndrew opened 5 years ago

EHAndrew commented 5 years ago

Is your feature request related to a problem? Please describe. No

Describe the solution you'd like Integration with the MythicMobs plugin. The ability to use MythicMobs Items and Mobs as drops and tools.

Describe alternatives you've considered I have not considered any alternatives, as the feature does not yet exist in any plugin.

CoolLord22 commented 1 year ago

This is in the works; will likely be added in 3.2.8!

CoolLord22 commented 1 year ago

Support for MythicMobs is now done! Mythic Mobs and Items can now be referenced as targets, tools, and even drops. See example code below for all usage details :)

# Usage for MythicMob as a target
    MYTHIC_MOB@SkeletalKnight:
      - trigger: RIGHT_CLICK
        message: "&aClicked a MythicMob!"
# Usage for MythicMob as a tool/agent to trigger a drop
    PLAYER:
      - trigger: HIT
        tool: MYTHIC_MOB@SkeletalKnight
        message.victim: "&cYou were hit by a MythicMob!"
# Usage for dropping MythicItems
    MYTHIC_MOB@SkeletalKnight:
      - trigger: RIGHT_CLICK
        message: "&aThe knight gave you a mythical sword!"
        drop: MYTHIC_ITEM@SkeletonKingSword
# Usage for spawning MythicMobs
    PLAYER:
      - trigger: HIT
        drop: MYTHIC_MOB@SkeletalKnight
        message.victim: "&cYou were damaged and spawned a MythicMob!"
# Usage for MythicMobs item as a tool
    ANY_BLOCK:
      - trigger: RIGHT_CLICK
        tool: MYTHIC_ITEM@SkeletonKingSword
        message: "&aSuccessfully clicked with a mythic item!"
EHAndrew commented 1 year ago

Five years. I'm glad this finally made it in, but five years...

CoolLord22 commented 1 year ago

Took a pretty looooooooooong break from working on OtherDrops and only recently got back into it 🤣 Back when I took over I was pretty new to the development scene and had no idea how to make this work. Learned a lot from majoring in CS during uni and finally figured it out :)

Sincerest apologies for how long it took, not even sure if you still use the plugin anymore haha.

EHAndrew commented 1 year ago

I haven't owned a Minecraft server in about 4 years. Now I need to start another one just out of spite lol