Clockwork/Altimeter

Current

Revision as of by risatorp

Written from the Clockwork 0.5.7.2 code

risatorp··2b3bd266

From

Empty page: the page didn't exist yet.

Title

1Clockwork/Altimeter

Summary

1Outputs a redstone signal based on the block's height relative to a target altitude.

Categories

1Addons
2Blocks

Text

+46−01 change

1```infobox {float=right}
2block: vs_clockwork:alt_meter
3```
4
5Altimeter is a block from Clockwork.
6
7## Obtaining
8
9```recipe
10{
11 "type": "minecraft:crafting_shaped",
12 "pattern": [
13 " H ",
14 "RSR",
15 " B "
16 ],
17 "key": {
18 "B": {
19 "item": "create:brass_casing"
20 },
21 "H": {
22 "item": "minecraft:white_wool"
23 },
24 "R": {
25 "item": "minecraft:redstone"
26 },
27 "S": {
28 "item": "minecraft:string"
29 }
30 },
31 "result": {
32 "item": "vs_clockwork:alt_meter"
33 }
34}
35```
36
37## Usage
38
39Right-click to set a target altitude (Y), sensitivity, and a direction. The Altimeter reads its world height and outputs the same signal on all sides:
40- **Up**: 15 at or above the target, falling to 0 at sensitivity blocks below it.
41- **Down**: 15 at or below the target, falling to 0 at sensitivity blocks above it.
42- **Both**: 15 at the target, falling to 0 at sensitivity blocks away in either direction.
43
44It is a [Display Link](https://createmodminecraft.miraheze.org/wiki/Display_Link) source. With CC: Tweaked it is a peripheral (`cw_alt_meter`) with `getHeight()`, `getOutput()` and getters and setters for the target, sensitivity and direction.
45
46## History