I'm planning to make a map with custom classes and special abilities in Minecraft with the "new" 1.9 command blocks (although its been 2 years since 1.9 came out, the last time I fiddled with commands was on 1.8, so I'm confused).
Cutting to the chase, I was utterly confused due to the new types of command blocks and how to use them respectively.Here were my issues :
I planned to detect a Giant named Dinnerbone that is on the ground, but for some reason the /testfor @e[type=Giant,name=Dinnerbone] {onGround:1b} command didn't work at all.Perhaps the onground tag was removed after 1.9?
I planned to do a chain of commands on the Giant once it's score on a scoreboard named GiantTimer reaches 0 from 200, with it's score is constantly decreasing by a Repeated command block. I don't know how you could make a single line of command blocks to set the score to 200, remove it 20ticks/s using the repeated command block, and once it reaches zero activate a chain of commands on the Giant with a score of 0. I know the commands to do all these, but I don't get how you can detect when the score reaches 0 and then activate a line of command blocks; I do not know the right combination of the various command blocks to do these. Do you need more columns of command blocks to do that? Set it to Repeat or Conditional? I want the effects from the chain of commands after it detects the score is 0 to happen only once, not repeatedly.