MC0230

From MinecraftOnline
Jump to navigation Jump to search
Day Sensor (Self Triggered)
About
ID MC0230
Self-Triggering Yes
Clickable No
Input Yes
Output Single
Sign Format
First line DAY SENSOR
Second line [MC0230]
Third line (StartTime)
Fourth line (EndTime)
Craftbook Page

MC0230 is a self-triggering Craftbook IC that continuously outputs a signal depending on whether the current world time falls within a specified time interval.

Details

  • Second Line
    • [MC0230]
  • Third Line
    • (StartTime) optional; defaults to 0.
      • Specifies the beginning of the time interval.
      • Needs to be a be whole integer, representing Minecraft world-time units (ticks).
  • Fourth Line
    • (EndTime) optional; defaults to 13000.
      • Specifies the end of the time interval.
      • Needs to be a be whole integer, representing Minecraft world-time units (ticks).


The IC continuously checks the current world time and outputs high if it falls within the specified time interval. Otherwise, it outputs low.

The time is measured using Minecraft's world time, which cycles every 24000 ticks.

When StartTime is less than EndTime, both boundaries are inclusive.

By default, StartTime is 0 and EndTime is 13000. This means the IC outputs high from the beginning of the Minecraft day until world time 13000.

Examples

Basic setup

line1:
line2: [MC0230]
line3:
line4:

Continuously outputs high during the default daytime interval, from world time 0 to 13000.

Specific time interval setup

line1:
line2: [MC0230]
line3: 1000
line4: 12000

Continuously outputs high between world time 1000 and 12000, inclusive.

See Also