Skip to content

Commit 4430bad

Browse files
committed
Mython
1 parent 4512544 commit 4430bad

File tree

10 files changed

+37
-12
lines changed

10 files changed

+37
-12
lines changed

.vscode/settings.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{
2+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

README.md

Lines changed: 35 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,38 @@
1-
# mc2snucode
2-
마인크래프트 맵의 일부분을 http://www.javamath.com/snucode/index.htm 의 터틀크래프트 맵으로 가공해준다.
1+
# Minecraft with Python (이하 Mython)
2+
* SNUCODE PROJECT
33

4-
# 마인크래프트 파이썬 api 설정
4+
## MYTHON 설치 방법
5+
> ### https://drive.google.com/file/d/1czDUJYr93kmCnpa-PK7bf4GXyy7vz9wp/view?usp=sharing Chapter 1 참조
6+
>
7+
> * Python 설치 (Python 3.xx 버전) https://www.python.org/downloads/
8+
> ※ 주의 Python 설치시 Add Python 3.x to PATH 항목을 체크 해야함 <p/>
9+
> * Java 설치 https://www.java.com/ko/ <p/>
10+
> * Minecraft 설치 (Minecraft 1.11.2 버전 필요) https://minecraft.net/ko-kr/download/?ref=bm <p/>
11+
> * Python API 설치 및 서버 구동
12+
> Windows : https://sourceforge.net/projects/program-with-minecraft/
13+
> Mac OS : https://sourceforge.net/projects/program-with-minecraft-mac/
14+
>
15+
> 1. 각 os에 맞게 Minecraft Tools.zip 파일을 다운받고 압축을 푼다.
16+
> 2. Minecraft Tools 폴더 안에 있는 Install_API.bat 파일을 실행시켜 API를 설치한다.
517
6-
https://nostarch.com/programwithminecraft
18+
## MYTHON 실행
19+
> * Minecraft Tools 폴더 안에 있는 Start_Server 바로가기를 실행 시켜 서버를 연다.
20+
> ※ 주의 서버 창을 닫으면 안된다. 서버 창이 열려 있어야 서버에 접속 할 수 있다. <p/>
21+
> * 다운 받은 Minecraft 를 서버 버전에 맞게 실행시킨다.
22+
> ※ 서버 버전은 서버 창의 Starting minecraft server version x.x.x 에서 확인 할 수 있다.
23+
> * Minecraft 가 실행 되면 Multiplayer 로 들어가 Add Server 를 누르고 Server Address 를 'localhost' 라고 한뒤 Done을 눌러 서버에 접속한다. <p/>
24+
> * 그럼 이제 Python 에디터를 열어 맘껏 프로그램을 만들면 된다! <p/>
25+
> * 예제 프로그램
26+
> ```python
27+
> from mcpi.minecraft import Minecraft
28+
> mc = Minecraft.create()
29+
> mc.postToChat("Hello world")
30+
> ```
31+
## 참고 문헌
32+
> * https://nostarch.com/programwithminecraft
33+
> * https://projects.raspberrypi.org/en/projects/getting-started-with-minecraft-pi/5
34+
> * http://www.stuffaboutcode.com/p/minecraft.html
35+
> * https://minecraft-ko.gamepedia.com/Server.properties
736
8-
위의 사이트로 들어가 os버전에 맞는 zip파일을 다운받는다.
9-
Zip파일 압축풀기 후 Install_API.bat 파일을 실행시켜 api를 설치한다.
10-
Start_Server을 실행시켜 마인크래프트 서버를 여는데
11-
서버의 마인크래프트 버전에 맞춰 마인크래프트를 실행 시킨다.
12-
마인크래프트 실행후 ip를 'localhost'로 설정한뒤 서버에 들어가면 된다.
13-
14-
// 실험중
15-
https://www.dropbox.com/s/onl6zxms0ddtnuk/Mython_Installer.zip?dl=1
37+
## Mython Installer (beta)
38+
> * https://www.dropbox.com/s/onl6zxms0ddtnuk/Mython_Installer.zip?dl=1

0 commit comments

Comments
 (0)