PluginBugs / Issues-VanillaCustomizer

0 stars 0 forks source link

[FEATURE REQUEST] Ignore rule! #6

Open PSYCHEER opened 7 months ago

PSYCHEER commented 7 months ago

Terms

Discord tag (optional)

PSYCHEER

Describe the solution you'd like

image It's basic, just like material_wildcard:

everything what will match, will be ignored

Is your feature request related to a problem?

No

Describe alternatives you've considered

Haven't any

Additional context

No response

github-actions[bot] commented 7 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.

LoneDev6 commented 2 weeks ago

Can you please elaborate what would be the usage of this? Make some example configuration.

For example:

  iconic_rare:
    enabled: true
    rules:
      materials:
      - "DRAGON_EGG"
      - "DRAGON_HEAD"
      - "NETHER_STAR"
      is_vanilla_item: true
    changes:
      lore_insert_json:
        index: 1
        lines:
        - '[{"text":"f", "font":"simple_vanilla_enhancer:tags"}]' # Iconic
        - '[{"text":"c", "font":"simple_vanilla_enhancer:tags"}]' # Rare artifact
PSYCHEER commented 2 weeks ago

iconic_rare:
    enabled: true
    rules:
      materials:
      - "*_WOOD"
      ignore:
      - "OAK_WOOD"
      is_vanilla_item: true
    changes:
      lore_insert_json:
        index: 1
        lines:
        - '[{"text":"f", "font":"simple_vanilla_enhancer:tags"}]' # Iconic
        - '[{"text":"c", "font":"simple_vanilla_enhancer:tags"}]' # Rare artifact```