#(Niklas) item script no stacking items
15 messages · Page 1 of 1 (latest)
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
!m max_stack_size
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.
MaterialTag
ElementTag(Number)
<MaterialTag.max_stack_size> Returns the maximum amount of this material that can be held in a stack.
!t max_stack
!t <ItemTag.max_stack>
Returns the max number of this item possible in a single stack of this type.
For use with !tag ItemTag.quantity and !mechanism ItemTag.quantity.
properties
ElementTag(Number)
idk which one would work best for you
I've made custom items that are normally stackable to not stack just by adding a flag set to a unique value when they are crafted. That way there isn't any extra lore text when you hover over the item in your inventory and you don't have to change the stack size of materials that normally do stack.
or any other random data