OtherDrops icon indicating copy to clipboard operation
OtherDrops copied to clipboard

Request lore line specific trigger condition

Open Achent007 opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. I would like to create an item for an evenement on my server. When the item get a specific lore on line 1 to simulate a custom enchantement. Per exemple the first line lore of the item is "&cFire I" and i would like i can trigger this line only. And actually this is not possible with OtherDrops

Describe the solution you'd like Add a trigger on drops config for special lore like we can do with the lorename option.

Describe alternatives you've considered The ability to do this on the drops file :

    LOG:
        - dropgroup: log_fire
          tool: [DIAMOND_AXE@~~1!&cFire I] #I have put ~~1! but it can be another way to trigger the lore line with the tool format directly
          drops:
            - drop: NOTHING
              chance: 100
            - drop: COAL@1
              quantity: 1
              chance: 100
or
   LOG:
        - dropgroup: log_fire
          tool: [DIAMOND_AXE]
          loreline: 1 "&cFire I" #or loreline1: "&cFire I"
          drops:
            - drop: NOTHING
              chance: 100
            - drop: COAL@1
              quantity: 1
              chance: 100

Achent007 avatar Feb 21 '22 21:02 Achent007