PluginBugs / Issues-VanillaCustomizer

0 stars 0 forks source link

Improve the NBT Match rule #3

Open killertuling opened 10 months ago

killertuling commented 10 months ago

Terms

Discord tag (optional)

No response

Describe the solution you'd like

1.The NBT matching rule can match multiple values, Instead of having to create multiple rules. I did not find a batch processing method related to NBT in the WIKI and Example file.

    rules:
      nbt:
        path: "itemsadder.id"
        value: 
         - spiritual_sand
         - abnormal_slab
        type: string`
  1. NBT for Int can match the size of the value. This makes it easy to create Rare categories for the same RPG Item, based on a number of values.
    rules:
      nbt:
        path: "ItemDamage.Value"
        value: 
          - '>=15.5'
          - '<25'
        type: int`

Is your feature request related to a problem?

yes

Describe alternatives you've considered

.

Additional context

No response

github-actions[bot] commented 10 months ago

Hello, your report will be looked into as soon as possible. Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.

killertuling commented 10 months ago

image image

LoneDev6 commented 10 months ago

Interesting idea