Skip to content

Variable: times

Misat11 edited this page May 9, 2020 · 2 revisions

times

This variable repeats the rendering of the item.

Yaml:

- stack: STONE
  times: 9 # you will see line filled with stone (9 slots will be filled)

You can also use shorter format:

- cosmetic repeat 5
- STONE repeat 6
- DIRT for 1 of bronze repeat 4

Groovy:

item('stone') {
  times(9) // you will see line filled with stone (9 slots will be filled)
}

You can also use shorter format:

item('STONE repeat 6')
item('DIRT for 1 of bronze repeat 4')
Clone this wiki locally