1

Command Block / Scoreboard help!

CyberHyperion's Avatar CyberHyperion12/16/14 10:42 pm
1 emeralds 208 1
12/17/2014 10:15 am
Imadbush's Avatar Imadbush
So I am making a survival map where the player gets a score for everything he/she does something. So for example crafting a diamond tool might give 10 "Score" thats what the scoreboard is named. I run into a small problem where I don't know how to do this. Help? I am familiar with Command Blocks and Scoreboard, just not with Compound Criteria
Posted by CyberHyperion's Avatar
CyberHyperion
Level 6 : Apprentice Engineer
4

Create an account or sign in to comment.

1

1
12/17/2014 10:15 am
Level 20 : Expert Network
Imadbush
Imadbush's Avatar
Create 2 objectives
Score which is a dummy objective
CraftDiaSword which is stat.craftItem.minecraft.diamond_sword

On a clock run /testfor @a[score_CraftDiaSword_min=1]
With a comparator with
/scoreboard players add @a[score_CraftDiaSword_min=1] Score 10 and
/scoreboard players set @a CraftDiaSword 0
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome