1

/testfor help

PieHoletheepic 12/23/14 7:27 am
242
12/23/2014 6:32 pm
I have been looking for a while and can't find this. I need a list of all the testfor. For example there is /testfor {SelectedItemSlot:_}. So is there a list of all of them somewhere?
Posted by
PieHoletheepic
Level 31 : Artisan Lad
24

  Have something to say?

JoinSign in

1

Jmal116
12/23/2014 6:32 pm
Level 34 : Artisan System
First off, /testfor requires some form of target selector. So you'll have to use something like @p or @a before you go into the data tags (curly brackets). For a list of all of those and the different things you can do with them, check out the wiki: http://minecraft.gamepedia.com/Commands ... _selectors

As for the data tags, there are just too many to list here. The wiki has two pages filled with just data tag stuff, one with a lot of things about players and items: http://minecraft.gamepedia.com/Player.dat_Format
and yet another with info on all the other entities and blocks (chests, command blocks, droppers, etc.): http://minecraft.gamepedia.com/Chunk_format

Long story short, don't try to memorize them all. Those pages are always updated, and I keep them bookmarked for if I ever need to use them.
1

Welcome