Daglichtsensor

Uit Minecraft Wiki
Ga naar: navigatie, zoeken
Daglichtsensor
Daylight Detector.png

Type

Solide Blok

Fysica

Nee

Transparant

Ja

Lichtsterkte

Nee

Explosieweerstand

?

Hardheid

N.V.T.

Gereedschap

?

Vernieuwbaar

Nee

Stapelbaar

Ja (64)

Brandbaar

Nee

Eerste verschijning

13w01a

Laat vallen

Zichzelf

Datawaarde

dec: 151 hex: 0x97 bin: 10010111

Een daglichtsensor kan worden gebruikt voor dingen die in de dag worden geactiveerd en in de nacht niet, dus een Daglichtsensor is alleen overdag, door daglicht, geactiveerd.

Verwerking[bewerken | brontekst bewerken]

Zo wordt een Daglichtsensor gemaakt:

Ingrediënten Invoer » Uitvoer
Glas, Netherkwarts en Houten Platen


























Gebruik[bewerken | brontekst bewerken]

Als een Nachttijddetector[bewerken | brontekst bewerken]

The simplest NOT gate that can be created. The redstone lamp will turn on during the night, and turn off at sunrise. The block in the middle can be anything on which a Redstone Torch can hang (Except for a Redstone Block).

By connecting the sensor to a NOT Gate (inverter), it will output a signal when the light level is LESS than 4, so you can, for example, make lights that turn on at night, or gates that automatically close.

You can also detect moonlight by blocking off the detector so it cannot see light, then pointing a comparator away from it.

Als een Klok[bewerken | brontekst bewerken]

Because you can measure exactly what light level it is, you can make a clock. For example, for every light level it is, 1 light goes on a board. When it is night, the word "Night" is illuminated on the board displaying light level or time. This can be useful for servers, especially if you do not have the ability to create one using piston memory, or do not wish for one as it can be complicated or laggy.

Als een Tijdbom[bewerken | brontekst bewerken]

The daylight sensor can be placed atop TNT unlike most redstone devices. If planted at about midnight, this can make for an excellent timebomb, as the TNT will be ignited when the sun rises. Since the skylight is measured, which is shadowed out by blocks above, the sensor on TNT can be used in traps for players breaking the (e.g. ore or cake) blocks above the sensor. The Daylight sensor bomb can be rigged to go off at different times. If you want it to go off during the day, wire redstone to the TNT from the daylight sensor. While you can just place the sensor on top of the TNT, the TNT will glitch, and you will see the TNT go above the daylight sensor. If you want a bomb to go off during the Night, You will need a NOT Gate, but other than that, its the same. For a bomb to go off at noon, you will need a Redstone Comparator. The Daylight sensor will go through the TNT, but since the lever is always full power, and the daylight sensor gets best power at noon, the bomb will go off at noon.

Getimede Twinkelaar[bewerken | brontekst bewerken]

Using some note blocks and redstone circuitry, you could make a set jingle that plays at certain times of the day, such as a device that warns you that nighttime is over, or is beginning. This could be used as a sort of morning alarm if you do not use a bed.

Als een signaal[bewerken | brontekst bewerken]

The daylight sensor can easily be used to signal things at different times of day. With command blocks in the game, it can do many more things, like broadcast messages or change everyone's gamemodes (For whatever reason). Below are different methods for it.

Mijnbouwsignaal[bewerken | brontekst bewerken]

If you are mining and you want to come up at a time of day, you can connect the day light sensor and make it either send a redstone pulse down your mine or broadcast a command block message.

Command block command for message:

/say <message>

NOTE: On servers this will broadcast a message to the entire server. So use this command:

/tell <your name> <message>

Als een serversignaal[bewerken | brontekst bewerken]

Bericht[bewerken | brontekst bewerken]

You can send out a message to the entire server at a certain point of day. The command block command for this is:

/say <message>

OR

/tell <player> <message>

First broadcasts a message to the server, second one tells a message to a player.

Als een weerbewaakt Station[bewerken | brontekst bewerken]

Using an old fashioned redstone clock that is synchronised with the Minecraft day that is broken up into segments according to the daylight sensor power output schedule, it is possible to use many daylight sensors to build a rainstorm and thunderstorm detector. Use a comparator to reduce the redstone clock's signal strength to below that of the daylight sensor's clear day output. Wire this into the side of another comparator that has a daylight detector wired to the back. The wire coming out of the end of the comparator will deactivate whenever there is a storm. Using this you can detect both rain and thunderstorms using two lines with adequate comparator sensitivity. Using this you can signal an alarm whenever there is a storm, count the number of storms, count the duration of the storms using another clock and some type of memory, and even all three.

Uitvoer[bewerken | brontekst bewerken]

These tables link output values to the time they occur as well as co-occurring light levels. Note that while the sensor responds to changes in light level, the light level only modulates a separate scale that more or less follows sunlight. This modulation does make the tables invalid if the sensor doesn't have a direct view of the sky.

Zonnig weer[bewerken | brontekst bewerken]

Graphed sensor output in clear weather
Signaal sterkte Time level reached Time level dissipates Licht levels
0 N/A N/A 4–5
1 22340 13680 4–7
2 22800 13220 7–9
3 23080 12940 9–11
4 23300 12720 11–12
5 23540 12480 12–13
6 23780 12240 13–14
7 23960 12040 15
8 180 11840 15
9 540 11480 15
10 940 11080 15
11 1380 10640 15
12 1880 10140 15
13 2460 9560 15
14 3180 8840 15
15 4300 7720 15

Regenachtig weer[bewerken | brontekst bewerken]

Signal strength Time level reached Time level dissipates Light levels
0 N/A N/A 4–5
1 22340 13680 4–7
2 22800 13220 6–8
3 23240 12780 8–10
4 23520 12500 9–11
5 23760 12260 10–12
6 0 12020 11–12
7 400 11620 12
8 900 11120 12
9 1440 10580 12
10 2080 9940 12
11 2880 9140 12
12 4120 7900 12

Onweer[bewerken | brontekst bewerken]

Signal strength Time level reached Time level dissipates Light levels
0 N/A N/A 4–5
1 22340 13680 4–6
2 22960 13060 6–8
3 23360 12660 7–8
4 23700 12300 8–10
5 60 11940 10
6 460 11560 10
7 1040 10980 10
8 1740 10280 10
9 2620 9400 10
10 3960 8060 10

Nacht[bewerken | brontekst bewerken]

Due to a bug, an encased sensor currently emits a signal at night. The following table corresponds to a sensor that cannot receive any daylight. Weather is irrelevant at night.

Signal strength Time level reached Time level dissipates
1 14360 21660
2 14740 21280
3 15120 20900
4 15500 20520
5 15900 20120
6 16320 19700
7 16760 19260
8 17240 18780
9 17780 18240

Video[bewerken | brontekst bewerken]

Geschiedenis[bewerken | brontekst bewerken]

Officiële release
[[[Redstone Update||24 November, 2012]]]
Jeb stated that there may be a daylight sensor.
2 January, 2013Jeb tweeted an image of the daylight sensors.
1.513w01aDaglichtsensor toegevoegd

Problemen[bewerken | brontekst bewerken]

Problemen met betrekking tot 'Daglichtsensor' worden bijgehouden op Mojira. Rapporteer problemen daar.

Trivia[bewerken | brontekst bewerken]

  • Daylight Sensors only work by sunlight and cannot be activated by other light sources such as luminescent blocks or torches.
  • Daylight Sensors are less than a slab tall, which is like redstone repeaters, redstone comparators and trapdoors.
  • A daylight sensor connected to a powered dispenser via redstone wire will cause the dispenser to fire every time the light level changes.
  • Rain will affect the sensor.
  • Daylight Sensors, as well as most redstone technology, appear more similar to modern technology compared to most other blocks.
  • Daylight Sensors can be used as fuel in furnaces.
  • Due to the fact that a covered sensor gives output at night, it is possible to create a 24H Redstone clock that is synchronous with the Day-night cycle, that still works during the night.
  • A night sensor (Covered Daylight Sensor) will start giving redstone signal after 14341 ticks and stop after 21658 ticks instead of giving signals exactly at nighttime.
  • A daylight sensor would be used as a power source (solar panels) in the real world, but since it's extremely easy to generate redstone power in Minecraft it's useful only as a sensor.

Galerij[bewerken | brontekst bewerken]