– Minecraft RaspberryPi3
Raspberry Pi 3에 Ubuntu Mate를 설치했고, python3를 사용하며, 기본적으로 마인크래프트는 Ubuntu Mate를 설치하면 기본적으로 깔려있습니다.
마인크래프트 파이썬 api의 기본코드를 살펴봅시다!!
-마인크래프트 파이썬 api(RaspberryPi3) 소스코드
-Mincraft 연결
from mcpi.minecraft import Minecraft
mc = Minecraft.create()
mc.player.setTitlePos(x, y, z) // 정수 값
mc.player.setPos(x, y, z) // 부동소수 값
pos = mc.player.getTilePos()
pos = mc.player.getPos()
x, y, z = pos.x, pos.y, pos.z
blockType = mc.getBlock(x, y, z)
mc.getBlock(x, y, z, blockType)
mc.setBlocks(x1, y1, z1, x2, y2, z2, blockType) // 6면체
block = mc.getBlockWithData(x, y, z)
mc.setBlock(x, y, z, block.id, block.data)
highestBlockY = mc.getHeight(x, y)
mc.events.pollBlockHits()
mc.postToChat(str)
mc.setting(“world_immutable”, True) // Immutable
Raspberry Pi 3
x : -127 ~ 127
y : -62 ~ 63
z : -127 ~ 127
-스피곳 실행
-Start_Server 실행 -> server version 확인
-참고 링크
마인크래프트 설치파일&사용키 – https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=wonmylover&logNo=220813173387
Your article helped me a lot, is there any more related content? Thanks!
Your article helped me a lot, is there any more related content? Thanks!
Your article helped me a lot, is there any more related content? Thanks!
I don’t think the title of your article matches the content lol. Just kidding, mainly because I had some doubts after reading the article. https://www.binance.info/zh-CN/register?ref=VDVEQ78S
Trong những năm đầu hoạt động, SLOT365 chỉ tập trung vào việc xây dựng nền tảng kỹ thuật vững chắc và thu hút người chơi bằng các ưu đãi hấp dẫn. Sau một thời gian ngắn, nhà cái đã mở rộng danh mục trò chơi của mình, không chỉ giới hạn ở cá cược thể thao mà còn phát triển thêm nhiều trò chơi khác như poker, blackjack và slot games. TONY06-16