Item Prize

Valid materials can be given by item id. Args other than material are optional.

Make sure to follow the proper formatting and spacing.

Argument
Description

material: ID

Sets the type of material by block id

amount: 1

Sets the amount the player will get

enchants:

- name:level

Sets the enchants on the item

name: " "

Sets the display name of the item

lore:

- "string"

Sets the lore lines in the list order

flags:

- type

Sets flags to the item

unbreakable: true

Sets the item unbreakable

Example of use

Loot-Table:
  p0:
    item:
      material: DIRT
      amount: 1
      enchants:
        - unbreaking:3
      name: "&dTest Item"
      lore:
        - "Line 1"
        - "Line 2"
      flags:
        - HIDE_ATTRIBUTES

Last updated