I don't think it's possible to do that unless if you want to run a clock which tests for exactly when a arrow hits the ground/ a wall, and then it instantly kills it.
Another way to do this is to make the arrow teleport to a safe spot if you don't want to kill them, but there isn't really a difference. It will only cause more lag.
I don't think it's possible to do that unless if you want to run a clock which tests for exactly when a arrow hits the ground/ a wall, and then it instantly kills it.
Another way to do this is to make the arrow teleport to a safe spot if you don't want to kill them, but there isn't really a difference. It will only cause more lag.
I am already doing that. I have a working rocket launcher that does something then removes the arrow. But sometimes you can pick up the arrow before it explodes. It just seems to be too slow.
When you're using a repeating command block you don't need any clocks. Set it to Repeating, Unconditional, Needs Redstone and put a redstone block next to it. I'd also recommend using pickup instead of player just to be safe.
/entitydata @e[type=Arrow] {pickup:0b}
Thanks! This really helped! I'll mark this as Solved! (if I can figure out how to do it XD)
the height of the walls around your heart determine how easy it is for you to be hurt, but, they also determine how close loved ones can get to you. ~Me
Hi, I'm making a minecraft minigame where there's going to be a LOT of arrows shot around.
I want to make it so you can not pick up arrows.
Is there a gamerule to do so, or do I have to make a redstone clock?
I don't think it's possible to do that unless if you want to run a clock which tests for exactly when a arrow hits the ground/ a wall, and then it instantly kills it.
Here is what it would look like:
______________________________________________________
BESIDE CLOCK:
No signature, you got a problem?
In a repeating command block: /entitydata @e[type=Arrow] {player:0}
This will prevent players from picking up any arrows. Change the radius for customization, or add it into an execute command.
I am already doing that. I have a working rocket launcher that does something then removes the arrow. But sometimes you can pick up the arrow before it explodes. It just seems to be too slow.
I copied the command into a repeating command block, and it doesn't seem to work. The clock is very fast and I don't know why it doesn't work.
Help?
Thanks! This really helped! I'll mark this as Solved! (if I can figure out how to do it XD)
how to do in 1.13?
the height of the walls around your heart determine how easy it is for you to be hurt, but, they also determine how close loved ones can get to you. ~Me
(1.13) inside repeating command block:
execute as @e[type=arrow] run data merge entity @s {pickup:0b}