Skip to content

1.4-SNAPSHOT

Pre-release
Pre-release
Compare
Choose a tag to compare
@Reldeam Reldeam released this 02 Feb 07:31
· 74 commits to main since this release

Added nbt field to the <item stack> type in the trades.yml.

USE AT OWN RISK - This will apply an NBT tag to the item before anything else. This means that all of the other properties in <item stack> will overwrite any values that may be set here. Using this property may lead to unexpected behaviour. Issues involving the use of the nbt property will be closed without investigation.

Example:

"coolThingy":
  result:
    material: GOLD_SWORD
    amount: 1
    nbt: >
      {display:{Name:'[{"text":"Cool Thingy"}]'}}
  ingredients:
    - material: EMERALD
      amount: 5
  maxUses: 4
  experience: 20
  chance: 0.3