Skip to main content

Modifying Attributes Using Command Blocks?

Comments

3 comments

  • Hi Jan Lewis,

    Can you give a specific example of what you're trying to do? Thanks!

    0
  • Jan Lewis

    I'm attempting to have an NPC give certain players an item that will reduce their hunger or health. There is an option to do such a thing in other versions of Minecraft by changing an object's attributes and it would be very useful for worlds that are relying on game mechanics as part of the learning. Here's a video that explains how to do this in other versions: https://youtu.be/BEGYebogCik

    0
  • Jan Lewis

    Edit: I had tried changing it to have students click a command block that would give them this item, not an NPC. They "punch a time card" after working overtime and it makes them tired and hungry.

    0

Please sign in to leave a comment.