Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
roflmuffin
Sep 24th, 2019
82
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.19 KB
| None
|
0
0
raw
download
clone
embed
print
report
thresholdTicks = 20
machine = peripheral.wrap('left')
function getEnergyPercentage()
return machine.getEnergyStored() / machine.getEnergyCapacity()
end
print(getEnergyPercentage())
Add Comment
Please,
Sign In
to add comment
Public Pastes
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 3 min ago | 0.29 KB
🤑G2A.com Free Gift Card FIX June 2024🎁
JavaScript | 10 min ago | 0.30 KB
Untitled
C++ | 11 min ago | 0.36 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 16 min ago | 0.29 KB
HobbyTuples
Python | 16 min ago | 1.27 KB
charts_olap
PostgreSQL | 19 min ago | 0.17 KB
datasource
PostgreSQL | 21 min ago | 0.44 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 22 min ago | 0.30 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!