Can you write 2 commands in a command block in minecraft?
So: / give @p wheat 32
/ clear @p goldnugget 3
Can you somehow write them together in a command block? Or do you know another command for it?
No, only one command per command block
You want to do a shop, right?
I don't know how to do that, but you can also link command blocks together
Make a command block with the first command "/ give @p wheat 32" then put a command block behind it (both must point in the same direction, the one with wheat first) the command "/ give @ p gold_nugget 3" and set the nozzle Command block on "chaining" and "always active"
There are also tutorials on YouTube.
Yes wants to do a shop
But do you know a command if you don't have 3 gold nuggets with you? So: you don't have enough gold?
No, unfortunately I don't know, I'm sorry.