Skip to content

Item Requirement

Aria edited this page Jan 10, 2021 · 1 revision

Feature

Requires the player to have higher than or equals the amount of vanilla in their inventory. Note, you can add NBT tags to the config for items that should not be treated as vanilla items.

Arguments

Line Config Arg. Description
type (String) The required vanilla material. (Not case-sensitive)
amount (Integer) The required amount of items. (Default = 1)
display (String) Replaces the {display} placeholder in the lore format.
take (Boolean) Whether or not the take the required amount when unlocked. (Default = true)

Example

- 'items{type="DIAMOND",amount=5,display="Diamonds"}'

Clone this wiki locally