Skip to main content

Building a world based on cost of materials



  • Cameron Ross

    Hi Joseph Trudell, I did this with emeralds. I gave the students a set amount of emeralds and then created a shop where they use the emeralds to buy materials. You need to run two command blocks, the first one to take the set amount of emeralds off the player and the second command block gives the item to the player if they had enough emeralds. Use a button to run the command blocks so that each time the student presses the button they can buy 1 of the material. Let me know if you need help with this.

  • Dan Noble Community moderator
    Expert (Gold) Moderator

    Hi Joseph Trudell

    The video I've linked here walks you through setting up such a system and may be close to what you're looking for. 


Please sign in to leave a comment.