Bug Closed · Resolved

hasItem support for mythicmobs items

#2160 opened by Unknown 5 years ago

Unknownreported this bug

Add support to condition hasItem for mythicmobs items, seeing it already got support for mmoitems now.

Unknowncommented

it already supports vanilla, mythicitems, and mmoitems. the mmoitems support was added last because of some code changes to identifying items

Unknowncommented

@macpoopyhead Can you provide an example or syntax for it then?

  • hasitem{i=DeepSeaFishBait} true I have an item DeepSeaFishBait (as named within MM) yet the condition doesn't work.
Unknowncommented

Here's the item I used:

Test:
  Id: diamond_axe
  Display: 'TEST'
  Options:
    AppendType: true

and here's the skill i used, using /mm test cast doStuff

doStuff:
  Conditions:
  - hasitem{i=Test} true
  Skills:
  - message{m="hey"} @Self
Unknowncommented

@macpoopyhead Okay so it turned out that the key element here was AppendType: true, putting that into my items options fixed it. Thanks!

Sign in to join the discussion.