mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-06-25 22:53:22 +00:00
![SquidDev](/assets/img/avatar_default.png)
This also deletes display list support - MC 1.14 now requires VBOs to be supported in some capacity.
11 lines
288 B
Lua
11 lines
288 B
Lua
local tPeripherals = peripheral.getNames()
|
|
print("Attached Peripherals:")
|
|
if #tPeripherals > 0 then
|
|
for n = 1, #tPeripherals do
|
|
local sPeripheral = tPeripherals[n]
|
|
print(sPeripheral .. " (" .. peripheral.getType(sPeripheral) .. ")")
|
|
end
|
|
else
|
|
print("None")
|
|
end
|