-
Notifications
You must be signed in to change notification settings - Fork 3
Variable: write
Misat11 edited this page May 9, 2020
·
4 revisions
If write is false, then this item won't be rendered. You can use it for example for hidden guis. Also look to locate
Yaml:
- write: false
stack: STONE # you never see this
id: myContainer
items: # you can open this with locate variable
- STONEGroovy: Because this variable is not needed with true (that's default), only with false, we have special structure for this in Groovy.
hidden('myContainer') /* <-- This is an id*/ {
/* Here can be just items */
item('STONE')
}Can't find what are you looking for on this wiki? Maybe our automatically generated javadoc could help you https://docs.screamingsandals.org/simpleinventories/simpleinventories-core/
- Welcome on this wiki
- Formats:
- Variables:
- Callbacks: (Groovy only)
-
Examples:
- Making shop (Groovy only)
- Making vault shop (Groovy only)