I am making a Minecraft map. When you stand on a pressure plate, a squid has to die. The squid is at position [831, 65, -232]
.
Minecraft – How to kill a certain entity in minecraft
minecraft-java-edition
Related Topic
- Minecraft – kill @p causes kill @e
- Minecraft Java Edition – Setting Up a Scoreboard for Items in Minecraft
- Minecraft Java Edition Redstone – How to Output Signal with Pressure Plate Timing
- Minecraft – How to kill chickens in a Chicken Generator
- Minecraft – How to send a custom Tellraw message based on the player in a certain location in Minecraft
Best Answer
To kill your squid, if its exactly in that coordinate, use
This will kill all squids that are at the coordinates 831,65,-232 with a range of 0. The range of 0 means that only the squids on that coordinate will be killed.
To be a little more secure, use this command:
This will only kill the nearest squid that is on the coordinates 831,65,-232 with a maximum range of 0 so only the squid that is on that coordinate is killed.