Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local bridge = peripheral.find("meBridge")
- local mon = peripheral.find("monitor")
- -- Get total system storage
- available_storage = bridge.getAvailableItemStorage()
- total_storage = bridge.getTotalItemStorage()
- percent_storage_available = available_storage / total_storage
- ae_use_per_tic = bridge.getEnergyUsage()
- term.redirect(mon)
- --print("A total of ", tostring(total_storage), " items can be stored currently.")
- --print("Available storage is ", tostring(available_storage), " items.")
- --print(tostring(percent_storage_available), "%", " storage in use.")
- --Netherstars Stored in AE2
- nether_star_count = bridge.getItem({name="minecraft:nether_star"})
- mon.clear()
- mon.setCursorPos(1,1)
- print(tostring(nether_star_count.count), " Netherstars in storage.")
Advertisement
Add Comment
Please, Sign In to add comment