Using custom items#
You can define custom items that can be used for brewing.
Custom items will look like this:
customItems:
# Three Example Items
ex-item:
material: Barrier # One or list of materials that can be counted as "ex-item"
name: 'Wall' # "ex-item" will be counted only if item have "Wall" name
lore:
- '&7Very well protected' # "ex-item" will be counted only if item have "&7Very well protected" lore
matchAny
#
true
or false
- if you need to match only one param or every param of custom item.
In this example it will count as custom item only if name is Gycha
or it is one of a list.
customItems:
ex-item:
matchAny: false
material:
- Barrier
- Bedrock
name: 'Gycha'
material
#
Material or list of material that should be counted as custom item
customItems:
ex-item:
material:
- Barrier
- Bedrock
- Gycha
name
#
Custom name that item has to have to be counted as custom item
customItems:
ex-item:
name: '&8Some name'
lore
#
Custom lore that item has to have to be counted as custom item.
customItems:
ex-item:
lore:
- '&7Dont end my edge streak.'
customModelData
#
Custom model data that item has to have to be counted as custom item
customItems:
ex-item:
customModelData: 1337
Example of usage#
customItems:
blue_flowers:
matchAny: true
material:
- cornflower
- blue_orchid
cauldron:
TestBrew:
name: Some Brew
ingredients:
- blue_flowers/2