Java Edition 1.20.6 item

Detector Rail

Detector Rail identifiers, stack size and item properties for Java Edition 1.20.6. Use this version-pinned reference when comparing releases or writing commands.

Detector Rail — representative authorized Minecraft assetDetector Rail
Image source: Minecraft Wiki
Namespaced ID
minecraft:detector_rail
Numeric ID
762
Stack size
64

Version-specific item details

In Java Edition 1.20.6, this item uses the internal name minecraft:detector_rail and numeric protocol ID 762. It stacks to 64.

Command reference

/give @p minecraft:detector_rail 64
/give
Gives an item to the selected target.
@p
The nearest player to where the command runs.
minecraft:detector_rail
The version-pinned textual identifier for Detector Rail.
64
The number of items to give.

Modern namespaced commands normally use the textual identifier. Numeric IDs are shown for data comparison and protocol work, not as a recommendation for modern command syntax.

Compare supported versions

Versions where this identifier does not exist return a real 404. Numeric IDs are protocol data and can change between releases.

Related content