Adds HELMET, BOOTS, LEGGINGS and CHESTPLATE filters
This commit is contained in:
parent
dbdb38d158
commit
430c168de5
@ -75,6 +75,10 @@ All currently supported presets, and available filters for each preset:
|
||||
- GOLD
|
||||
- DIAMOND
|
||||
- NETHERITE
|
||||
- HELMET
|
||||
- BOOTS
|
||||
- LEGGINGS
|
||||
- CHESTPLATE
|
||||
- TOOL_SMITH
|
||||
- WOOD
|
||||
- STONE
|
||||
|
@ -21,7 +21,8 @@ public enum SmithPreset {
|
||||
* A blacksmith capable of re-forging all armor
|
||||
*/
|
||||
ARMOR_SMITH(new SmithPresetFilter[]{SmithPresetFilter.LEATHER, SmithPresetFilter.IRON, SmithPresetFilter.CHAINMAIL,
|
||||
SmithPresetFilter.GOLD, SmithPresetFilter.DIAMOND, SmithPresetFilter.NETHERITE}),
|
||||
SmithPresetFilter.GOLD, SmithPresetFilter.DIAMOND, SmithPresetFilter.NETHERITE, SmithPresetFilter.HELMET,
|
||||
SmithPresetFilter.BOOTS, SmithPresetFilter.LEGGINGS, SmithPresetFilter.CHESTPLATE}),
|
||||
|
||||
/**
|
||||
* A blacksmith capable of re-forging all tools (hoe, axe, shovel, pickaxe, flint and steel, shears, fishing rod)
|
||||
|
@ -85,7 +85,27 @@ public enum SmithPresetFilter {
|
||||
/**
|
||||
* Filters to only include miscellaneous tools (fishing rod, flint and steel, shears)
|
||||
*/
|
||||
MISC(false, null);
|
||||
MISC(false, null),
|
||||
|
||||
/**
|
||||
* Filters to only include helmets
|
||||
*/
|
||||
HELMET(false, "_HELMET"),
|
||||
|
||||
/**
|
||||
* Filters to only include chestplates
|
||||
*/
|
||||
CHESTPLATE(false, "_CHESTPLATE"),
|
||||
|
||||
/**
|
||||
* Filters to only include leggings
|
||||
*/
|
||||
LEGGINGS(false, "_LEGGINGS"),
|
||||
|
||||
/**
|
||||
* Filters to only include boots
|
||||
*/
|
||||
BOOTS(false, "_BOOTS");
|
||||
|
||||
private final boolean searchStart;
|
||||
private final String identifier;
|
||||
|
Loading…
Reference in New Issue
Block a user