Skip to content

Variable: disabled

Misat11 edited this page May 9, 2020 · 2 revisions

disabled

If this variable is true item interactions will be disabled.

Yaml:

- stack: some_item_definition
  items: # because disabled is true, you can't open it
  - STONE
  disabled: true

Groovy:

item('some_item_definition') {
  disabled(true)

  item('STONE') // because disabled is true, you can't open it
}

Clone this wiki locally