mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 09:18:05 -04:00
Updated Component NoteBlock (markdown)
parent
48e8080f9c
commit
388ef44314
@ -11,6 +11,7 @@ Callbacks:
|
|||||||
|
|
||||||
Example use:
|
Example use:
|
||||||
```lua
|
```lua
|
||||||
|
local component = require("component")
|
||||||
val nb = component.note_block -- get primary note block
|
val nb = component.note_block -- get primary note block
|
||||||
nb.setPitch(10)
|
nb.setPitch(10)
|
||||||
nb.trigger()
|
nb.trigger()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user