Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Script created by Frekvens1 --
- -- Script used by OpenComputers mod in Minecraft --
- -- This script is a lib, probably going to be used in my own OS --
- -- local noteBlocks = require("getNoteBlocks") --
- -- noteBlocks[1].trigger(1) --
- -- pastebin get qap1wCEk getNoteBlocks.lua --
- local noteBlock = {}
- do
- local component = require("component")
- local Count = 1
- for address in component.list("note_block") do
- local inb = component.proxy(address)
- noteBlock[tonumber(Count)] = inb
- Count = Count + 1
- end
- end
- return noteBlock
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement