Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
roflmuffin
Sep 24th, 2019
83
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 GUIDE JUN 2024V4 🎁
GetText | 1 min ago | 0.39 KB
🤑G2A.com Free Gift Card FIX June 2024🎁
JavaScript | 1 min ago | 0.30 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 7 min ago | 0.30 KB
Untitled
Dart | 13 min ago | 5.06 KB
Untitled
C++ | 13 min ago | 4.52 KB
🤑G2A.com Free Gift Card FIX June 2024🤑
JavaScript | 14 min ago | 0.30 KB
Review FPG
PHP | 19 min ago | 2.41 KB
Review FPG
PHP | 19 min ago | 2.21 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!