Pixel art illustration of a daylight detector slab with a dark blue glass light-sensor top
Minecraft Java Item ID

Daylight Detector ID

Daylight Detector emits a redstone signal based on sunlight level. It is crafted from glass, nether quartz, and wooden slabs.

Partial data
Namespaced item ID minecraft:daylight_detector

Daylight Detector Item Facts

CategoryRedstone
Maximum stackNot yet verified
Historical numerical ID151

Historical numerical ID: Reviewed for Java Edition 1.12.2 and earlier.

Give Command for Daylight Detector

Copy the current Java Edition command, or open the generator to change the player and quantity.

/give @p minecraft:daylight_detector 1

Customize this command → View crafting recipe →

Historical command for Java 1.12.2 and earlier

Modern namespaced IDs are recommended. This numerical form is only for old Java releases.

/give @p 151 1

Give command syntax by version

Java 1.13+
/give @p minecraft:daylight_detector 1
Namespaced ID (current format)
Java 1.8–1.12.2
/give @p 151 1 0
Numerical ID + data value
Bedrock Edition
/give @p minecraft:daylight_detector 1
Same namespaced ID (namespace optional)

Rows appear only when the underlying value is verified: the Java 1.8–1.12.2 row requires a reviewed historical numerical ID, and the Bedrock row appears only when this exact namespaced ID exists in the Bedrock registry.

How to Get Daylight Detector

Crafting Recipe

GlassGlassGlass
Nether QuartzNether QuartzNether Quartz
Cherry SlabCherry SlabCherry Slab

Crafting table recipe — makes 1 × Daylight Detector.

GlassGlassGlass
Nether QuartzNether QuartzNether Quartz
Bamboo SlabBamboo SlabBamboo Slab

Crafting table recipe — makes 1 × Daylight Detector.

GlassGlassGlass
Nether QuartzNether QuartzNether Quartz
Mangrove SlabMangrove SlabMangrove Slab

Crafting table recipe — makes 1 × Daylight Detector.

Daylight Detector has 12 crafting recipes in the source data; the first 3 are shown.

Prefer commands? Jump back to the give command matrix above to get Daylight Detector instantly.

Daylight Detector Command Examples

  • Give 1 to nearest player: /give @p minecraft:daylight_detector 1
  • Give 1 to yourself: /give @s minecraft:daylight_detector 1
  • Give to a specific player: /give PlayerName minecraft:daylight_detector 1
  • Clear from inventory: /clear @p minecraft:daylight_detector

Daylight Detector FAQ

What is the item ID for Daylight Detector?

The item ID for Daylight Detector is minecraft:daylight_detector. Java Edition commands such as /give, /clear, and /setblock use this namespaced ID.

What is the numerical ID for Daylight Detector?

Daylight Detector has the historical numerical ID 151, used in Java Edition 1.12.2 and earlier. Current versions use minecraft:daylight_detector instead.

How do I give myself Daylight Detector in Minecraft?

Open the chat window and run /give @p minecraft:daylight_detector 1 to give the nearest player one Daylight Detector. Replace @p with a player name to target someone else.

How do you craft Daylight Detector?

Daylight Detector is crafted on a crafting table with 3 glass, 3 nether quartzs and 3 cherry slabs, which yields 1 Daylight Detector.

Related Redstone

Original pixel art TNT explosive crate icon
Item ID: minecraft:tnt
Item ID: minecraft:lever
Item ID: minecraft:redstone
Item ID: minecraft:repeater
Item ID: minecraft:comparator
Item ID: minecraft:piston
Item ID: minecraft:sticky_piston
Item ID: minecraft:observer