Initial commit
This commit is contained in:
10
BookCraigRichardson/lists/swordHits.py
Normal file
10
BookCraigRichardson/lists/swordHits.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from mcpi.minecraft import Minecraft
|
||||
mc = Minecraft.create()
|
||||
|
||||
import time
|
||||
|
||||
time.sleep(15)
|
||||
|
||||
blockHits = mc.events.pollBlockHits()
|
||||
blockHitsLength = len(blockHits)
|
||||
mc.postToChat("Vash chet " + str(blockHitsLength))
|
||||
Reference in New Issue
Block a user