1
Command Block / Scoreboard help!
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
Create an account or sign in to comment.
1
1
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
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