Skip to content

Improve the NBT Match rule #3

@Catnies

Description

@Catnies

Terms

  • I'm using the very latest version of VanillaCustomizer and its dependencies.
  • I already searched on this Github page to check if the same suggestion was already reported.
  • I already searched on the plugin wiki to know if the feature is already implemented.
  • I already searched on the Discord server to know if anyone already has a solution for this or if the feature was already suggested.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions