Vein Miner

Vein Miner

263k Downloads

Add option to specify multiple Types in ToolTemplate

RalphORama opened this issue · 1 comments

commented

Apologies if this option is already available and I missed it in the documentation.

I'd like the ability to specify multiple tool types in the ToolTemplate configuration directive, i.e. iron, gold, diamond.

The current config looks like:

ToolTemplates:
  Precedence: CATEGORY_SPECIFIC_GLOBAL_DEFAULT
  Global:
    Type: 'iron'     # <-- This type can be ANY type at all
  Pickaxe:
    # This type MUST be one of the tools defined by the Pickaxe category 
    # (i.e. wood, stone, gold, iron, etc. pickaxes)
    Type: 'diamond_pickaxe'

I'd like the option to do something like this:

ToolTemplates:
  Precedence: CATEGORY_SPECIFIC_GLOBAL_DEFAULT
  Global:
    Type: 
      - 'iron'
      - 'gold'
      - 'diamond' 
  Pickaxe:
    # This type MUST be one of the tools defined by the Pickaxe category 
    # (i.e. wood, stone, gold, iron, etc. pickaxes)
    Type: 
      - 'iron_pickaxe'
      - 'diamond_pickaxe'
commented

This is something that will be changed in an upcoming update :) The code is already on GitHub and readily supports it so no you didn't miss it, the currently released version does not have this option.