e to open/close inventory there are two types of items: that which you can stack together, and that that you can't stack together. To move items click on them release mouse put your mouse on slot that you want to item be in. To put just one item in slot hold space and click.
most important thing if you want to use this in your project there are lists i project: Inventory - inventory items are represented like theirs id. (# means there is nothing in slot) (wood is 1; stick is 2; diamond is 3; diamond sword is 4) How much - how much items are is in which slot in inventory stackabel items - every item should be stackable(1) or unstackabel (0) in the scene there is code which is adding items!!!! don't forgot to draw textures in items and in inventory name them with numbers sorry for my anglish i discovered bug when there are negative count of items in slot (in crafting slots)