I am working on my "Minecart Elevator" and I need to kill all the minecarts on a specific block. I have tried many methods, but none of them work. There is no track below the minecarts. How should I do this?
Minecraft Java Edition – How to Remove All Minecarts on a Specific Block Using Commands
minecraft-commandsminecraft-java-edition
Related Topic
- Minecraft – How to kill all entities of a specific type, EXCEPT the youngest one
- Minecraft – How to use /kill to kill Mooshrooms with a specific name and within a certain radius
- Minecraft Java Edition – How to Unload a Horse from a Minecart
- Minecraft Commands – How to Kill All Armor Stands Within a Block Except One
- Minecraft Java Edition – Teleport All Entities Relative to Themselves in 1.13
- Minecraft – Help Combining Commands on a CMD Block
- Minecraft-Java-Edition – How to Stack TNT Minecarts in Minecraft Java Edition
Best Answer
I found it. At https://gist.github.com/Dinnerbone/3736487, there is information stating that to target entities at a block, you use:
where 4,4,4 are your x y and z, and your_radius is your radius.