Last active
January 2, 2020 20:54
-
-
Save mirontoli/4ce0999fcd9acf59331382ba539f66e7 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
player.onChat("panda", function () { | |
for (let index = 0; index < 100; index++) { | |
mobs.spawn(AnimalMob.Panda, positions.create(0, 10, 0)) | |
} | |
}) | |
player.onChat("sik", function () { | |
player.teleport(positions.create(0, 10, 0)) | |
}) | |
player.onItemInteracted(Item.IronShovel, function () { | |
blocks.place(Block.NoteBlock, positions.create(2, 0, 0)) | |
}) | |
player.onChat("jump", function () { | |
player.teleport(positions.create(0, 100, 0)) | |
}) | |
player.onChat("build", function () { | |
builder.teleportTo(positions.create(10, 0, 10)) | |
for (let index2 = 0; index2 <= 100; index2++) { | |
for (let index3 = 0; index3 <= 100; index3++) { | |
builder.place(Block.GoldBlock) | |
builder.move(SixDirection.Left, 1) | |
} | |
builder.move(SixDirection.Up, 1) | |
builder.move(SixDirection.Right, 100) | |
} | |
}) | |
player.say("Hallå för fan") | |
player.onChat("tnt", function () { | |
blocks.fill( | |
Block.TNT, | |
positions.create(1, 1, 1), | |
positions.create(30, 30, 30), | |
FillOperation.Replace | |
) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment