Created
January 1, 2017 17:16
-
-
Save yukkura/3ee0d2a3c49556e1b291d3f445bf18e1 to your computer and use it in GitHub Desktop.
This file contains 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
import mcpi.minecraft as minecraft | |
import mcpi.entity as entity | |
mc = minecraft.Minecraft() | |
pos = mc.player.getPos() | |
for y in range(10): | |
for x in range(10): | |
mc.spawnEntity(entity.CHICKEN, pos.x + x + 1, pos.y + y, pos.z + 1, "{Passive:1}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment