Skip to content

Variable: locate

Misat11 edited this page May 9, 2020 · 3 revisions

locate

This variable can send you on click to category with another id or to main.

Yaml:

- write: false
  id: test
  items:
  - DIRT
  - STONE
- locate: '$test'
  stack: 'SPONGE'

Groovy:

hidden('test') {
  item('DIRT')
  item('STONE')
}

item('SPONGE') {
  locate '$test'
}
Clone this wiki locally