Switch
<infobox> <title source="name"><default>Switch</default></title>
<image source="image"></image> <label>ID</label> <group> <header>General Attributes:</header> <label>Is Stackable</label> <label>Is Flammable</label> <label>Fuel Value</label> <label>Is Edible</label> <label>Food Type</label> <label>Nutritional Value</label> <label>Emitted Light Amount</label> <label>Sleep Suitability</label> <label>Fire Duration</label> </group> <group> <header>Physics:</header> <label>Light Attenuation</label> <label>Explosive Power</label> <label>Explosion Resilience</label> <label>Projectile Resilience</label> <label>Density</label> <label>Is Fluid Blocker</label> <label>Projectile Stick Probability</label> </group> <group> <header>Tool-related Attributes:</header> <label>Digging Method</label> <label>Required Tool Level</label> <label>Digging Resilience</label> <label>Impact on Average Tool Longevity</label> </group> <navigation>Block and Item Infobox Explanation</navigation> </infobox>
Description (From Recipaedia)
An electric switch. It is used to set the state of an electric circuit to 1 (lever up) or 0 (lever down). The voltage remains in the selected state until the lever is moved again. A switch has outputs on all sides for easy connection, and can be placed on any horizontal or vertical surface.
Crafting
Crafting requires one stick and 3 copper ingots. You get 4 switches.
Hooking it Up
Simply connect any of its four sides or a WTB to an electric wire. The output is either a constant digital 0 or 1 depending on the position of the switch.
When the switch is placed vertically, the ON position is always UP. When placed on a horizontal surface, ON is either North or West, depending on the orientation. You cannot force it to be ON for the other directions.
Uses
- The basic use is to let the character energize an electric circuit. Of course this includes such things as turning lights on and off.
- It is NOT recommended for operating doors.
- It is a convenient way to produce a constant '1' signal for digital circuits, in lieu of using a battery.
- They can be used to make furniture switches, craft them with two different furnitures to make your custom switches.