Hi Gamepedia users and contributors! Please complete this survey to help us learn how to better meet your needs in the future. We have one for editors and readers. This should only take about 7 minutes!

Tutorials/Day night detector

Από Minecraft Wiki
Μετάβαση σε: πλοήγηση, αναζήτηση

Day and night detectors are mechanisms in which allows for the player to detect what time of day it is. In 1.5, a daylight sensor can easily be used to achieve this. However, prior to 1.5 a BUD was used to trigger redstone contraptions.

Daylight sensor method[επεξεργασία | επεξεργασία κώδικα]

Video[επεξεργασία | επεξεργασία κώδικα]

Tutorials/Day night detector/video

Resources required[επεξεργασία | επεξεργασία κώδικα]

Making the circuit[επεξεργασία | επεξεργασία κώδικα]

  • Place the detector in an appropriate place, near your house.
  • Place your lamps in an outer wall (They must be visible from inside!)
  • Connect the detector to a NOT Gate (If you're confused, check the picture), for best effect have a distance of 5-6 blocks (Again, if you don't understand, check the picture).
  • Connect the NOT gate to the lamps.

Thanks to the 1.8 update, there is an easier way to do this:

  • Place the detector in an appropriate place, near your home or on top of your home.
  • Place your lamps in an outer wall (They must be visible from the inside!)
  • Connect the detector to the lamps.
  • Right click the detector

Uses[επεξεργασία | επεξεργασία κώδικα]

This circuit can be used for many things, including

  • Turn on lights inside/outside
  • Turn on in-ground "street lights" to prevent mobs from spawning in a certain area
  • Use lights to prevent spawning, and combine with other defenses to keep mobs out of your house (For example, you could make a drawbridge that retracts at night, or something to automatically kill mobs outside your door in the morning, hooked up to the same circuit that will reduce mob spawning in the first place).
  • Use an "AND" gate to create a circuit that will only work at day, or one that will only work at night

BUD method[επεξεργασία | επεξεργασία κώδικα]

This method of time of day detecting uses a block update detector.

Materials[επεξεργασία | επεξεργασία κώδικα]

Water Bucket Redstone Redstone Repeater Redstone Torch Piston Sticky Piston Grass Block

Instructions[επεξεργασία | επεξεργασία κώδικα]

  1. You need to gather:
Item Amount
Sticky Piston 5
Piston 4
Glass 12
Grass Block 16
Stone 20
Water Bucket 4
Redstone Dust 50
Redstone Repeater 11
Redstone Torch 4


Follow these dimensions before you start.
Dimentions.png

Step Image Description
Step 1 Day-nightstep1.png After you dig a 10×13×4 hole make your day/night detector as in the picture.
Step 2 Day-nightstep2.png Redstone
Step 3 Day-nightstep3.png Redstone Cont.
Notice there is one stone block on each sticky piston.
Step 4 Day-nightstep4.png Glass


Xbox 360 Edition[επεξεργασία | επεξεργασία κώδικα]

Xbox 360 compatible detector