How would I give an item to a specific slot? I want to avoid /replaceitem because I want the items to stack. In the map I am making, I /replaceitem a single arrow every few seconds, but I want to have the max they can hold 2 arrows instead of 1.
If I were to do this, I would assume this creates a problem where they would just be able to rack up more than two arrows if they didn't use them before they get another. How do I get around this?
/give
does this already. If you wanted to restrict the items to a specific slot as defined by you, then/replaceitem
does this. Are you asking how to group together all of an item in the player's inventory into a single stack and then move it to a specific slot?