1

<~~~| Command Help |~~~>

valcano618 3/17/15 6:12 pm
208
3/17/2015 8:37 pm
I cant seem to figure out how to disable the spawning of a certain mob and how to detect if a player has broken 100 stone. Any help would be welcomed

Thanks
Posted by
valcano618
Level 3 : Apprentice Miner
3

  Have something to say?

JoinSign in

6

valcano618
03/17/2015 7:27 pm
Level 3 : Apprentice Miner
now how could I make it so once someone breaks 100 blocks they get a random spawn egg? And is there a way to disable putting stuff into brewing stands?

Thanks
1
Skitto493
03/17/2015 8:37 pm
Level 55 : Grandmaster Dragon
Coming out of the command block using testfor, have a comparator leading into another command block

/give @a[score_BreakStone_min=100] .....

Also, if you want this to be repeatable, you could have the comparator also powereing a command block resetting the player's score...

/scoreboard players set @a[score_BreakStone_min=100] BreakStone 0
1
valcano618
03/17/2015 7:24 pm
Level 3 : Apprentice Miner
ok, thanks a lot
1
valcano618
03/17/2015 7:11 pm
Level 3 : Apprentice Miner
When ever I type /scoreboard objectives add BreakStone stat.mineBlock.stone it says its an invalid objective. Also, I want to make it were you can only spawn in mobs by using eggs but the mobs don't naturally spawn.

Thanks
1
Jmal116
03/17/2015 7:22 pm
Level 34 : Artisan System
Objectives still use block id's as numbers, not words. So the correct criteria would be stat.mineBlock.1

As for the mobs, you can use /gamerule doMobSpawning false to turn of natural spawning of mobs. This should still let you use spawn eggs.
1
Skitto493
03/17/2015 6:45 pm
Level 55 : Grandmaster Dragon
To detect 100 broken stone, first create a scoreboard objective

/scoreboard objectives add BreakStone stat.mineBlock.stone

Next, have a command block running on a clock with

/testfor @a[score_BreakStone_min=100]


For disabling the spawning of a certain mob, try having a command block on a clock with

/tp @e[type=MOB] ~0 ~-250 ~0
1

Welcome