Skip to content

[FeatureRequest] Add MythicMobs support for item action/drops #120

@MarvinKlar

Description

@MarvinKlar

Hey there, we do use ConfitionalEvents a lot and plan to use it even more, since it's an awesome plugin!
We currently have to query/specify very specific to match/drop our configured MythicMobs items.
Therefore I would like to request to support MythicItems in the Item Actions: https://ajneb97.gitbook.io/conditionalevents/event-types/item-events
Or at least to drop MythicItems on specific actions/conditions.
Let me know what you think about that! Any feedback back would be appreciated. I even volunteer to help to PR this.

Example to query a MM Item:

example:
  type: item_interact
  conditions:
  - '%mmitem% == Steelshovel'
  actions:
    default:
    - 'cancel_event: true'
    - 'message: &cYou clicked a steel shovel!'

Example to drop a MM item:

example:
  type: item_interact
  conditions:
  - '%item% == REDSTONE'
  actions:
    default:
    - 'cancel_event: true'
    - 'drop_mmitem: Steelshovel'
    - 'message: Here is your shovel!'

MythicMobs API doc: https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/API

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions