updated configuration

This commit is contained in:
lax1dude 2020-09-01 17:52:13 -07:00
parent 1efcaeec14
commit 4f1251e8be
7 changed files with 229787 additions and 16 deletions

View File

@ -6,13 +6,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/main" path="src/main/resources">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="bin/main" path="src_minecraft">
<classpathentry kind="src" output="bin/main" path="src/teavm/java">
<attributes>
<attribute name="gradle_scope" value="main"/>
<attribute name="gradle_used_by_scope" value="main,test"/>

View File

@ -20,11 +20,4 @@
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
<linkedResources>
<link>
<name>src_minecraft</name>
<type>2</type>
<location>S:/Misc Minecraft/minecraft html5/minecrafthtml5mcp/src_minecraft</location>
</link>
</linkedResources>
</projectDescription>

View File

@ -19,7 +19,8 @@ targetCompatibility = 1.8
sourceSets {
main {
java {
srcDir '../minecrafthtml5mcp/src_minecraft'
srcDir 'src/main/java'
srcDir 'src/teavm/java'
}
}
}

BIN
javascript/assets.epk Normal file

Binary file not shown.

229770
javascript/classes.js Normal file

File diff suppressed because one or more lines are too long

14
javascript/index.html Normal file
View File

@ -0,0 +1,14 @@
<html>
<head>
<title>eagler</title>
<script type="text/javascript" src="classes.js"></script>
<script type="text/javascript">
window.addEventListener("load", function(){ window.minecraftOpts = [
"game_frame","assets.epk",
"CgAACQAHc2VydmVycwoAAAACCAACaXAAI3dzczovL2VhZ3MtZGRucy5ueC50Yy9lYWdzLWNyZWF0aXZlCAAEbmFtZQAUZWFnbGVyY3JhZnQgY3JlYXRpdmUBAAtoaWRlQWRkcmVzcwAIAApmb3JjZWRNT1REACF0aGUgb2ZmaWNpYWwgY3JlYXRpdmUgbW9kZSBzZXJ2ZXIACAACaXAAI3dzczovL2VhZ3MtZGRucy5ueC50Yy9lYWdzLXN1cnZpdmFsCAAEbmFtZQAUZWFnbGVyY3JhZnQgc3Vydml2YWwBAAtoaWRlQWRkcmVzcwAIAApmb3JjZWRNT1REACF0aGUgb2ZmaWNpYWwgc3Vydml2YWwgbW9kZSBzZXJ2ZXIAAA=="
]; main(); });
</script>
</head>
<body style="margin:0px;width:100vw;height:100vh;" id="game_frame">
</body>
</html>

View File

@ -5,7 +5,6 @@ import java.util.HashSet;
import java.util.List;
import net.minecraft.src.*;
import sun.java2d.loops.DrawLine;
import net.lax1dude.eaglercraft.DefaultSkinRenderer;
import net.lax1dude.eaglercraft.EaglerAdapter;
import net.lax1dude.eaglercraft.EaglerProfile;