Skip to main content
Question Protected by CommunityBot
Tweeted twitter.com/TheArqade/status/1016010553259634690

I'm messing around with command blocks, and I'm wanting to try and make an XP vending machine. My idea is if you click a button with a Diamond in your hand, 1 diamond gets removed and you get x amount of XP.

Is this possible using command blocks? If so, what commands withwould I need to look at? I already know /xp myAmount @p, it's just the checking/removing of items I can't seeseem to get.

I'm messing around with command blocks, and I'm wanting to try and make an XP vending machine. My idea is if you click a button with a Diamond in your hand, 1 diamond gets removed and you get x amount of XP.

Is this possible using command blocks? If so, what commands with I need to look at? I already know /xp myAmount @p, it's just the checking/removing items I can't see to get.

I'm messing around with command blocks, and I'm wanting to try and make an XP vending machine. My idea is if you click a button with a Diamond in your hand, 1 diamond gets removed and you get x amount of XP.

Is this possible using command blocks? If so, what commands would I need to look at? I already know /xp myAmount @p, it's just the checking/removing of items I can't seem to get.

Source Link
TMH
  • 2.5k
  • 12
  • 34
  • 40

Check if player has item, if so remove it

I'm messing around with command blocks, and I'm wanting to try and make an XP vending machine. My idea is if you click a button with a Diamond in your hand, 1 diamond gets removed and you get x amount of XP.

Is this possible using command blocks? If so, what commands with I need to look at? I already know /xp myAmount @p, it's just the checking/removing items I can't see to get.