Item components
ToggleSwitch
A [switchable] [signal generator] persistent signal input for computer-controlled items
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
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