Variable: times methods - ScreamingSandals/SimpleInventories GitHub Wiki
times-methods
This variable will modify clones generated with variable times.
- cancel-positioning - The second item and the next items will lose all positioning variables
- no-id - The seond item and the next items will lose id variable
Yaml:
- stack: STONE
id: myStone # this will be removed for next items
skip: 6 # this will stay here
times: 6
times-methods: no-id
You can also use all these methods for one item:
- stack: DIRT
id: myDirt # this will be removed for next items
skip: 6 # this will be removed for next items
times: 7
times-methods:
- no-id
- cancel-positioning
Groovy:
item('STONE') {
id 'myStone' // this will be removed for next items
skip(6) // this will stay here
times(6)
timesMethods 'no-id'
}
You can also use all these methods for one item:
item('DIRT') {
id 'myDirt' // this will be removed for next items
skip(6) // this will be removed for next items
times(7)
timesMethods(['no-id', 'cancel-positioning'])
}