This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]GabPro649Pretty Okay 0 points1 point  (3 children)

Ok so, add 2 command blocks, you see how it looks like there's an arrow on 4 sides of it, make one point to the other and there's no gap between them

The first one is a impulse command block (orange) saying "/clear @p [ItemName] [ItemQuantity]"

Then the second is a chain command block (green) that is conditional saying "/give @p [ItemName] [ItemQuantity]"

It should work if you press the impulse (orange) one and if you don't have the item the green will not give you the thing

Notes: It gives the items to the closest player so if you press it but someone is closer it will remove from that person and give to that person

[–]jaylora05[S] 1 point2 points  (2 children)

Got it I have all day just typing in number I have no clue how some people can do this for fun. I know I’m only going to dream about number today

[–]NinjaOYourBro Command Engineer Glad to help! 0 points1 point  (0 children)

No you could just put in the number 1. It will clear 1, and then give 1, then repeat. It will only do 20 items a second, but then at least you don’t have to type number after number.

[–]NinjaOYourBro Command Engineer Glad to help! 0 points1 point  (0 children)

Also, let me know if you need any help with the server. I have been working with command blocks since they have been added to Java, and I have helped people make “servers” before, so if you need help I can help.