Skip to content

Commit 6eeb804

Browse files
Initial commit
Literally just: $ wget https://s3.amazonaws.com/assets.minecraft.net/pi/minecraft-pi-0.1.1.tar.gz $ tar zxvf minecraft-*tar.gz $ git init $ git add . $ git commit
0 parents  commit 6eeb804

File tree

158 files changed

+19221
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

158 files changed

+19221
-0
lines changed

CONTROLS.txt

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
=== KEYBOARD ===
2+
W,A,S,D - Move (navigate inventory)
3+
SPACE - Jump, double tap to start/stop flying, hold to fly higher
4+
SHIFT - Sneak, hold to fly lower
5+
E - Open inventory
6+
1-8 - Select inventory slot item to use
7+
ESC - Show/hide menu
8+
TAB - Release mouse without showing menu
9+
ENTER - Confirm menu selection
10+
11+
=== Mouse ===
12+
Steer - Look/turn around
13+
Left mouse button - Remove block (hold)
14+
Right mouse button - Place block, hit block with sword
15+
Mouse wheel - Select inventory slot item to use
16+

HOW_TO_RUN.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
1. If XWindows isn't started yet, start it by typing "startx".
2+
2. Launch LXTerminal by clicking the icon on the desktop
3+
3. cd to the "mcpi" folder
4+
4. Launch Minecraft - Pi Edition by typing "./minecraft-pi".

LICENSE.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*** The real license isn't finished yet, here's what goes in plain english ***
2+
3+
You may execute the minecraft-pi binary on a Raspberry Pi or an emulator
4+
You may use any of the source code included in the distribution for any purpose (except evil)
5+
6+
You may not redistribute any modified binary parts of the distribution

VERSION.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0.1.1 alpha
2+

api/java/HOW_TO_RUN_DEMOS.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Use one of the lines below to run a demo. [host] is an optional ip-address.
2+
3+
java -cp McPiDemos.jar pi.demo.LoopDemo [host]
4+
java -cp McPiDemos.jar pi.demo.LowLevelDemo [host]
5+
java -cp McPiDemos.jar pi.demo.TextDemo [host]
6+
java -cp McPiDemos.jar pi.demo.TurtleDemo [host]
7+
8+
java -cp McPiDemos.jar pi.demo.sokoban.Sokoban [host]

api/java/McPi.jar

25.7 KB
Binary file not shown.

api/java/McPiDemos.jar

14.1 KB
Binary file not shown.

api/java/doc/allclasses-frame.html

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!--NewPage-->
3+
<HTML>
4+
<HEAD>
5+
<!-- Generated by javadoc (build 1.6.0_37) on Mon Feb 11 11:18:21 CET 2013 -->
6+
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<TITLE>
8+
All Classes (Minecraft Pi Edition, Java API)
9+
</TITLE>
10+
11+
<META NAME="date" CONTENT="2013-02-11">
12+
13+
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
14+
15+
16+
</HEAD>
17+
18+
<BODY BGCOLOR="white">
19+
<FONT size="+1" CLASS="FrameHeadingFont">
20+
<B>All Classes</B></FONT>
21+
<BR>
22+
23+
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
24+
<TR>
25+
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="pi/Block.html" title="class in pi" target="classFrame">Block</A>
26+
<BR>
27+
<A HREF="pi/event/BlockEvent.html" title="class in pi.event" target="classFrame">BlockEvent</A>
28+
<BR>
29+
<A HREF="pi/event/BlockHitEvent.html" title="class in pi.event" target="classFrame">BlockHitEvent</A>
30+
<BR>
31+
<A HREF="pi/Color.html" title="enum in pi" target="classFrame">Color</A>
32+
<BR>
33+
<A HREF="pi/Item.html" title="class in pi" target="classFrame">Item</A>
34+
<BR>
35+
<A HREF="pi/Minecraft.html" title="class in pi" target="classFrame">Minecraft</A>
36+
<BR>
37+
<A HREF="pi/tool/Text.html" title="class in pi.tool" target="classFrame">Text</A>
38+
<BR>
39+
<A HREF="pi/tool/Tools.html" title="class in pi.tool" target="classFrame">Tools</A>
40+
<BR>
41+
<A HREF="pi/tool/Turtle.html" title="class in pi.tool" target="classFrame">Turtle</A>
42+
<BR>
43+
<A HREF="pi/Vec.html" title="class in pi" target="classFrame">Vec</A>
44+
<BR>
45+
<A HREF="pi/Vec.Unit.html" title="class in pi" target="classFrame">Vec.Unit</A>
46+
<BR>
47+
<A HREF="pi/VecFloat.html" title="class in pi" target="classFrame">VecFloat</A>
48+
<BR>
49+
</FONT></TD>
50+
</TR>
51+
</TABLE>
52+
53+
</BODY>
54+
</HTML>

api/java/doc/allclasses-noframe.html

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!--NewPage-->
3+
<HTML>
4+
<HEAD>
5+
<!-- Generated by javadoc (build 1.6.0_37) on Mon Feb 11 11:18:21 CET 2013 -->
6+
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<TITLE>
8+
All Classes (Minecraft Pi Edition, Java API)
9+
</TITLE>
10+
11+
<META NAME="date" CONTENT="2013-02-11">
12+
13+
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
14+
15+
16+
</HEAD>
17+
18+
<BODY BGCOLOR="white">
19+
<FONT size="+1" CLASS="FrameHeadingFont">
20+
<B>All Classes</B></FONT>
21+
<BR>
22+
23+
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
24+
<TR>
25+
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="pi/Block.html" title="class in pi">Block</A>
26+
<BR>
27+
<A HREF="pi/event/BlockEvent.html" title="class in pi.event">BlockEvent</A>
28+
<BR>
29+
<A HREF="pi/event/BlockHitEvent.html" title="class in pi.event">BlockHitEvent</A>
30+
<BR>
31+
<A HREF="pi/Color.html" title="enum in pi">Color</A>
32+
<BR>
33+
<A HREF="pi/Item.html" title="class in pi">Item</A>
34+
<BR>
35+
<A HREF="pi/Minecraft.html" title="class in pi">Minecraft</A>
36+
<BR>
37+
<A HREF="pi/tool/Text.html" title="class in pi.tool">Text</A>
38+
<BR>
39+
<A HREF="pi/tool/Tools.html" title="class in pi.tool">Tools</A>
40+
<BR>
41+
<A HREF="pi/tool/Turtle.html" title="class in pi.tool">Turtle</A>
42+
<BR>
43+
<A HREF="pi/Vec.html" title="class in pi">Vec</A>
44+
<BR>
45+
<A HREF="pi/Vec.Unit.html" title="class in pi">Vec.Unit</A>
46+
<BR>
47+
<A HREF="pi/VecFloat.html" title="class in pi">VecFloat</A>
48+
<BR>
49+
</FONT></TD>
50+
</TR>
51+
</TABLE>
52+
53+
</BODY>
54+
</HTML>

api/java/doc/constant-values.html

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!--NewPage-->
3+
<HTML>
4+
<HEAD>
5+
<!-- Generated by javadoc (build 1.6.0_37) on Mon Feb 11 11:18:21 CET 2013 -->
6+
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<TITLE>
8+
Constant Field Values (Minecraft Pi Edition, Java API)
9+
</TITLE>
10+
11+
<META NAME="date" CONTENT="2013-02-11">
12+
13+
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
14+
15+
<SCRIPT type="text/javascript">
16+
function windowTitle()
17+
{
18+
if (location.href.indexOf('is-external=true') == -1) {
19+
parent.document.title="Constant Field Values (Minecraft Pi Edition, Java API)";
20+
}
21+
}
22+
</SCRIPT>
23+
<NOSCRIPT>
24+
</NOSCRIPT>
25+
26+
</HEAD>
27+
28+
<BODY BGCOLOR="white" onload="windowTitle();">
29+
<HR>
30+
31+
<HR>
32+
<CENTER>
33+
<H1>
34+
Constant Field Values</H1>
35+
</CENTER>
36+
<HR SIZE="4" NOSHADE>
37+
<B>Contents</B><UL>
38+
<LI><A HREF="#pi">pi.*</A>
39+
</UL>
40+
41+
<A NAME="pi"><!-- --></A>
42+
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
43+
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
44+
<TH ALIGN="left"><FONT SIZE="+2">
45+
pi.*</FONT></TH>
46+
</TR>
47+
</TABLE>
48+
49+
<P>
50+
51+
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
52+
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
53+
<TH ALIGN="left" COLSPAN="3">pi.<A HREF="pi/Vec.html" title="class in pi">Vec</A></TH>
54+
</TR>
55+
<TR BGCOLOR="white" CLASS="TableRowColor">
56+
<A NAME="pi.Vec.MAX_Y"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
57+
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
58+
<TD ALIGN="left"><CODE><A HREF="pi/Vec.html#MAX_Y">MAX_Y</A></CODE></TD>
59+
<TD ALIGN="right"><CODE>127</CODE></TD>
60+
</TR>
61+
<TR BGCOLOR="white" CLASS="TableRowColor">
62+
<A NAME="pi.Vec.MIN_Y"><!-- --></A><TD ALIGN="right"><FONT SIZE="-1">
63+
<CODE>public&nbsp;static&nbsp;final&nbsp;int</CODE></FONT></TD>
64+
<TD ALIGN="left"><CODE><A HREF="pi/Vec.html#MIN_Y">MIN_Y</A></CODE></TD>
65+
<TD ALIGN="right"><CODE>-128</CODE></TD>
66+
</TR>
67+
</FONT></TD>
68+
</TR>
69+
</TABLE>
70+
71+
<P>
72+
73+
<P>
74+
<HR>
75+
76+
<HR>
77+
78+
</BODY>
79+
</HTML>

api/java/doc/deprecated-list.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!--NewPage-->
3+
<HTML>
4+
<HEAD>
5+
<!-- Generated by javadoc (build 1.6.0_37) on Mon Feb 11 11:18:21 CET 2013 -->
6+
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<TITLE>
8+
Deprecated List (Minecraft Pi Edition, Java API)
9+
</TITLE>
10+
11+
<META NAME="date" CONTENT="2013-02-11">
12+
13+
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
14+
15+
<SCRIPT type="text/javascript">
16+
function windowTitle()
17+
{
18+
if (location.href.indexOf('is-external=true') == -1) {
19+
parent.document.title="Deprecated List (Minecraft Pi Edition, Java API)";
20+
}
21+
}
22+
</SCRIPT>
23+
<NOSCRIPT>
24+
</NOSCRIPT>
25+
26+
</HEAD>
27+
28+
<BODY BGCOLOR="white" onload="windowTitle();">
29+
<HR>
30+
31+
<HR>
32+
<CENTER>
33+
<H2>
34+
<B>Deprecated API</B></H2>
35+
</CENTER>
36+
<HR SIZE="4" NOSHADE>
37+
<B>Contents</B><UL>
38+
</UL>
39+
40+
<HR>
41+
42+
<HR>
43+
44+
</BODY>
45+
</HTML>

api/java/doc/index.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
2+
<!--NewPage-->
3+
<HTML>
4+
<HEAD>
5+
<!-- Generated by javadoc on Mon Feb 11 11:18:21 CET 2013-->
6+
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<TITLE>
8+
Minecraft Pi Edition, Java API
9+
</TITLE>
10+
<SCRIPT type="text/javascript">
11+
targetPage = "" + window.location.search;
12+
if (targetPage != "" && targetPage != "undefined")
13+
targetPage = targetPage.substring(1);
14+
if (targetPage.indexOf(":") != -1)
15+
targetPage = "undefined";
16+
function loadFrames() {
17+
if (targetPage != "" && targetPage != "undefined")
18+
top.classFrame.location = top.targetPage;
19+
}
20+
</SCRIPT>
21+
<NOSCRIPT>
22+
</NOSCRIPT>
23+
</HEAD>
24+
<FRAMESET cols="20%,80%" title="" onLoad="top.loadFrames()">
25+
<FRAMESET rows="30%,70%" title="" onLoad="top.loadFrames()">
26+
<FRAME src="overview-frame.html" name="packageListFrame" title="All Packages">
27+
<FRAME src="allclasses-frame.html" name="packageFrame" title="All classes and interfaces (except non-static nested types)">
28+
</FRAMESET>
29+
<FRAME src="overview-summary.html" name="classFrame" title="Package, class and interface descriptions" scrolling="yes">
30+
<NOFRAMES>
31+
<H2>
32+
Frame Alert</H2>
33+
34+
<P>
35+
This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
36+
<BR>
37+
Link to<A HREF="overview-summary.html">Non-frame version.</A>
38+
</NOFRAMES>
39+
</FRAMESET>
40+
</HTML>

api/java/doc/overview-frame.html

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<!--NewPage-->
3+
<HTML>
4+
<HEAD>
5+
<!-- Generated by javadoc (build 1.6.0_37) on Mon Feb 11 11:18:21 CET 2013 -->
6+
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
7+
<TITLE>
8+
Overview List (Minecraft Pi Edition, Java API)
9+
</TITLE>
10+
11+
<META NAME="date" CONTENT="2013-02-11">
12+
13+
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
14+
15+
16+
</HEAD>
17+
18+
<BODY BGCOLOR="white">
19+
20+
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
21+
<TR>
22+
<TH ALIGN="left" NOWRAP><FONT size="+1" CLASS="FrameTitleFont">
23+
<B></B></FONT></TH>
24+
</TR>
25+
</TABLE>
26+
27+
<TABLE BORDER="0" WIDTH="100%" SUMMARY="">
28+
<TR>
29+
<TD NOWRAP><FONT CLASS="FrameItemFont"><A HREF="allclasses-frame.html" target="packageFrame">All Classes</A></FONT>
30+
<P>
31+
<FONT size="+1" CLASS="FrameHeadingFont">
32+
Packages</FONT>
33+
<BR>
34+
<FONT CLASS="FrameItemFont"><A HREF="pi/package-frame.html" target="packageFrame">pi</A></FONT>
35+
<BR>
36+
<FONT CLASS="FrameItemFont"><A HREF="pi/event/package-frame.html" target="packageFrame">pi.event</A></FONT>
37+
<BR>
38+
<FONT CLASS="FrameItemFont"><A HREF="pi/tool/package-frame.html" target="packageFrame">pi.tool</A></FONT>
39+
<BR>
40+
</TD>
41+
</TR>
42+
</TABLE>
43+
44+
<P>
45+
&nbsp;
46+
</BODY>
47+
</HTML>

0 commit comments

Comments
 (0)