Item components

ToggleSwitch

item componentbuilder

A [switchable] [signal generator] persistent signal input for computer-controlled items

Builder help

You can use the following options with this component: name <name> - sets the name of the component desc <desc> - sets the description of the component onvalue <number> - signal value emitted when the switch is on offvalue <number> - signal value emitted when the switch is off initial - toggles whether the switch starts on or off