This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Use: | |
- Visit web app and paste code into the Javascript console. | |
- If you are unfamiliar, this is like a command prompt for a web page. | |
- Right-click, "Inspect Element." Press Escape to show or hide the console. | |
- You can run a test command like | |
alert("Hello!") | |
- Paste all this code into the console and press Enter to run. | |
- Use command to create one line of text. To delete, or to add a newline, use the existing interface. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from mcapi import * | |
me = player('heyandy889') | |
targetBlock = lookingat(me) | |
x = targetBlock.x | |
y = targetBlock.y - 5 | |
z = targetBlock.z |