Name | max_stack_size |
Object | MaterialTag |
Input | ElementTag(Number) |
Related Tags | <MaterialTag.max_stack_size> Returns the maximum amount of this material that can be held in a stack.
|
Description | Sets the maximum stack size for all items this material type.
Note that altering this will probably require a script performing "- inventory update" in the event "after player clicks in inventory:" to maintain sync. The maximum the client will interact with is stacks of 64, however you can set the max up to 127 and the client will render it, but refuse to move stacks properly. |
Generated Example |
|
Source | https://github.com/DenizenScript/Denizen/blob/dev/plugin/src/main/java/com/denizenscript/denizen/objects/MaterialTag.java#L740 |