2018年6月23日,翰林國際教育迎來了與Bigger Lab的首次合作講座,為了各位學生家長深入了解計算機編程相關的Minecraft平臺與編程語言Python系列講座。非常感謝各位學生家長的關注和厚愛,特此將本次講座的重點內容進行了回顧。本次回顧將分為兩個部分,第一部分為講座內容,第二部分為線上平臺使用手冊。


Swift playgrounds 也能夠控制機器人
用戶可以使用swift playgrounds 直接控制機器人、無人機以及樂高的開發套件

A sandbox game has limitless possibilities, it allows you to make your own decisions





GAME - NASA, YOUTUBE, CIA

Other people’s work, we can just use the functions inside directly by importing the library

These coordinates are called x, y and z. You have to be careful when you talk about
coordinates in Minecraft; if you use words such as “left” and “right”, whether
something is left or right depends on which way you are facing in the Minecraft world.

x gets bigger as your player heads east, and smaller as you head west.
y gets bigger up in the sky, and smaller down into the ground.
z gets bigger as your player heads south, and smaller as you head north.

一本電子書 –有內容,章節目錄。
同時他是一本可以互動,游戲,Coding,看到運行結果的書。而且開發者可以隨心所欲寫自己的書

一本電子書 –有內容,章節目錄。
同時他是一本可以互動,游戲,Coding,看到運行結果的書。而且開發者可以隨心所欲寫自己的書

一本電子書 –有內容,章節目錄。
同時他是一本可以互動,游戲,Coding,看到運行結果的書。而且開發者可以隨心所欲寫自己的書

Using for loop to do something for a given time

至此,今天的Minecraft-python講座圓滿完成啦!下面是各位學生家長的提問環節!

server1 minecraft-server 47.100.121.67:25565 對應IP (”localhost“,4711)或(”“,4711)
server2 minecraft-server 47.100.121.67:25566 對應IP (”localhost“,4712)或(”“,4712)
server3 minecraft-server 47.100.121.67:25567 對應IP (”localhost“,4713)或(”“,4713)
server4 minecraft-server 47.100.121.67:25568 對應IP (”localhost“,4714)或(””,4714)
原版使用指南為pdf格式文件
推薦使用電腦下載



下載鏈接為ZIP壓縮格斯,內含原版python格式代碼
可下載后使用text打開
推薦使用電腦下載
完成版代碼如下方所示:
import time
import mcpi.minecraft as minecraftTNT = 46
#underscore
SNOW_BLOCK = 80
PUMPKIN = 86
IRON_BLOCK = 42mc = minecraft.Minecraft.create(address = "localhost", port = 4713)
myId = mc.getPlayerEntityId("test_biggerlab")pos = mc.entity.getTilePos(myId)
# pos.x, pos.y, pos.z
x = pos.x+3
y = pos.y
z = pos.z# teacher said:"the PE class is cancelled"
mc.postToChat("Hello World")# camelCase
# goToThePark
# for i in range(10):
# mc.setBlock(x, y, z, SNOW_BLOCK)
# mc.setBlock(x, y+1, z, SNOW_BLOCK)
# mc.setBlock(x, y+2, z, PUMPKIN)
# Welcome to BiggerLab's Minecraft Python Editorfor i in range(100):
mc.setBlock(x, y, z, IRON_BLOCK)
mc.setBlock(x, y+1, z, IRON_BLOCK)
mc.setBlock(x+1, y+1, z, IRON_BLOCK)
mc.setBlock(x-1, y+1, z, IRON_BLOCK)
mc.setBlock(x, y+2, z, PUMPKIN)
x = x+4
time.sleep(2)
# x += 4

? 2025. All Rights Reserved. 滬ICP備2023009024號-1