tests whether a certain block is a specific location.
testforblock <position x: coordinate> <position y: coordinate> <position z: coordinate> <tile name: block> [data value: integer]| Parameter | Type | Required | Other |
|---|---|---|---|
testforblock |
keyword | true | |
position x |
coordinate | true | |
position y |
coordinate | true | |
position z |
coordinate | true | |
tile name |
block | true | |
data value |
integer | false |