The inGround tag does not update on arrows once it has hit the ground
So if you shoot an arrow it will have the nbt data of {inGround:0b}
and when it lands in a block it will have the nbt data of {inGround:1b}
but if that block is destroyed and the arrow falls, it will still have the nbt tag of {inGround:1b} while it is falling
Demonstration video: https://youtu.be/8YcioLCYvhc
Comments 4
Cannot reproduce.
I watched your video. I think you incorrectly made the command block contraption so that when {inGround:0b}, the score won't go back to 0.
Try making a command block contraption like this.
A repeating command block "/testfor @e[type=Arrow] {inGround:1b}" facing into a conditional chain command block "/give @p stone"
It will only give you stone when the Arrow is in ground.
Yes Roy Sajima, that was my problem ~facepalm
I was using the a repeat command block with "/scoreboard players set @e inGround 1 {inGround:1b}"
and a connected chain command block with "/scoreboard players set @e inGround 0 {inGround:0b}"
but the chain command block was set to "needs redstone" ...~facedesk.
sorry for wasting your time :/
Please do not mark unreleased versions as affected.
You don't have access to them yet.
--- I am a robot. This action was performed automatically.