mojira.dev
MC-51525

testfor OnGround Bug

a command block have testfor @e[type=Arrow] {OnGround:1b} curently testing because of a redstone clock. When i shot a arrow and she hit the ground, the command block keep telling me: arrow did not match the required data structure. the problem is the command or a bug?

Comments 2

Ok I got it figured out. Playtested this and it didn't work for me either. Examining the arrow in a map editor revealed that the first word should not be capitalized. More importantly it's "inGround" not "onGround" or "OnGround". in.

Yeah thanks i find out in a tutorial

Samuel Caron

(Unassigned)

Unconfirmed

OnGround, arrow, command_block, redstone, testfor

Minecraft 14w11b

Retrieved