Updated:
Marker: entity ID and summon command
The entity ID for Marker is minecraft:marker. Use it with /summon and in selectors such as @e[type=…]. It was added in Java 1.17.
Basic data
| Name | Marker |
|---|---|
| ID (Java Edition) | minecraft:marker |
| Type | Other entity |
| Java versions | Java 1.17 and later |
| Bedrock 26.52 | This ID is not accepted as is |
Commands you can copy
Java Edition
Summon at your position
/summon minecraft:marker ~ ~ ~Remove all of them
/kill @e[type=minecraft:marker]Remove only within 10 blocks
/kill @e[type=minecraft:marker,distance=..10]Test whether one exists
/execute if entity @e[type=minecraft:marker]Bedrock Edition
Bedrock does not accept this ID. Check the Bedrock form with the Java / Bedrock converter.
Version notes
It was added in Java 1.17. Older versions report that the ID is unknown.
In selectors, Java Edition uses type=minecraft:ID and Bedrock uses type=ID. Add ! as in type=!minecraft:ID to match everything else.
Questions
What is the ID for Marker?
It is minecraft:marker. In commands you can also write marker without minecraft:.
How far does /kill reach?
@e[type=minecraft:marker] matches every one in loaded chunks. To limit it to nearby ones, add distance=..10 (r=10 on Bedrock).