CoolLord22 / OtherDrops1.13

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

Request lore line specific trigger condition #6

Closed Achent007 closed 1 year ago

Achent007 commented 2 years ago

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