Add All new Files to Repository
No files matched your search
@@ -0,0 +1,13 @@
|
||||
#
|
||||
#Thu Sep 13 12:26:41 EDT 2018
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||
eclipse.preferences.version=1
|
||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||
org.eclipse.jdt.core.compiler.source=1.6
|
||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||
@@ -0,0 +1,699 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="EclipseModuleManager">
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.12/111e7bea9c968cdb3d06ef4632bf7ff0824d0f36/launchwrapper-1.12.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/1.3.9/40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf/jsr305-1.3.9.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-debug-all/5.0.3/f9e364ae2a66ce2a543012a4668856e84e5dab74/asm-debug-all-5.0.3.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.typesafe.akka/akka-actor_2.11/2.3.3/ed62e9fc709ca0f2ff1a3220daa8b70a2870078e/akka-actor_2.11-2.3.3.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/f771f71fdae3df231bcd54d5ca2d57f0bf93f467/config-1.2.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors-migration_2.11/1.1.0/dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f/scala-actors-migration_2.11-1.1.0.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.11.1/56ea2e6c025e0821f28d73ca271218b8dd04926a/scala-compiler-2.11.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-library_2.11/1.0.2/e517c53a7e9acd6b1668c5a35eccbaa3bab9aac/scala-continuations-library_2.11-1.0.2.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-plugin_2.11.1/1.0.2/f361a3283452c57fa30c1ee69448995de23c60f7/scala-continuations-plugin_2.11.1-1.0.2.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.11.1/e11da23da3eabab9f4777b9220e60d44c1aab6a/scala-library-2.11.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-parser-combinators_2.11/1.0.1/f05d7345bf5a58924f2837c6c1f4d73a938e1ff0/scala-parser-combinators_2.11-1.0.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.11.1/6580347e61cc7f8e802941e7fde40fa83b8badeb/scala-reflect-2.11.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-swing_2.11/1.0.1/b1cdd92bd47b1e1837139c1c53020e86bb9112ae/scala-swing_2.11-1.0.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-xml_2.11/1.0.2/7a80ec00aec122fba7cd4e0d4cdd87ff7e4cb6d0/scala-xml_2.11-1.0.2.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.5/6065cc95c661255349c1d0756657be17c29a4fd3/jopt-simple-4.5.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/lzma/lzma/0.0.1/521616dc7487b42bef0e803bd2fa3faf668101d7/lzma-0.0.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.mojang/realms/1.3.5/807ae355ee63583becd7ea60e76aab1532bb42e/realms-1.3.5.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.8.1/a698750c16740fd5b3871425f4cb3bbaa87f529d/commons-compress-1.8.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/18f4247ff4572a074444572cee34647c43e7c9c7/httpclient-4.3.3.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f/commons-logging-1.1.3.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/java3d/vecmath/1.3.1/a0ae4f51da409fa0c20fa0ca59e6bbc9413ae71d/vecmath-1.3.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/3.0.3/42ccaf4761f0dfdfa805c9e340d99a755907e2dd/trove4j-3.0.3.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j-core-mojang/51.2/63d216a9311cca6be337c1e458e587f99d382b84/icu4j-core-mojang-51.2.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/c73b5636faf089d9f00e8732a829577de25237ee/codecjorbis-20101023.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/12f031cfe88fef5c1dd36c563c0a3a69bd7261da/codecwav-20101023.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/5c5e304366f75f9eaa2e8cca546a1fb6109348b3/libraryjavasound-20101123.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/73e80d0794c39665aec3f62eee88ca91676674ef/librarylwjglopenal-20100824.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6/soundsystem-20120107.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/io.netty/netty-all/4.0.10.Final/9e50bd52ffe257a0e2cd8d971688d6ce7d174325/netty-all-4.0.10.Final.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/9c6ef172e8de35fd8d4d8783e4821e57cdef7445/guava-17.0.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/90a3822c38ec8c996e84c16a3477ef632cbc87a3/commons-lang3-3.3.2.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/9ce04e34240f674bc72680f8b843b1457383161a/commons-codec-1.9.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/39c7796b469a600f72380316f6b1f11db6c2c7c4/jinput-2.0.5.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/e12fe1fda814bd348c1579329c86943d2cd3c6a6/jutils-1.0.0.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.4/a60a5e993c98c864010053cb901b7eab25306568/gson-2.2.4.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.16/ef1582b11fd0943d069cdcb72e99008ac209a283/authlib-1.5.16.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.0-beta9/1dd66e68cccd907880229f9e2de1314bd13ff785/log4j-api-2.0-beta9.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.0-beta9/678861ba1b2e1fccb594bb0ca03114bb05da9695/log4j-core-2.0-beta9.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.1/f58c5aabcef0e41718a564be9f8e412fff8db847/lwjgl-2.9.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.1/290d7ba8a1bd9566f5ddf16ad06f09af5ec9b20e/lwjgl_util-2.9.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch/5.16/1f55f009c61637c10c0acfb8b5ffc600f30044b4/twitch-5.16.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors/2.11.0/8ccfb6541de179bb1c4d45cf414acee069b7f78b/scala-actors-2.11.0.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-xml_2.11/1.0.2/820fbca7e524b530fdadc594c39d49a21ea0337e/scala-xml_2.11-1.0.2.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-parser-combinators_2.11/1.0.1/f05d7345bf5a58924f2837c6c1f4d73a938e1ff0/scala-parser-combinators_2.11-1.0.1.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/7ff832a6eb9ab6a767f1ade2b548092d0fa64795/jinput-platform-2.0.5-natives-linux.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/385ee093e01f587f30ee1c8a2ee7d408fd732e16/jinput-platform-2.0.5-natives-windows.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/53f9c919f34d2ca9de8c51fc4e1e8282029a9232/jinput-platform-2.0.5-natives-osx.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/7c6affe439099806a4f552da14c42f9d643d8b23/twitch-platform-5.16-natives-windows-32.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/39d0c3d363735b4785598e0e7fbf8297c706a9f9/twitch-platform-5.16-natives-windows-64.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/62503ee712766cf77f97252e5902786fd834b8c5/twitch-platform-5.16-natives-osx.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/18215140f010c05b9f86ef6f0f8871954d2ccebf/twitch-external-platform-4.5-natives-windows-32.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/c3cde57891b935d41b6680a9c5e1502eeab76d86/twitch-external-platform-4.5-natives-windows-64.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/4c517eca808522457dd95ee8fc1fbcdbb602efbe/lwjgl-platform-2.9.1-natives-windows.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/aa9aae879af8eb378e22cfc64db56ec2ca9a44d1/lwjgl-platform-2.9.1-natives-linux.jar!/" />
|
||||
<libelement value="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/2d12c83fdfbc04ecabf02c7bc8cc54d034f0daac/lwjgl-platform-2.9.1-natives-osx.jar!/" />
|
||||
<libelement value="file://$USER_HOME$/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/start" />
|
||||
<src_description expected_position="0">
|
||||
<src_folder value="file://$MODULE_DIR$/src/main/java" expected_position="1" />
|
||||
<src_folder value="file://$MODULE_DIR$/src/main/resources" expected_position="2" />
|
||||
</src_description>
|
||||
</component>
|
||||
<component name="FacetManager">
|
||||
<facet type="minecraft" name="Minecraft">
|
||||
<configuration>
|
||||
<autoDetectTypes>
|
||||
<platformType>MCP</platformType>
|
||||
</autoDetectTypes>
|
||||
</configuration>
|
||||
</facet>
|
||||
</component>
|
||||
<component name="McpModuleSettings">
|
||||
<option name="srgType" value="SRG" />
|
||||
</component>
|
||||
<component name="NewModuleRootManager">
|
||||
<output url="file://$MODULE_DIR$/bin" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forgeSrc-1.7.10-10.13.4.1614-1.7.10.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forgeSrc-1.7.10-10.13.4.1614-1.7.10-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="launchwrapper-1.12.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.12/111e7bea9c968cdb3d06ef4632bf7ff0824d0f36/launchwrapper-1.12.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.12/fd80cad9a1b967ce2ff20529dc54e520d5338d7/launchwrapper-1.12-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="jsr305-1.3.9.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/1.3.9/40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf/jsr305-1.3.9.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="asm-debug-all-5.0.3.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-debug-all/5.0.3/f9e364ae2a66ce2a543012a4668856e84e5dab74/asm-debug-all-5.0.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-debug-all/5.0.3/f0f24f6666c1a15c7e202e91610476bd4ce59368/asm-debug-all-5.0.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="akka-actor_2.11-2.3.3.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.typesafe.akka/akka-actor_2.11/2.3.3/ed62e9fc709ca0f2ff1a3220daa8b70a2870078e/akka-actor_2.11-2.3.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.typesafe.akka/akka-actor_2.11/2.3.3/9dbceb71c4fd943b4eb4607847261075a989d47f/akka-actor_2.11-2.3.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="config-1.2.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/f771f71fdae3df231bcd54d5ca2d57f0bf93f467/config-1.2.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/bdacf4f82ce9b29cd474bfde2e91eeb0ca623d28/config-1.2.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-actors-migration_2.11-1.1.0.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors-migration_2.11/1.1.0/dfa8bc42b181d5b9f1a5dd147f8ae308b893eb6f/scala-actors-migration_2.11-1.1.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors-migration_2.11/1.1.0/6bccac72dae4d369537e313d12087c1ca295e84f/scala-actors-migration_2.11-1.1.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-compiler-2.11.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.11.1/56ea2e6c025e0821f28d73ca271218b8dd04926a/scala-compiler-2.11.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.11.1/b031d401aabbf7f5f725db500575da3dff90065f/scala-compiler-2.11.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-continuations-library_2.11-1.0.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-library_2.11/1.0.2/e517c53a7e9acd6b1668c5a35eccbaa3bab9aac/scala-continuations-library_2.11-1.0.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-library_2.11/1.0.2/495afc106eeaa1b3367f6be0bc3768c398e4d360/scala-continuations-library_2.11-1.0.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-continuations-plugin_2.11.1-1.0.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-plugin_2.11.1/1.0.2/f361a3283452c57fa30c1ee69448995de23c60f7/scala-continuations-plugin_2.11.1-1.0.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.plugins/scala-continuations-plugin_2.11.1/1.0.2/c6f3c092ab731f3cf83fdb376ebc465a243c1f4c/scala-continuations-plugin_2.11.1-1.0.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-library-2.11.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.11.1/e11da23da3eabab9f4777b9220e60d44c1aab6a/scala-library-2.11.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.11.1/8355e4b6841f772a287167666bad6e9860ac4d3c/scala-library-2.11.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-parser-combinators_2.11-1.0.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-parser-combinators_2.11/1.0.1/f05d7345bf5a58924f2837c6c1f4d73a938e1ff0/scala-parser-combinators_2.11-1.0.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-reflect-2.11.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.11.1/6580347e61cc7f8e802941e7fde40fa83b8badeb/scala-reflect-2.11.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.11.1/d4c5628e197a0d6af8e9b93a9be32190c547bc8a/scala-reflect-2.11.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-swing_2.11-1.0.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-swing_2.11/1.0.1/b1cdd92bd47b1e1837139c1c53020e86bb9112ae/scala-swing_2.11-1.0.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-xml_2.11-1.0.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-xml_2.11/1.0.2/7a80ec00aec122fba7cd4e0d4cdd87ff7e4cb6d0/scala-xml_2.11-1.0.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="jopt-simple-4.5.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.5/6065cc95c661255349c1d0756657be17c29a4fd3/jopt-simple-4.5.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.5/3cf4c3c1a6f565419bfd53a0e564d6fb128deeea/jopt-simple-4.5-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="lzma-0.0.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/lzma/lzma/0.0.1/521616dc7487b42bef0e803bd2fa3faf668101d7/lzma-0.0.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="realms-1.3.5.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.mojang/realms/1.3.5/807ae355ee63583becd7ea60e76aab1532bb42e/realms-1.3.5.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="commons-compress-1.8.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.8.1/a698750c16740fd5b3871425f4cb3bbaa87f529d/commons-compress-1.8.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.8.1/3caea4421428752206c7a94c3e3097f0c47f1bb8/commons-compress-1.8.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="httpclient-4.3.3.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/18f4247ff4572a074444572cee34647c43e7c9c7/httpclient-4.3.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/65cba03c4f6207f2885f88206fcf52c53f8d111b/httpclient-4.3.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="commons-logging-1.1.3.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f/commons-logging-1.1.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/28bb0405fddaf04f15058fbfbe01fe2780d7d3b6/commons-logging-1.1.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="httpcore-4.3.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/4809f38359edeea9487f747e09aa58ec8d3a54c5/httpcore-4.3.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="vecmath-1.3.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/java3d/vecmath/1.3.1/a0ae4f51da409fa0c20fa0ca59e6bbc9413ae71d/vecmath-1.3.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="trove4j-3.0.3.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/3.0.3/42ccaf4761f0dfdfa805c9e340d99a755907e2dd/trove4j-3.0.3.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/3.0.3/109c5be93362e6e651e417c51d1863477a22969c/trove4j-3.0.3-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="icu4j-core-mojang-51.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j-core-mojang/51.2/63d216a9311cca6be337c1e458e587f99d382b84/icu4j-core-mojang-51.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j-core-mojang/51.2/814397ccbafff1132758e551c37396c528d7f2d7/icu4j-core-mojang-51.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="codecjorbis-20101023.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/c73b5636faf089d9f00e8732a829577de25237ee/codecjorbis-20101023.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/4ca2436396bc14ebd78b7db1d4e11ca607c8705e/codecjorbis-20101023-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="codecwav-20101023.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/12f031cfe88fef5c1dd36c563c0a3a69bd7261da/codecwav-20101023.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/71ec00b9b9c1a6a2c3a8a25f481a23ddb5b21ddb/codecwav-20101023-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="libraryjavasound-20101123.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/5c5e304366f75f9eaa2e8cca546a1fb6109348b3/libraryjavasound-20101123.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/945ff5711de27751cf699641d1ea316ba6cf7589/libraryjavasound-20101123-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="librarylwjglopenal-20100824.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/73e80d0794c39665aec3f62eee88ca91676674ef/librarylwjglopenal-20100824.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/ecfc8dac1d41bef748997e4edf563d486923ee1e/librarylwjglopenal-20100824-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="soundsystem-20120107.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6/soundsystem-20120107.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/1b9f4eb11ef11fede7fd76a2e5e8203c2a8adcd/soundsystem-20120107-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="netty-all-4.0.10.Final.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/io.netty/netty-all/4.0.10.Final/9e50bd52ffe257a0e2cd8d971688d6ce7d174325/netty-all-4.0.10.Final.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/io.netty/netty-all/4.0.10.Final/9a214bc1e6350ead5234e4dd5eb3a2a802d1c658/netty-all-4.0.10.Final-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="guava-17.0.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/9c6ef172e8de35fd8d4d8783e4821e57cdef7445/guava-17.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/7ca0efbeb87ca845b5d7a0ac9c21a4b7b95f7b28/guava-17.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="commons-lang3-3.3.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/90a3822c38ec8c996e84c16a3477ef632cbc87a3/commons-lang3-3.3.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/d2a489573c0ed2c4942b3660decad5d65087b406/commons-lang3-3.3.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="commons-io-2.4.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/f2d8698c46d1167ff24b06a840a87d91a02db891/commons-io-2.4-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="commons-codec-1.9.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/9ce04e34240f674bc72680f8b843b1457383161a/commons-codec-1.9.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/3f15fff45d57656685abfee9e8302bf14580044c/commons-codec-1.9-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="jinput-2.0.5.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/39c7796b469a600f72380316f6b1f11db6c2c7c4/jinput-2.0.5.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/82604cfeb87b9ab70ed70aa19a137de8ceb21504/jinput-2.0.5-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="jutils-1.0.0.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/e12fe1fda814bd348c1579329c86943d2cd3c6a6/jutils-1.0.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/d18678a00b216863206a1bb6190507e02a32971b/jutils-1.0.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="gson-2.2.4.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.4/a60a5e993c98c864010053cb901b7eab25306568/gson-2.2.4.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.4/a6dc5db8a12928e583bd3f23e72d3ab611ecd58f/gson-2.2.4-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="authlib-1.5.16.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.16/ef1582b11fd0943d069cdcb72e99008ac209a283/authlib-1.5.16.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.16/f7d1af1fd1232bb4f2e7898f059b536ad5bc950/authlib-1.5.16-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="log4j-api-2.0-beta9.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.0-beta9/1dd66e68cccd907880229f9e2de1314bd13ff785/log4j-api-2.0-beta9.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.0-beta9/c6682b8a47ddd9f29108838aed0dc8e0ffdedf68/log4j-api-2.0-beta9-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="log4j-core-2.0-beta9.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.0-beta9/678861ba1b2e1fccb594bb0ca03114bb05da9695/log4j-core-2.0-beta9.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.0-beta9/c7da50fd52d6ee6991a0e16e2df1431f7656a7f4/log4j-core-2.0-beta9-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="lwjgl-2.9.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.1/f58c5aabcef0e41718a564be9f8e412fff8db847/lwjgl-2.9.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.1/ccedb5b6f96913c6f78bc10249e747ded90baa51/lwjgl-2.9.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="lwjgl_util-2.9.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.1/290d7ba8a1bd9566f5ddf16ad06f09af5ec9b20e/lwjgl_util-2.9.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.1/9f350d8a760247f2ae88e996b55f8f7121346c79/lwjgl_util-2.9.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="twitch-5.16.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch/5.16/1f55f009c61637c10c0acfb8b5ffc600f30044b4/twitch-5.16.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="scala-actors-2.11.0.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors/2.11.0/8ccfb6541de179bb1c4d45cf414acee069b7f78b/scala-actors-2.11.0.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors/2.11.0/e1dfa274766d5278166b0d660294fe96396693b2/scala-actors-2.11.0-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-xml_2.11/1.0.2/820fbca7e524b530fdadc594c39d49a21ea0337e/scala-xml_2.11-1.0.2.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-xml_2.11/1.0.2/820fbca7e524b530fdadc594c39d49a21ea0337e/scala-xml_2.11-1.0.2.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-xml_2.11/1.0.2/312c3557d1ca0b34820f3b3fc5404a47936ceb26/scala-xml_2.11-1.0.2-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-parser-combinators_2.11/1.0.1/f05d7345bf5a58924f2837c6c1f4d73a938e1ff0/scala-parser-combinators_2.11-1.0.1.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-parser-combinators_2.11/1.0.1/f05d7345bf5a58924f2837c6c1f4d73a938e1ff0/scala-parser-combinators_2.11-1.0.1.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.scala-lang.modules/scala-parser-combinators_2.11/1.0.1/34d013c02d0b73794ba2911552896dd9c00f34c3/scala-parser-combinators_2.11-1.0.1-sources.jar!/" />
|
||||
</SOURCES>
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="jinput-platform-2.0.5-natives-linux.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/7ff832a6eb9ab6a767f1ade2b548092d0fa64795/jinput-platform-2.0.5-natives-linux.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="jinput-platform-2.0.5-natives-windows.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/385ee093e01f587f30ee1c8a2ee7d408fd732e16/jinput-platform-2.0.5-natives-windows.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="jinput-platform-2.0.5-natives-osx.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/53f9c919f34d2ca9de8c51fc4e1e8282029a9232/jinput-platform-2.0.5-natives-osx.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="twitch-platform-5.16-natives-windows-32.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/7c6affe439099806a4f552da14c42f9d643d8b23/twitch-platform-5.16-natives-windows-32.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="twitch-platform-5.16-natives-windows-64.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/39d0c3d363735b4785598e0e7fbf8297c706a9f9/twitch-platform-5.16-natives-windows-64.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="twitch-platform-5.16-natives-osx.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/62503ee712766cf77f97252e5902786fd834b8c5/twitch-platform-5.16-natives-osx.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="twitch-external-platform-4.5-natives-windows-32.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/18215140f010c05b9f86ef6f0f8871954d2ccebf/twitch-external-platform-4.5-natives-windows-32.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="twitch-external-platform-4.5-natives-windows-64.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/c3cde57891b935d41b6680a9c5e1502eeab76d86/twitch-external-platform-4.5-natives-windows-64.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="lwjgl-platform-2.9.1-natives-windows.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/4c517eca808522457dd95ee8fc1fbcdbb602efbe/lwjgl-platform-2.9.1-natives-windows.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="lwjgl-platform-2.9.1-natives-linux.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/aa9aae879af8eb378e22cfc64db56ec2ca9a44d1/lwjgl-platform-2.9.1-natives-linux.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="lwjgl-platform-2.9.1-natives-osx.jar">
|
||||
<CLASSES>
|
||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/2d12c83fdfbc04ecabf02c7bc8cc54d034f0daac/lwjgl-platform-2.9.1-natives-osx.jar!/" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
<orderEntry type="module-library" exported="">
|
||||
<library name="start">
|
||||
<CLASSES>
|
||||
<root url="file://$USER_HOME$/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/start" />
|
||||
</CLASSES>
|
||||
<JAVADOC />
|
||||
<SOURCES />
|
||||
</library>
|
||||
</orderEntry>
|
||||
</component>
|
||||
</module>
|
||||
@@ -0,0 +1,63 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven {
|
||||
name = "forge"
|
||||
url = "http://files.minecraftforge.net/maven"
|
||||
}
|
||||
maven {
|
||||
name = "sonatype"
|
||||
url = "https://oss.sonatype.org/content/repositories/snapshots/"
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'forge'
|
||||
|
||||
version = "1.0"
|
||||
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = "modid"
|
||||
|
||||
minecraft {
|
||||
version = "1.7.10-10.13.4.1614-1.7.10"
|
||||
runDir = "eclipse"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// you may put jars on which you depend on in ./libs
|
||||
// or you may define them like so..
|
||||
//compile "some.group:artifact:version:classifier"
|
||||
//compile "some.group:artifact:version"
|
||||
|
||||
// real examples
|
||||
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
|
||||
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
|
||||
|
||||
// for more info...
|
||||
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
|
||||
// http://www.gradle.org/docs/current/userguide/dependency_management.html
|
||||
|
||||
}
|
||||
|
||||
processResources
|
||||
{
|
||||
// this will ensure that this task is redone when the versions change.
|
||||
inputs.property "version", project.version
|
||||
inputs.property "mcversion", project.minecraft.version
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'mcmod.info'
|
||||
|
||||
// replace version and mcversion
|
||||
expand 'version':project.version, 'mcversion':project.minecraft.version
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'mcmod.info'
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-3.0-bin.zip
|
||||
@@ -0,0 +1,164 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
##############################################################################
|
||||
##
|
||||
## Gradle start up script for UN*X
|
||||
##
|
||||
##############################################################################
|
||||
|
||||
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
DEFAULT_JVM_OPTS=""
|
||||
|
||||
APP_NAME="Gradle"
|
||||
APP_BASE_NAME=`basename "$0"`
|
||||
|
||||
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
||||
MAX_FD="maximum"
|
||||
|
||||
warn ( ) {
|
||||
echo "$*"
|
||||
}
|
||||
|
||||
die ( ) {
|
||||
echo
|
||||
echo "$*"
|
||||
echo
|
||||
exit 1
|
||||
}
|
||||
|
||||
# OS specific support (must be 'true' or 'false').
|
||||
cygwin=false
|
||||
msys=false
|
||||
darwin=false
|
||||
case "`uname`" in
|
||||
CYGWIN* )
|
||||
cygwin=true
|
||||
;;
|
||||
Darwin* )
|
||||
darwin=true
|
||||
;;
|
||||
MINGW* )
|
||||
msys=true
|
||||
;;
|
||||
esac
|
||||
|
||||
# For Cygwin, ensure paths are in UNIX format before anything is touched.
|
||||
if $cygwin ; then
|
||||
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
||||
fi
|
||||
|
||||
# Attempt to set APP_HOME
|
||||
# Resolve links: $0 may be a link
|
||||
PRG="$0"
|
||||
# Need this for relative symlinks.
|
||||
while [ -h "$PRG" ] ; do
|
||||
ls=`ls -ld "$PRG"`
|
||||
link=`expr "$ls" : '.*-> \(.*\)$'`
|
||||
if expr "$link" : '/.*' > /dev/null; then
|
||||
PRG="$link"
|
||||
else
|
||||
PRG=`dirname "$PRG"`"/$link"
|
||||
fi
|
||||
done
|
||||
SAVED="`pwd`"
|
||||
cd "`dirname \"$PRG\"`/" >&-
|
||||
APP_HOME="`pwd -P`"
|
||||
cd "$SAVED" >&-
|
||||
|
||||
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
||||
|
||||
# Determine the Java command to use to start the JVM.
|
||||
if [ -n "$JAVA_HOME" ] ; then
|
||||
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
||||
# IBM's JDK on AIX uses strange locations for the executables
|
||||
JAVACMD="$JAVA_HOME/jre/sh/java"
|
||||
else
|
||||
JAVACMD="$JAVA_HOME/bin/java"
|
||||
fi
|
||||
if [ ! -x "$JAVACMD" ] ; then
|
||||
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
else
|
||||
JAVACMD="java"
|
||||
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
|
||||
Please set the JAVA_HOME variable in your environment to match the
|
||||
location of your Java installation."
|
||||
fi
|
||||
|
||||
# Increase the maximum file descriptors if we can.
|
||||
if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
|
||||
MAX_FD_LIMIT=`ulimit -H -n`
|
||||
if [ $? -eq 0 ] ; then
|
||||
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
||||
MAX_FD="$MAX_FD_LIMIT"
|
||||
fi
|
||||
ulimit -n $MAX_FD
|
||||
if [ $? -ne 0 ] ; then
|
||||
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
||||
fi
|
||||
else
|
||||
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
||||
fi
|
||||
fi
|
||||
|
||||
# For Darwin, add options to specify how the application appears in the dock
|
||||
if $darwin; then
|
||||
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
||||
fi
|
||||
|
||||
# For Cygwin, switch paths to Windows format before running java
|
||||
if $cygwin ; then
|
||||
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
||||
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
||||
|
||||
# We build the pattern for arguments to be converted via cygpath
|
||||
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
||||
SEP=""
|
||||
for dir in $ROOTDIRSRAW ; do
|
||||
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
||||
SEP="|"
|
||||
done
|
||||
OURCYGPATTERN="(^($ROOTDIRS))"
|
||||
# Add a user-defined pattern to the cygpath arguments
|
||||
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
||||
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
||||
fi
|
||||
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
||||
i=0
|
||||
for arg in "$@" ; do
|
||||
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
||||
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
||||
|
||||
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
||||
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
||||
else
|
||||
eval `echo args$i`="\"$arg\""
|
||||
fi
|
||||
i=$((i+1))
|
||||
done
|
||||
case $i in
|
||||
(0) set -- ;;
|
||||
(1) set -- "$args0" ;;
|
||||
(2) set -- "$args0" "$args1" ;;
|
||||
(3) set -- "$args0" "$args1" "$args2" ;;
|
||||
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
||||
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
||||
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
||||
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
||||
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
||||
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
|
||||
function splitJvmOpts() {
|
||||
JVM_OPTS=("$@")
|
||||
}
|
||||
eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
|
||||
JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
|
||||
|
||||
exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
|
||||
@@ -0,0 +1,90 @@
|
||||
@if "%DEBUG%" == "" @echo off
|
||||
@rem ##########################################################################
|
||||
@rem
|
||||
@rem Gradle startup script for Windows
|
||||
@rem
|
||||
@rem ##########################################################################
|
||||
|
||||
@rem Set local scope for the variables with windows NT shell
|
||||
if "%OS%"=="Windows_NT" setlocal
|
||||
|
||||
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
||||
set DEFAULT_JVM_OPTS=
|
||||
|
||||
set DIRNAME=%~dp0
|
||||
if "%DIRNAME%" == "" set DIRNAME=.
|
||||
set APP_BASE_NAME=%~n0
|
||||
set APP_HOME=%DIRNAME%
|
||||
|
||||
@rem Find java.exe
|
||||
if defined JAVA_HOME goto findJavaFromJavaHome
|
||||
|
||||
set JAVA_EXE=java.exe
|
||||
%JAVA_EXE% -version >NUL 2>&1
|
||||
if "%ERRORLEVEL%" == "0" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:findJavaFromJavaHome
|
||||
set JAVA_HOME=%JAVA_HOME:"=%
|
||||
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
||||
|
||||
if exist "%JAVA_EXE%" goto init
|
||||
|
||||
echo.
|
||||
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
||||
echo.
|
||||
echo Please set the JAVA_HOME variable in your environment to match the
|
||||
echo location of your Java installation.
|
||||
|
||||
goto fail
|
||||
|
||||
:init
|
||||
@rem Get command-line arguments, handling Windowz variants
|
||||
|
||||
if not "%OS%" == "Windows_NT" goto win9xME_args
|
||||
if "%@eval[2+2]" == "4" goto 4NT_args
|
||||
|
||||
:win9xME_args
|
||||
@rem Slurp the command line arguments.
|
||||
set CMD_LINE_ARGS=
|
||||
set _SKIP=2
|
||||
|
||||
:win9xME_args_slurp
|
||||
if "x%~1" == "x" goto execute
|
||||
|
||||
set CMD_LINE_ARGS=%*
|
||||
goto execute
|
||||
|
||||
:4NT_args
|
||||
@rem Get arguments from the 4NT Shell from JP Software
|
||||
set CMD_LINE_ARGS=%$
|
||||
|
||||
:execute
|
||||
@rem Setup the command line
|
||||
|
||||
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
||||
|
||||
@rem Execute Gradle
|
||||
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
|
||||
|
||||
:end
|
||||
@rem End local scope for the variables with windows NT shell
|
||||
if "%ERRORLEVEL%"=="0" goto mainEnd
|
||||
|
||||
:fail
|
||||
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
||||
rem the _cmd.exe /c_ return code!
|
||||
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
||||
exit /b 1
|
||||
|
||||
:mainEnd
|
||||
if "%OS%"=="Windows_NT" endlocal
|
||||
|
||||
:omega
|
||||
@@ -32,9 +32,9 @@ import noppes.npcs.entity.EntityNPCInterface;
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
|
||||
public class CommonProxy implements IGuiHandler {
|
||||
|
||||
|
||||
public boolean newVersionAvailable = false;
|
||||
public int revision = 4;
|
||||
public int revision = 1;
|
||||
|
||||
public void load() {
|
||||
CustomNpcs.Channel.register(new PacketHandlerServer());
|
||||
|
||||
@@ -749,7 +749,7 @@ public class CustomItems {
|
||||
armor = new ItemNpcArmor(26922, armorEmerald,1,"fullemerald").setUnlocalizedName("npcFullEmeraldChest").setMaxStackSize(1).setTextureName("customnpcs:npcFullEmeraldChest");
|
||||
armor = new ItemNpcArmor(26923, armorEmerald,2,"fullemerald").setUnlocalizedName("npcFullEmeraldLeggings").setMaxStackSize(1).setTextureName("customnpcs:npcFullEmeraldLeggings");
|
||||
armor = new ItemNpcArmor(26924, armorEmerald,3,"fullemerald").setUnlocalizedName("npcFullEmeraldBoots").setMaxStackSize(1).setTextureName("customnpcs:npcFullEmeraldBoots");
|
||||
|
||||
|
||||
armor = new ItemNpcArmor(26880,ArmorMaterial.CLOTH,0,"fullwood").setUnlocalizedName("npcFullWoodenHead").setMaxStackSize(1).setTextureName("customnpcs:npcFullWoodenHead");
|
||||
armor = new ItemNpcArmor(26881,ArmorMaterial.CLOTH,1,"fullwood").setUnlocalizedName("npcFullWoodenChest").setMaxStackSize(1).setTextureName("customnpcs:npcFullWoodenChest");
|
||||
armor = new ItemNpcArmor(26882,ArmorMaterial.CLOTH,2,"fullwood").setUnlocalizedName("npcFullWoodenLeggings").setMaxStackSize(1).setTextureName("customnpcs:npcFullWoodenLeggings");
|
||||
|
||||
@@ -43,15 +43,7 @@ import noppes.npcs.controllers.ServerCloneController;
|
||||
import noppes.npcs.controllers.SpawnController;
|
||||
import noppes.npcs.controllers.TransportController;
|
||||
import noppes.npcs.enchants.EnchantInterface;
|
||||
import noppes.npcs.entity.EntityChairMount;
|
||||
import noppes.npcs.entity.EntityCustomNpc;
|
||||
import noppes.npcs.entity.EntityMagicProjectile;
|
||||
import noppes.npcs.entity.EntityNPCGolem;
|
||||
import noppes.npcs.entity.EntityNpcCrystal;
|
||||
import noppes.npcs.entity.EntityNpcDragon;
|
||||
import noppes.npcs.entity.EntityNpcPony;
|
||||
import noppes.npcs.entity.EntityNpcSlime;
|
||||
import noppes.npcs.entity.EntityProjectile;
|
||||
import noppes.npcs.entity.*;
|
||||
import noppes.npcs.entity.old.EntityNPCDwarfFemale;
|
||||
import noppes.npcs.entity.old.EntityNPCDwarfMale;
|
||||
import noppes.npcs.entity.old.EntityNPCElfFemale;
|
||||
@@ -210,6 +202,8 @@ public class CustomNpcs {
|
||||
registerNpc(EntityNPCEnderman.class, "npcEnderman");
|
||||
registerNpc(EntityNPCGolem.class, "npcGolem");
|
||||
registerNpc(EntityCustomNpc.class, "CustomNpc");
|
||||
registerNpc(EntityNPC64x64.class, "CustomNpc64");
|
||||
|
||||
|
||||
registerNewEntity(EntityChairMount.class, "CustomNpcChairMount", 64, 10, false);
|
||||
registerNewEntity(EntityProjectile.class, "throwableitem", 64, 3, true);
|
||||
|
||||
@@ -152,4 +152,18 @@ public class DataDisplay {
|
||||
return false;
|
||||
return showName == 0 || (showName == 2 && npc.isAttacking());
|
||||
}
|
||||
|
||||
public String getSkinTexture(){
|
||||
return texture;
|
||||
}
|
||||
|
||||
public void setSkinTexture(String texture){
|
||||
if(this.texture.equals(texture))
|
||||
return;
|
||||
this.texture = texture;
|
||||
npc.textureLocation = null;
|
||||
skinType = 0;
|
||||
npc.updateClient = true;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -14,6 +14,7 @@ import noppes.npcs.constants.EnumScriptType;
|
||||
import noppes.npcs.controllers.ScriptContainer;
|
||||
import noppes.npcs.controllers.ScriptController;
|
||||
import noppes.npcs.entity.EntityCustomNpc;
|
||||
import noppes.npcs.entity.EntityNPC64x64;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
import noppes.npcs.scripted.ScriptEvent;
|
||||
import noppes.npcs.scripted.ScriptNpc;
|
||||
|
||||
@@ -105,19 +105,8 @@ import noppes.npcs.client.gui.roles.GuiNpcFollowerSetup;
|
||||
import noppes.npcs.client.gui.roles.GuiNpcItemGiver;
|
||||
import noppes.npcs.client.gui.roles.GuiNpcTraderSetup;
|
||||
import noppes.npcs.client.gui.roles.GuiNpcTransporter;
|
||||
import noppes.npcs.client.model.ModelNPCGolem;
|
||||
import noppes.npcs.client.model.ModelNpcCrystal;
|
||||
import noppes.npcs.client.model.ModelNpcDragon;
|
||||
import noppes.npcs.client.model.ModelNpcSlime;
|
||||
import noppes.npcs.client.model.ModelSkirtArmor;
|
||||
import noppes.npcs.client.renderer.NpcItemRenderer;
|
||||
import noppes.npcs.client.renderer.RenderCustomNpc;
|
||||
import noppes.npcs.client.renderer.RenderNPCHumanMale;
|
||||
import noppes.npcs.client.renderer.RenderNPCPony;
|
||||
import noppes.npcs.client.renderer.RenderNpcCrystal;
|
||||
import noppes.npcs.client.renderer.RenderNpcDragon;
|
||||
import noppes.npcs.client.renderer.RenderNpcSlime;
|
||||
import noppes.npcs.client.renderer.RenderProjectile;
|
||||
import noppes.npcs.client.model.*;
|
||||
import noppes.npcs.client.renderer.*;
|
||||
import noppes.npcs.client.renderer.blocks.BlockBannerRenderer;
|
||||
import noppes.npcs.client.renderer.blocks.BlockBarrelRenderer;
|
||||
import noppes.npcs.client.renderer.blocks.BlockBeamRenderer;
|
||||
@@ -161,14 +150,7 @@ import noppes.npcs.containers.ContainerNPCTraderSetup;
|
||||
import noppes.npcs.containers.ContainerNpcItemGiver;
|
||||
import noppes.npcs.containers.ContainerNpcQuestReward;
|
||||
import noppes.npcs.containers.ContainerNpcQuestTypeItem;
|
||||
import noppes.npcs.entity.EntityCustomNpc;
|
||||
import noppes.npcs.entity.EntityNPCGolem;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
import noppes.npcs.entity.EntityNpcCrystal;
|
||||
import noppes.npcs.entity.EntityNpcDragon;
|
||||
import noppes.npcs.entity.EntityNpcPony;
|
||||
import noppes.npcs.entity.EntityNpcSlime;
|
||||
import noppes.npcs.entity.EntityProjectile;
|
||||
import noppes.npcs.entity.*;
|
||||
|
||||
import org.lwjgl.input.Keyboard;
|
||||
|
||||
@@ -199,6 +181,7 @@ public class ClientProxy extends CommonProxy {
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityNpcSlime.class, new RenderNpcSlime(new ModelNpcSlime(16), new ModelNpcSlime(0), 0.25F));
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityProjectile.class, new RenderProjectile());
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityCustomNpc.class, new RenderCustomNpc());
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityNPC64x64.class, new RenderCustomNpc(1));
|
||||
RenderingRegistry.registerEntityRenderingHandler(EntityNPCGolem.class, new RenderNPCHumanMale(
|
||||
new ModelNPCGolem(0), new ModelNPCGolem(1F), new ModelNPCGolem(0.5F)));
|
||||
FMLCommonHandler.instance().bus().register(new ClientTickHandler());
|
||||
|
||||
@@ -39,7 +39,7 @@ public class GuiNpcMobSpawner extends GuiNPCInterface implements IGuiData{
|
||||
|
||||
public GuiNpcMobSpawner(int i, int j, int k) {
|
||||
super();
|
||||
xSize = 256;
|
||||
xSize = 384;
|
||||
|
||||
posX = i;
|
||||
posY = j;
|
||||
@@ -56,7 +56,7 @@ public class GuiNpcMobSpawner extends GuiNPCInterface implements IGuiData{
|
||||
|
||||
if(scroll == null){
|
||||
scroll = new GuiCustomScroll(this,0);
|
||||
scroll.setSize(165, 188);
|
||||
scroll.setSize(293, 188);
|
||||
}
|
||||
else
|
||||
scroll.clear();
|
||||
@@ -64,7 +64,7 @@ public class GuiNpcMobSpawner extends GuiNPCInterface implements IGuiData{
|
||||
scroll.guiTop = guiTop + 26;
|
||||
addScroll(scroll);
|
||||
|
||||
addTextField(new GuiNpcTextField(1, this, fontRendererObj, guiLeft + 4, guiTop + 4, 165, 20, search));
|
||||
addTextField(new GuiNpcTextField(1, this, fontRendererObj, guiLeft + 4, guiTop + 4, 293, 20, search));
|
||||
|
||||
GuiMenuTopButton button;
|
||||
addTopButton(button = new GuiMenuTopButton(3,guiLeft + 4, guiTop - 17, "spawner.clones"));
|
||||
@@ -74,28 +74,38 @@ public class GuiNpcMobSpawner extends GuiNPCInterface implements IGuiData{
|
||||
addTopButton(button = new GuiMenuTopButton(5, button, "gui.server"));
|
||||
button.active = showingClones == 2;
|
||||
|
||||
addButton(new GuiNpcButton(1, guiLeft + 170, guiTop + 6, 82, 20, "item.monsterPlacer.name"));
|
||||
addButton(new GuiNpcButton(1, guiLeft + 298, guiTop + 6, 82, 20, "item.monsterPlacer.name"));
|
||||
|
||||
addButton(new GuiNpcButton(2, guiLeft + 170, guiTop + 100, 82, 20, "spawner.mobspawner"));
|
||||
addButton(new GuiNpcButton(2, guiLeft + 298, guiTop + 100, 82, 20, "spawner.mobspawner"));
|
||||
|
||||
if(showingClones == 0 || showingClones == 2){
|
||||
addSideButton(new GuiMenuSideButton(21,guiLeft - 69, this.guiTop + 2, 70,22, "Tab 1"));
|
||||
addSideButton(new GuiMenuSideButton(22,guiLeft - 69, this.guiTop + 23, 70,22, "Tab 2"));
|
||||
addSideButton(new GuiMenuSideButton(23,guiLeft - 69, this.guiTop + 44, 70,22, "Tab 3"));
|
||||
addSideButton(new GuiMenuSideButton(24,guiLeft - 69, this.guiTop + 65, 70,22, "Tab 4"));
|
||||
addSideButton(new GuiMenuSideButton(25,guiLeft - 69, this.guiTop + 86, 70,22, "Tab 5"));
|
||||
addSideButton(new GuiMenuSideButton(26,guiLeft - 69, this.guiTop + 107, 70,22, "Tab 6"));
|
||||
addSideButton(new GuiMenuSideButton(27,guiLeft - 69, this.guiTop + 128, 70,22, "Tab 7"));
|
||||
addSideButton(new GuiMenuSideButton(28,guiLeft - 69, this.guiTop + 149, 70,22, "Tab 8"));
|
||||
addSideButton(new GuiMenuSideButton(29,guiLeft - 69, this.guiTop + 170, 70,22, "Tab 9"));
|
||||
|
||||
addButton(new GuiNpcButton(6, guiLeft + 170, guiTop + 30, 82, 20, "gui.remove"));
|
||||
|
||||
|
||||
addSideButton(new GuiMenuSideButton(21,guiLeft - 90, this.guiTop + 2, 90,22, "1"));
|
||||
addSideButton(new GuiMenuSideButton(22,guiLeft - 90, this.guiTop + 23, 90,22, "2"));
|
||||
addSideButton(new GuiMenuSideButton(23,guiLeft - 90, this.guiTop + 44, 90,22, "3"));
|
||||
addSideButton(new GuiMenuSideButton(24,guiLeft - 90, this.guiTop + 65, 90,22, "4"));
|
||||
addSideButton(new GuiMenuSideButton(25,guiLeft - 90, this.guiTop + 86, 90,22, "5"));
|
||||
addSideButton(new GuiMenuSideButton(26,guiLeft - 90, this.guiTop + 107, 45,22, "6"));
|
||||
addSideButton(new GuiMenuSideButton(27,guiLeft - 45, this.guiTop + 107, 45,22, "7"));
|
||||
addSideButton(new GuiMenuSideButton(28,guiLeft - 90, this.guiTop + 128, 45,22, "8"));
|
||||
addSideButton(new GuiMenuSideButton(29,guiLeft - 45, this.guiTop + 128, 45,22, "9"));
|
||||
addSideButton(new GuiMenuSideButton(30,guiLeft - 90, this.guiTop + 149, 45,22, "10"));
|
||||
addSideButton(new GuiMenuSideButton(31,guiLeft - 45, this.guiTop + 149, 45,22, "11"));
|
||||
addSideButton(new GuiMenuSideButton(32,guiLeft - 90, this.guiTop + 170, 45,22, "12"));
|
||||
addSideButton(new GuiMenuSideButton(33,guiLeft - 45, this.guiTop + 170, 45,22, "13"));
|
||||
addSideButton(new GuiMenuSideButton(34,guiLeft - 90, this.guiTop + 191, 45,22, "14"));
|
||||
addSideButton(new GuiMenuSideButton(35,guiLeft - 45, this.guiTop + 191, 45,22, "15"));
|
||||
|
||||
|
||||
|
||||
addButton(new GuiNpcButton(6, guiLeft + 298, guiTop + 190, 82, 20, "gui.remove"));
|
||||
|
||||
getSideButton(20 + activeTab).active = true;
|
||||
showClones();
|
||||
}
|
||||
else
|
||||
else{
|
||||
showEntities();
|
||||
}
|
||||
}
|
||||
|
||||
private void showEntities() {
|
||||
@@ -119,7 +129,6 @@ public class GuiNpcMobSpawner extends GuiNPCInterface implements IGuiData{
|
||||
Client.sendData(EnumPacketServer.CloneList, activeTab);
|
||||
return;
|
||||
}
|
||||
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
this.list = ClientCloneController.Instance.getClones(activeTab);
|
||||
scroll.setList(getSearchList());
|
||||
|
||||
@@ -44,7 +44,7 @@ public class GuiNpcMobSpawnerAdd extends GuiNPCInterface implements GuiYesNoCall
|
||||
|
||||
|
||||
addLabel(new GuiNpcLabel(1, "Tab", guiLeft + 10, guiTop + 50));
|
||||
addButton(new GuiNpcButton(2, guiLeft + 40, guiTop + 45, 20, 20, new String[]{"1","2","3","4","5","6","7","8","9"}, tab - 1));
|
||||
addButton(new GuiNpcButton(2, guiLeft + 40, guiTop + 45, 20, 20, new String[]{"1","2","3","4","5","6","7","8","9","10","11","12","13","14","15"}, tab - 1));
|
||||
|
||||
addButton(new GuiNpcButton(3, guiLeft + 4, guiTop + 95, new String[]{"Client side", "Server side"}, serverSide?1:0));
|
||||
|
||||
|
||||
@@ -82,15 +82,21 @@ public class GuiNpcMobSpawnerMounter extends GuiNPCInterface implements IGuiData
|
||||
addButton(new GuiNpcButton(2, guiLeft + 170, guiTop + 50, 82, 20, "spawner.mountplayer"));
|
||||
|
||||
if(showingClones == 0 || showingClones == 2){
|
||||
addSideButton(new GuiMenuSideButton(21,guiLeft - 69, this.guiTop + 2, 70,22, "Tab 1"));
|
||||
addSideButton(new GuiMenuSideButton(22,guiLeft - 69, this.guiTop + 23, 70,22, "Tab 2"));
|
||||
addSideButton(new GuiMenuSideButton(23,guiLeft - 69, this.guiTop + 44, 70,22, "Tab 3"));
|
||||
addSideButton(new GuiMenuSideButton(24,guiLeft - 69, this.guiTop + 65, 70,22, "Tab 4"));
|
||||
addSideButton(new GuiMenuSideButton(25,guiLeft - 69, this.guiTop + 86, 70,22, "Tab 5"));
|
||||
addSideButton(new GuiMenuSideButton(26,guiLeft - 69, this.guiTop + 107, 70,22, "Tab 6"));
|
||||
addSideButton(new GuiMenuSideButton(27,guiLeft - 69, this.guiTop + 128, 70,22, "Tab 7"));
|
||||
addSideButton(new GuiMenuSideButton(28,guiLeft - 69, this.guiTop + 149, 70,22, "Tab 8"));
|
||||
addSideButton(new GuiMenuSideButton(29,guiLeft - 69, this.guiTop + 170, 70,22, "Tab 9"));
|
||||
addSideButton(new GuiMenuSideButton(21,guiLeft - 90, this.guiTop + 2, 90,22, "1"));
|
||||
addSideButton(new GuiMenuSideButton(22,guiLeft - 90, this.guiTop + 23, 90,22, "2"));
|
||||
addSideButton(new GuiMenuSideButton(23,guiLeft - 90, this.guiTop + 44, 90,22, "3"));
|
||||
addSideButton(new GuiMenuSideButton(24,guiLeft - 90, this.guiTop + 65, 90,22, "4"));
|
||||
addSideButton(new GuiMenuSideButton(25,guiLeft - 90, this.guiTop + 86, 90,22, "5"));
|
||||
addSideButton(new GuiMenuSideButton(26,guiLeft - 45, this.guiTop + 107, 45,22, "6"));
|
||||
addSideButton(new GuiMenuSideButton(27,guiLeft - 90, this.guiTop + 107, 45,22, "7"));
|
||||
addSideButton(new GuiMenuSideButton(28,guiLeft - 45, this.guiTop + 128, 45,22, "8"));
|
||||
addSideButton(new GuiMenuSideButton(29,guiLeft - 90, this.guiTop + 128, 45,22, "9"));
|
||||
addSideButton(new GuiMenuSideButton(30,guiLeft - 45, this.guiTop + 149, 45,22, "10"));
|
||||
addSideButton(new GuiMenuSideButton(31,guiLeft - 90, this.guiTop + 149, 45,22, "11"));
|
||||
addSideButton(new GuiMenuSideButton(32,guiLeft - 45, this.guiTop + 170, 45,22, "12"));
|
||||
addSideButton(new GuiMenuSideButton(33,guiLeft - 90, this.guiTop + 170, 45,22, "13"));
|
||||
addSideButton(new GuiMenuSideButton(34,guiLeft - 45, this.guiTop + 191, 45,22, "14"));
|
||||
addSideButton(new GuiMenuSideButton(35,guiLeft - 90, this.guiTop + 191, 45,22, "15"));
|
||||
|
||||
getSideButton(20 + activeTab).active = true;
|
||||
showClones();
|
||||
|
||||
@@ -59,16 +59,22 @@ public class GuiNpcMobSpawnerSelector extends SubGuiInterface implements IGuiDat
|
||||
|
||||
addButton(new GuiNpcButton(0, guiLeft + 171, guiTop + 80, 80, 20, "gui.done"));
|
||||
addButton(new GuiNpcButton(1, guiLeft + 171, guiTop + 103, 80, 20, "gui.cancel"));
|
||||
|
||||
addSideButton(new GuiMenuSideButton(21,guiLeft - 69, this.guiTop + 2, 70,22, "Tab 1"));
|
||||
addSideButton(new GuiMenuSideButton(22,guiLeft - 69, this.guiTop + 23, 70,22, "Tab 2"));
|
||||
addSideButton(new GuiMenuSideButton(23,guiLeft - 69, this.guiTop + 44, 70,22, "Tab 3"));
|
||||
addSideButton(new GuiMenuSideButton(24,guiLeft - 69, this.guiTop + 65, 70,22, "Tab 4"));
|
||||
addSideButton(new GuiMenuSideButton(25,guiLeft - 69, this.guiTop + 86, 70,22, "Tab 5"));
|
||||
addSideButton(new GuiMenuSideButton(26,guiLeft - 69, this.guiTop + 107, 70,22, "Tab 6"));
|
||||
addSideButton(new GuiMenuSideButton(27,guiLeft - 69, this.guiTop + 128, 70,22, "Tab 7"));
|
||||
addSideButton(new GuiMenuSideButton(28,guiLeft - 69, this.guiTop + 149, 70,22, "Tab 8"));
|
||||
addSideButton(new GuiMenuSideButton(29,guiLeft - 69, this.guiTop + 170, 70,22, "Tab 9"));
|
||||
|
||||
addSideButton(new GuiMenuSideButton(21,guiLeft - 90, this.guiTop + 2, 90,22, "1"));
|
||||
addSideButton(new GuiMenuSideButton(22,guiLeft - 90, this.guiTop + 23, 90,22, "2"));
|
||||
addSideButton(new GuiMenuSideButton(23,guiLeft - 90, this.guiTop + 44, 90,22, "3"));
|
||||
addSideButton(new GuiMenuSideButton(24,guiLeft - 90, this.guiTop + 65, 90,22, "4"));
|
||||
addSideButton(new GuiMenuSideButton(25,guiLeft - 90, this.guiTop + 86, 90,22, "5"));
|
||||
addSideButton(new GuiMenuSideButton(26,guiLeft - 45, this.guiTop + 107, 45,22, "6"));
|
||||
addSideButton(new GuiMenuSideButton(27,guiLeft - 90, this.guiTop + 107, 45,22, "7"));
|
||||
addSideButton(new GuiMenuSideButton(28,guiLeft - 45, this.guiTop + 128, 45,22, "8"));
|
||||
addSideButton(new GuiMenuSideButton(29,guiLeft - 90, this.guiTop + 128, 45,22, "9"));
|
||||
addSideButton(new GuiMenuSideButton(30,guiLeft - 45, this.guiTop + 149, 45,22, "10"));
|
||||
addSideButton(new GuiMenuSideButton(31,guiLeft - 90, this.guiTop + 149, 45,22, "11"));
|
||||
addSideButton(new GuiMenuSideButton(32,guiLeft - 45, this.guiTop + 170, 45,22, "12"));
|
||||
addSideButton(new GuiMenuSideButton(33,guiLeft - 90, this.guiTop + 170, 45,22, "13"));
|
||||
addSideButton(new GuiMenuSideButton(34,guiLeft - 45, this.guiTop + 191, 45,22, "14"));
|
||||
addSideButton(new GuiMenuSideButton(35,guiLeft - 90, this.guiTop + 191, 45,22, "15"));
|
||||
|
||||
getSideButton(20 + activeTab).active = true;
|
||||
showClones();
|
||||
|
||||
@@ -32,6 +32,7 @@ import noppes.npcs.constants.EnumPacketServer;
|
||||
import noppes.npcs.controllers.PixelmonHelper;
|
||||
import noppes.npcs.entity.EntityCustomNpc;
|
||||
import noppes.npcs.entity.EntityFakeLiving;
|
||||
import noppes.npcs.entity.EntityNPC64x64;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
|
||||
public class GuiCreationScreen extends GuiModelInterface implements ICustomScrollListener{
|
||||
@@ -61,7 +62,8 @@ public class GuiCreationScreen extends GuiModelInterface implements ICustomScrol
|
||||
e.printStackTrace();
|
||||
} catch (NoSuchMethodException e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
data.put("NPC64", EntityNPC64x64.class);
|
||||
list = new ArrayList<String>(data.keySet());
|
||||
Collections.sort(list,String.CASE_INSENSITIVE_ORDER);
|
||||
}
|
||||
|
||||
@@ -11,10 +11,12 @@ import noppes.npcs.entity.EntityCustomNpc;
|
||||
public class GuiModelBody extends GuiModelInterface{
|
||||
|
||||
private GuiScreen parent;
|
||||
private final String[] arrWing = new String[]{"gui.no","Player","Type1","Type2","Type3"};
|
||||
private final String[] arrWing = new String[]{"gui.no","Player","Type1","Type2","Type3","Type4","Type5","Type6","Type7","Type8","Type9",
|
||||
"Type10","Type11","Type12","Type13"};
|
||||
private final String[] arrBreasts = new String[]{"gui.no","Type1","Type2","Type3"};
|
||||
private final String[] arrParticles = new String[]{"gui.no","Player","Type1","Type2", "Rainbow"};
|
||||
private final String[] arrfins = new String[]{"gui.no","Player","Type1"};
|
||||
private final String[] arrfins = new String[]{"gui.no","Player","Type1","Type2","Type3","Type4","Type5","Type6"};
|
||||
private final String[] arrskirt = new String[]{"gui.no","Player","Type1"};
|
||||
|
||||
public GuiModelBody(GuiScreen parent, EntityCustomNpc npc){
|
||||
super(npc);
|
||||
@@ -47,15 +49,48 @@ public class GuiModelBody extends GuiModelInterface{
|
||||
if(fin != null)
|
||||
addButton(new GuiNpcButton(13, guiLeft + 122, y, 40, 20, fin.getColor()));
|
||||
|
||||
ModelPartData skirt = playerdata.getPartData("skirt");
|
||||
addButton(new GuiNpcButton(4, guiLeft + 50, y += 22, 70, 20, arrskirt, getSkirtindex(skirt)));
|
||||
addLabel(new GuiNpcLabel(4, "Skirt", guiLeft, y + 5, 0xFFFFFF));
|
||||
if(skirt != null)
|
||||
addButton(new GuiNpcButton(14, guiLeft + 122, y, 40, 20, skirt.getColor()));
|
||||
}
|
||||
|
||||
|
||||
private int getFinIndex(ModelPartData fin) {
|
||||
if(fin == null)
|
||||
return 0;
|
||||
return fin.playerTexture?1:2;
|
||||
if(fin == null)
|
||||
return 0;
|
||||
if(fin.type == 0){
|
||||
if(fin.playerTexture)
|
||||
return 1;
|
||||
if(fin.texture.contains("1"))
|
||||
return 2;
|
||||
if(fin.texture.contains("2"))
|
||||
return 3;
|
||||
if(fin.texture.contains("3"))
|
||||
return 4;
|
||||
if(fin.texture.contains("4"))
|
||||
return 5;
|
||||
if(fin.texture.contains("5"))
|
||||
return 6;
|
||||
if(fin.texture.contains("6"))
|
||||
return 7;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
private int getSkirtindex(ModelPartData skirt) {
|
||||
if (skirt == null)
|
||||
return 0;
|
||||
if (skirt.type == 0) {
|
||||
if (skirt.playerTexture)
|
||||
return 1;
|
||||
if (skirt.texture.contains("1"))
|
||||
return 2;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
private int getParticleIndex(ModelPartData particles) {
|
||||
if(particles == null)
|
||||
return 0;
|
||||
@@ -110,19 +145,44 @@ public class GuiModelBody extends GuiModelInterface{
|
||||
initGui();
|
||||
}
|
||||
if(button.id == 3){
|
||||
int value = button.getValue();
|
||||
if(value == 0)
|
||||
playerdata.removePart("fin");
|
||||
else{
|
||||
ModelPartData particles = playerdata.getOrCreatePart("fin");
|
||||
if(value == 1)
|
||||
particles.setTexture("", 0);
|
||||
if(value == 2)
|
||||
particles.setTexture("fin/fin1", 0);
|
||||
}
|
||||
initGui();
|
||||
int value = button.getValue();
|
||||
if(value == 0)
|
||||
playerdata.removePart("fin");
|
||||
else{
|
||||
ModelPartData particles = playerdata.getOrCreatePart("fin");
|
||||
if(value == 1)
|
||||
particles.setTexture("", 0);
|
||||
if(value == 2)
|
||||
particles.setTexture("fin/fin1", 0);
|
||||
if(value == 3)
|
||||
particles.setTexture("fin/fin2", 0);
|
||||
if(value == 4)
|
||||
particles.setTexture("fin/fin3", 0);
|
||||
if(value == 5)
|
||||
particles.setTexture("fin/fin4", 0);
|
||||
if(value == 6)
|
||||
particles.setTexture("fin/fin5", 0);
|
||||
if(value == 7)
|
||||
particles.setTexture("fin/fin6", 0);
|
||||
|
||||
}
|
||||
initGui();
|
||||
}
|
||||
|
||||
if(button.id == 4){
|
||||
int value = button.getValue();
|
||||
if(value == 0)
|
||||
playerdata.removePart("skirt");
|
||||
else{
|
||||
ModelPartData particles = playerdata.getOrCreatePart("skirt");
|
||||
if(value == 1)
|
||||
particles.setTexture("", 0);
|
||||
if(value == 2)
|
||||
particles.setTexture("skirt/skirt1", 0);
|
||||
}
|
||||
initGui();
|
||||
}
|
||||
|
||||
if(button.id == 11){
|
||||
this.mc.displayGuiScreen(new GuiModelColor(this, playerdata.getPartData("wings"), npc));
|
||||
}
|
||||
@@ -132,6 +192,9 @@ public class GuiModelBody extends GuiModelInterface{
|
||||
if(button.id == 13){
|
||||
this.mc.displayGuiScreen(new GuiModelColor(this, playerdata.getPartData("fin"), npc));
|
||||
}
|
||||
if(button.id == 14){
|
||||
this.mc.displayGuiScreen(new GuiModelColor(this, playerdata.getPartData("skirt"), npc));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -15,11 +15,12 @@ public class GuiModelHead extends GuiModelInterface{
|
||||
private final String[] arrHeadwear = new String[]{"gui.no","gui.yes","Solid"};
|
||||
private final String[] arrHair = new String[]{"gui.no","Player","Long","Thin","Stylish","Ponytail"};
|
||||
private final String[] arrBeard = new String[]{"gui.no","Player","Standard","Viking","Long","Short"};
|
||||
private final String[] arrMohawk = new String[]{"gui.no","Type1"};
|
||||
private final String[] arrSnout = new String[]{"gui.no","Player Small","Player Medium", "Player Large", "Player Bunny",
|
||||
"Small1", "Medium1", "Large1", "Bunny1"};
|
||||
private final String[] arrMohawk = new String[]{"gui.no","Type1","Type2","Type3"};
|
||||
private final String[] arrSnout = new String[]{"gui.no","Player Small","Player Medium", "Player Large", "Player Bunny",
|
||||
"Small1", "Medium1", "Large1", "Bunny1", "Beak1"};
|
||||
private final String[] arrEars = new String[]{"gui.no","Player","Player Bunny","Bunny","Type1"};
|
||||
|
||||
private final String[] arrHorns = new String[]{"gui.no", "Player Bull", "Player Antlers", "Player AntennasB", "Player AntennasF", "Bull", "Antlers", "AntennasB", "AntennasF" };
|
||||
|
||||
public GuiModelHead(GuiScreen parent, EntityCustomNpc npc){
|
||||
super(npc);
|
||||
this.parent = parent;
|
||||
@@ -28,42 +29,49 @@ public class GuiModelHead extends GuiModelInterface{
|
||||
|
||||
@Override
|
||||
public void initGui() {
|
||||
super.initGui();
|
||||
super.initGui();
|
||||
|
||||
int y = guiTop + 20;
|
||||
|
||||
addButton(new GuiNpcButton(0, guiLeft + 50, y += 22, 70, 20, arrHeadwear, playerdata.headwear));
|
||||
|
||||
addButton(new GuiNpcButton(0, guiLeft + 50, y += 22, 70, 20, arrHeadwear, playerdata.headwear));
|
||||
addLabel(new GuiNpcLabel(0, "Headwear", guiLeft, y + 5, 0xFFFFFF));
|
||||
|
||||
ModelPartData hair = playerdata.getPartData("hair");
|
||||
addButton(new GuiNpcButton(1, guiLeft + 50, y += 22, 70, 20, arrHair, hair == null?0:hair.type + 1));
|
||||
addButton(new GuiNpcButton(1, guiLeft + 50, y += 22, 70, 20, arrHair, hair == null ? 0 : hair.type + 1));
|
||||
addLabel(new GuiNpcLabel(1, "Hair", guiLeft, y + 5, 0xFFFFFF));
|
||||
if(hair != null)
|
||||
if (hair != null)
|
||||
addButton(new GuiNpcButton(11, guiLeft + 122, y, 40, 20, hair.getColor()));
|
||||
|
||||
ModelPartData mohawk = playerdata.getPartData("mohawk");
|
||||
addButton(new GuiNpcButton(2, guiLeft + 50, y += 22, 70, 20, arrMohawk, mohawk == null?0:mohawk.type));
|
||||
addButton(new GuiNpcButton(2, guiLeft + 50, y += 22, 70, 20, arrMohawk, mohawk == null ? 0 : mohawk.type));
|
||||
addLabel(new GuiNpcLabel(2, "Mohawk", guiLeft, y + 5, 0xFFFFFF));
|
||||
if(mohawk != null)
|
||||
if (mohawk != null)
|
||||
addButton(new GuiNpcButton(12, guiLeft + 122, y, 40, 20, mohawk.getColor()));
|
||||
|
||||
ModelPartData beard = playerdata.getPartData("beard");
|
||||
addButton(new GuiNpcButton(3, guiLeft + 50, y += 22, 70, 20, arrBeard, beard == null?0:beard.type + 1));
|
||||
addButton(new GuiNpcButton(3, guiLeft + 50, y += 22, 70, 20, arrBeard, beard == null ? 0 : beard.type + 1));
|
||||
addLabel(new GuiNpcLabel(3, "Beard", guiLeft, y + 5, 0xFFFFFF));
|
||||
if(beard != null)
|
||||
if (beard != null)
|
||||
addButton(new GuiNpcButton(13, guiLeft + 122, y, 40, 20, beard.getColor()));
|
||||
|
||||
ModelPartData snout = playerdata.getPartData("snout");
|
||||
addButton(new GuiNpcButton(4, guiLeft + 50, y += 22, 70, 20, arrSnout, snout == null?0:snout.type + (snout.playerTexture?1:5)));
|
||||
addButton(new GuiNpcButton(4, guiLeft + 50, y += 22, 70, 20, arrSnout, snout == null ? 0 : snout.type + (snout.playerTexture ? 1 : 5)));
|
||||
addLabel(new GuiNpcLabel(4, "Snout", guiLeft, y + 5, 0xFFFFFF));
|
||||
if(snout != null)
|
||||
if (snout != null)
|
||||
addButton(new GuiNpcButton(14, guiLeft + 122, y, 40, 20, snout.getColor()));
|
||||
|
||||
ModelPartData ears = playerdata.getPartData("ears");
|
||||
addButton(new GuiNpcButton(5, guiLeft + 50, y += 22, 70, 20, arrEars, getEars(ears)));
|
||||
addButton(new GuiNpcButton(5, guiLeft + 50, y += 22, 70, 20, arrEars, getEars(ears)));
|
||||
addLabel(new GuiNpcLabel(5, "Ears", guiLeft, y + 5, 0xFFFFFF));
|
||||
if(ears != null)
|
||||
if (ears != null)
|
||||
addButton(new GuiNpcButton(15, guiLeft + 122, y, 40, 20, ears.getColor()));
|
||||
|
||||
ModelPartData horns = playerdata.getPartData("horns");
|
||||
y += 22;addButton(new GuiNpcButton(6, guiLeft + 50, y, 70, 20, arrHorns, getHorns(horns)));
|
||||
addLabel(new GuiNpcLabel(6, "Horns", guiLeft, y + 5, 16777215));
|
||||
if (horns != null) {
|
||||
addButton(new GuiNpcButton(16, guiLeft + 122, y, 40, 20, horns.getColor()));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -82,6 +90,15 @@ public class GuiModelHead extends GuiModelInterface{
|
||||
return 0;
|
||||
}
|
||||
|
||||
private int getHorns(ModelPartData data) {
|
||||
if (data == null)
|
||||
return 0;
|
||||
if (data.playerTexture) {
|
||||
return data.type + 1;
|
||||
}
|
||||
return data.type + 5;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void actionPerformed(GuiButton btn) {
|
||||
super.actionPerformed(btn);
|
||||
@@ -124,26 +141,28 @@ public class GuiModelHead extends GuiModelInterface{
|
||||
initGui();
|
||||
}
|
||||
|
||||
if(button.id == 4){
|
||||
if(button.getValue() == 0)
|
||||
playerdata.removePart("snout");
|
||||
else if(button.getValue() < 5){
|
||||
ModelPartData data = playerdata.getOrCreatePart("snout");
|
||||
data.type = (byte) (button.getValue() - 1);
|
||||
}
|
||||
else{
|
||||
ModelPartData data = playerdata.getOrCreatePart("snout");
|
||||
byte type = 0;
|
||||
if(button.displayString.startsWith("Medium"))
|
||||
type = 1;
|
||||
if(button.displayString.startsWith("Large"))
|
||||
type = 2;
|
||||
if(button.displayString.startsWith("Bunny"))
|
||||
type = 3;
|
||||
data.setTexture("snout/" + button.displayString.toLowerCase(), type);
|
||||
}
|
||||
initGui();
|
||||
}
|
||||
if(button.id == 4){
|
||||
if(button.getValue() == 0)
|
||||
playerdata.removePart("snout");
|
||||
else if(button.getValue() < 5){
|
||||
ModelPartData data = playerdata.getOrCreatePart("snout");
|
||||
data.type = (byte) (button.getValue() - 1);
|
||||
}
|
||||
else{
|
||||
ModelPartData data = playerdata.getOrCreatePart("snout");
|
||||
byte type = 0;
|
||||
if(button.displayString.startsWith("Medium"))
|
||||
type = 1;
|
||||
if(button.displayString.startsWith("Large"))
|
||||
type = 2;
|
||||
if(button.displayString.startsWith("Bunny"))
|
||||
type = 3;
|
||||
if(button.displayString.startsWith("Beak"))
|
||||
type = 4;
|
||||
data.setTexture("snout/" + button.displayString.toLowerCase(), type);
|
||||
}
|
||||
initGui();
|
||||
}
|
||||
|
||||
if(button.id == 5){
|
||||
int value = button.getValue();
|
||||
@@ -163,6 +182,26 @@ public class GuiModelHead extends GuiModelInterface{
|
||||
initGui();
|
||||
}
|
||||
|
||||
if(button.id == 6){
|
||||
int value = button.getValue();
|
||||
if(value == 0)
|
||||
playerdata.removePart("horns");
|
||||
else{
|
||||
ModelPartData data = playerdata.getOrCreatePart("horns");
|
||||
if(value <= 4)
|
||||
data.setTexture("", value - 1);
|
||||
if(value == 5)
|
||||
data.setTexture("horns/bull", 0);
|
||||
if(value == 6)
|
||||
data.setTexture("horns/antlers", 1);
|
||||
if(value == 7)
|
||||
data.setTexture("horns/antennas", 2);
|
||||
if(value == 8)
|
||||
data.setTexture("horns/antennas", 3);
|
||||
}
|
||||
initGui();
|
||||
}
|
||||
|
||||
if(button.id == 11){
|
||||
this.mc.displayGuiScreen(new GuiModelColor(this, playerdata.getPartData("hair"), npc));
|
||||
}
|
||||
@@ -178,6 +217,9 @@ public class GuiModelHead extends GuiModelInterface{
|
||||
if(button.id == 15){
|
||||
this.mc.displayGuiScreen(new GuiModelColor(this, playerdata.getPartData("ears"), npc));
|
||||
}
|
||||
if(button.id == 16){
|
||||
this.mc.displayGuiScreen(new GuiModelColor(this, playerdata.getPartData("horns"), npc));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -12,7 +12,7 @@ public class GuiModelLegs extends GuiModelInterface{
|
||||
|
||||
private GuiScreen parent;
|
||||
private final String[] arrLegs = new String[]{"gui.no","Player","Player Naga","Spider","Horse","Naga", "Mermaid","Digitigrade"};
|
||||
private final String[] arrTail = new String[]{"gui.no","Player", "Player Dragon","Cat","Wolf","Horse","Dragon", "Squirrel"};
|
||||
private final String[] arrTail = new String[]{"gui.no","Player", "Player Dragon","Cat","Wolf","Horse","Dragon", "Squirrel", "Fin", "Rodent"};
|
||||
public GuiModelLegs(GuiScreen parent, EntityCustomNpc npc){
|
||||
super(npc);
|
||||
this.parent = parent;
|
||||
@@ -46,22 +46,26 @@ public class GuiModelLegs extends GuiModelInterface{
|
||||
}
|
||||
|
||||
private int getTailIndex(ModelPartData data){
|
||||
if(data == null)
|
||||
return 0;
|
||||
if(data.playerTexture && data.type == 0)
|
||||
return 1;
|
||||
if(data.type == 0 && data.texture.contains("tail1"))
|
||||
return 3;
|
||||
if(data.type == 0 && data.texture.contains("tail2"))
|
||||
return 4;
|
||||
if(data.playerTexture && data.type == 1)
|
||||
return 2;
|
||||
if(data.type == 1)
|
||||
return 6;
|
||||
if(data.type == 2)
|
||||
return 5;
|
||||
if(data.type == 3)
|
||||
return 7;
|
||||
if(data == null)
|
||||
return 0;
|
||||
if(data.playerTexture && data.type == 0)
|
||||
return 1;
|
||||
if(data.type == 0 && data.texture.contains("tail1"))
|
||||
return 3;
|
||||
if(data.type == 0 && data.texture.contains("tail2"))
|
||||
return 4;
|
||||
if(data.playerTexture && data.type == 1)
|
||||
return 2;
|
||||
if(data.type == 1)
|
||||
return 6;
|
||||
if(data.type == 2)
|
||||
return 5;
|
||||
if(data.type == 3)
|
||||
return 7;
|
||||
if(data.type == 4)
|
||||
return 8;
|
||||
if(data.type == 5)
|
||||
return 9;
|
||||
|
||||
return 0;
|
||||
}
|
||||
@@ -94,30 +98,34 @@ public class GuiModelLegs extends GuiModelInterface{
|
||||
|
||||
}
|
||||
|
||||
if(button.id == 2){
|
||||
if(button.id == 2){
|
||||
int value = button.getValue();
|
||||
if(value == 0)
|
||||
playerdata.removePart("tail");
|
||||
else{
|
||||
ModelPartData data = playerdata.getOrCreatePart("tail");
|
||||
if(value == 1)
|
||||
data.setTexture("", 0);
|
||||
if(value == 2)
|
||||
data.setTexture("", 1);
|
||||
if(value == 3)
|
||||
data.setTexture("tail/tail1", 0);
|
||||
if(value == 4)
|
||||
data.setTexture("tail/tail2", 0);
|
||||
if(value == 5)
|
||||
data.setTexture("tail/horse1", 2);
|
||||
if(value == 6)
|
||||
data.setTexture("tail/dragon1", 1);
|
||||
if(value == 7)
|
||||
data.setTexture("tail/squirrel1", 3);
|
||||
|
||||
}
|
||||
initGui();
|
||||
}
|
||||
if(value == 0)
|
||||
playerdata.removePart("tail");
|
||||
else{
|
||||
ModelPartData data = playerdata.getOrCreatePart("tail");
|
||||
if(value == 1)
|
||||
data.setTexture("", 0);
|
||||
if(value == 2)
|
||||
data.setTexture("", 1);
|
||||
if(value == 3)
|
||||
data.setTexture("tail/tail1", 0);
|
||||
if(value == 4)
|
||||
data.setTexture("tail/tail2", 0);
|
||||
if(value == 5)
|
||||
data.setTexture("tail/horse1", 2);
|
||||
if(value == 6)
|
||||
data.setTexture("tail/dragon1", 1);
|
||||
if(value == 7)
|
||||
data.setTexture("tail/squirrel1", 3);
|
||||
if(value == 8)
|
||||
data.setTexture("tail/fin1", 4);
|
||||
if(value == 9)
|
||||
data.setTexture("tail/rodent1", 5);
|
||||
|
||||
}
|
||||
initGui();
|
||||
}
|
||||
if(button.id == 11){
|
||||
this.mc.displayGuiScreen(new GuiModelColor(this, playerdata.legParts, npc));
|
||||
}
|
||||
|
||||
@@ -23,6 +23,14 @@ public class GuiNpcSlider extends GuiButton {
|
||||
if(parent instanceof ISliderListener)
|
||||
listener = (ISliderListener) parent;
|
||||
}
|
||||
|
||||
public GuiNpcSlider(GuiScreen parent, int id, int xPos, int yPos, int width, int height, String displayString, float sliderValue) {
|
||||
super(id, xPos, yPos, width, height, NoppesStringUtils.translate(displayString));
|
||||
this.id = id;
|
||||
this.sliderValue = sliderValue;
|
||||
if(parent instanceof ISliderListener)
|
||||
listener = (ISliderListener) parent;
|
||||
}
|
||||
|
||||
public GuiNpcSlider(GuiScreen parent, int id, int xPos, int yPos, float sliderValue) {
|
||||
this(parent, id, xPos, yPos, "", sliderValue);
|
||||
|
||||
@@ -32,6 +32,8 @@ import noppes.npcs.constants.EnumAnimation;
|
||||
import noppes.npcs.constants.EnumJobType;
|
||||
import noppes.npcs.entity.EntityCustomNpc;
|
||||
import noppes.npcs.roles.JobPuppet;
|
||||
import noppes.npcs.client.model.part.ModelHorns;
|
||||
import noppes.npcs.client.model.part.ModelSkirt;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
@@ -44,6 +46,8 @@ public class ModelMPM extends ModelNPCMale{
|
||||
private ModelPartInterface snout;
|
||||
private ModelPartInterface ears;
|
||||
private ModelPartInterface fin;
|
||||
private ModelPartInterface skirt;
|
||||
private ModelPartInterface horns;
|
||||
|
||||
private ModelPartInterface clawsR;
|
||||
private ModelPartInterface clawsL;
|
||||
@@ -94,40 +98,26 @@ public class ModelMPM extends ModelNPCMale{
|
||||
|
||||
headwear = new ModelHeadwear(this);
|
||||
legs = new ModelLegs(this, (ModelScaleRenderer)bipedRightLeg, (ModelScaleRenderer)bipedLeftLeg);
|
||||
|
||||
breasts = new ModelBreasts(this);
|
||||
this.bipedBody.addChild(breasts);
|
||||
if(!isArmor){
|
||||
ears = new ModelEars(this);
|
||||
this.bipedHead.addChild(ears);
|
||||
|
||||
mohawk = new ModelMohawk(this);
|
||||
this.bipedHead.addChild(mohawk);
|
||||
|
||||
hair = new ModelHair(this);
|
||||
this.bipedHead.addChild(hair);
|
||||
|
||||
beard = new ModelBeard(this);
|
||||
this.bipedHead.addChild(beard);
|
||||
|
||||
snout = new ModelSnout(this);
|
||||
this.bipedHead.addChild(snout);
|
||||
|
||||
tail = new ModelTail(this);
|
||||
|
||||
wings = new ModelWings(this);
|
||||
this.bipedBody.addChild(wings);
|
||||
|
||||
fin = new ModelFin(this);
|
||||
this.bipedBody.addChild(fin);
|
||||
|
||||
clawsL = new ModelClaws(this, false);
|
||||
this.bipedLeftArm.addChild(clawsL);
|
||||
|
||||
clawsR = new ModelClaws(this, true);
|
||||
this.bipedRightArm.addChild(clawsR);
|
||||
}
|
||||
}
|
||||
this.bipedBody.addChild(breasts = new ModelBreasts(this));
|
||||
if(!isArmor){
|
||||
this.bipedHead.addChild(ears = new ModelEars(this));
|
||||
this.bipedHead.addChild(mohawk = new ModelMohawk(this));
|
||||
this.bipedHead.addChild(hair = new ModelHair(this));
|
||||
this.bipedHead.addChild(beard = new ModelBeard(this));
|
||||
this.bipedHead.addChild(snout = new ModelSnout(this));
|
||||
this.bipedHead.addChild(horns = new ModelHorns(this));
|
||||
|
||||
tail = new ModelTail(this);
|
||||
|
||||
this.bipedBody.addChild(wings = new ModelWings(this));
|
||||
this.bipedBody.addChild(skirt = new ModelSkirt(this));
|
||||
this.bipedBody.addChild(fin = new ModelFin(this));
|
||||
|
||||
this.bipedLeftArm.addChild(clawsL = new ModelClaws(this, false));
|
||||
this.bipedRightArm.addChild(clawsR = new ModelClaws(this, true));
|
||||
}
|
||||
}
|
||||
|
||||
private void setPlayerData(EntityCustomNpc entity){
|
||||
if(!isArmor){
|
||||
@@ -141,6 +131,8 @@ public class ModelMPM extends ModelNPCMale{
|
||||
ears.setData(entity.modelData, entity);
|
||||
clawsL.setData(entity.modelData, entity);
|
||||
clawsR.setData(entity.modelData, entity);
|
||||
skirt.setData(entity.modelData, entity);
|
||||
horns.setData(entity.modelData, entity);
|
||||
}
|
||||
breasts.setData(entity.modelData, entity);
|
||||
legs.setData(entity);
|
||||
@@ -263,6 +255,7 @@ public class ModelMPM extends ModelNPCMale{
|
||||
beard.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
wings.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
tail.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
skirt.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
}
|
||||
legs.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
package noppes.npcs.client.model;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelBiped;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import noppes.npcs.ModelPartConfig;
|
||||
import noppes.npcs.ModelPartData;
|
||||
import noppes.npcs.client.ClientProxy;
|
||||
import noppes.npcs.client.model.animation.AniCrawling;
|
||||
import noppes.npcs.client.model.animation.AniHug;
|
||||
import noppes.npcs.client.model.part.*;
|
||||
import noppes.npcs.client.model.util.ModelPartInterface;
|
||||
import noppes.npcs.client.model.util.ModelScaleRenderer;
|
||||
import noppes.npcs.constants.EnumAnimation;
|
||||
import noppes.npcs.constants.EnumJobType;
|
||||
import noppes.npcs.entity.EntityCustomNpc;
|
||||
import noppes.npcs.roles.JobPuppet;
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class ModelMPM64 extends ModelMPM{
|
||||
|
||||
public ModelMPM64(float par1) {
|
||||
super(par1);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,78 @@
|
||||
package noppes.npcs.client.model.part;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
import noppes.npcs.client.model.util.ModelPartInterface;
|
||||
|
||||
public class ModelDuckBeak extends ModelRenderer {
|
||||
ModelRenderer Top3;
|
||||
ModelRenderer Top2;
|
||||
ModelRenderer Bottom;
|
||||
ModelRenderer Left;
|
||||
ModelRenderer Right;
|
||||
ModelRenderer Middle;
|
||||
ModelRenderer Top;
|
||||
|
||||
public ModelDuckBeak(ModelMPM base) {
|
||||
super(base);
|
||||
|
||||
Top3 = new ModelRenderer(base, 14, 0);
|
||||
Top3.addBox(0F, 0F, 0F, 2, 1, 3);
|
||||
Top3.setRotationPoint(-1F, -2F, -5F);
|
||||
setRotation(Top3, 0.3346075F, 0F, 0F);
|
||||
addChild(Top3);
|
||||
|
||||
Top2 = new ModelRenderer(base, 0, 0);
|
||||
Top2.addBox(0F, 0F, -0.4F, 4, 1, 3);
|
||||
Top2.setRotationPoint(-2F, -3F, -2F);
|
||||
setRotation(Top2, 0.3346075F, 0F, 0F);
|
||||
addChild(Top2);
|
||||
|
||||
Bottom = new ModelRenderer(base, 24, 0);
|
||||
Bottom.addBox(0F, 0F, 0F, 2, 1, 5);
|
||||
Bottom.setRotationPoint(-1F, -1F, -5F);
|
||||
addChild(Bottom);
|
||||
|
||||
Left = new ModelRenderer(base, 0, 4);
|
||||
Left.mirror = true;
|
||||
Left.addBox(0F, 0F, 0F, 1, 3, 2);
|
||||
Left.setRotationPoint(0.98F, -3F, -2F);
|
||||
addChild(Left);
|
||||
|
||||
Right = new ModelRenderer(base, 0, 4);
|
||||
Right.addBox(0F, 0F, 0F, 1, 3, 2);
|
||||
Right.setRotationPoint(-1.98F, -3F, -2F);
|
||||
addChild(Right);
|
||||
|
||||
Middle = new ModelRenderer(base, 3, 0);
|
||||
Middle.addBox(0F, 0F, 0F, 2, 1, 3);
|
||||
Middle.setRotationPoint(-1F, -2F, -5F);
|
||||
addChild(Middle);
|
||||
|
||||
Top = new ModelRenderer(base, 6, 4);
|
||||
Top.addBox(0F, 0F, 0F, 2, 2, 1);
|
||||
Top.setRotationPoint(-1F, -4.4F, -1F);
|
||||
addChild(Top);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(float f)
|
||||
{
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef(0, 0, -1f * f);
|
||||
GL11.glScalef(0.82f, 0.82f, 0.70f);
|
||||
super.render(f);
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -13,7 +13,7 @@ public class ModelFin extends ModelPartInterface {
|
||||
|
||||
public ModelFin(ModelMPM base) {
|
||||
super(base);
|
||||
model = new Model2DRenderer(base, 56, 20, 8, 12, 64, 32);
|
||||
model = new Model2DRenderer(base, 48, 8, 16, 24, 64, 32);
|
||||
model.setRotationPoint(-0.5F, 12, 10);
|
||||
model.setScale(0.74f);
|
||||
model.rotateAngleY = (float)Math.PI / 2;
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
package noppes.npcs.client.model.part;
|
||||
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import noppes.npcs.ModelPartData;
|
||||
import noppes.npcs.ModelData;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
import noppes.npcs.client.model.util.ModelPartInterface;
|
||||
import noppes.npcs.client.model.part.horns.ModelAntennasBack;
|
||||
import noppes.npcs.client.model.part.horns.ModelAntennasFront;
|
||||
import noppes.npcs.client.model.part.horns.ModelAntlerHorns;
|
||||
import noppes.npcs.client.model.part.horns.ModelBullHorns;
|
||||
|
||||
public class ModelHorns extends ModelPartInterface {
|
||||
private ModelRenderer bull;
|
||||
private ModelRenderer antlers;
|
||||
private ModelRenderer antennasBack;
|
||||
private ModelRenderer antennasFront;
|
||||
|
||||
public ModelHorns(ModelMPM base) {
|
||||
super(base);
|
||||
|
||||
this.addChild(bull = new ModelBullHorns(base));
|
||||
this.addChild(antlers = new ModelAntlerHorns(base));
|
||||
this.addChild(antennasBack = new ModelAntennasBack(base));
|
||||
this.addChild(antennasFront = new ModelAntennasFront(base));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setRotationAngles(float par1, float par2, float par3,
|
||||
float par4, float par5, float par6, Entity entity) {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initData(ModelData data) {
|
||||
ModelPartData config = data.getPartData("horns");
|
||||
if(config == null)
|
||||
{
|
||||
isHidden = true;
|
||||
return;
|
||||
}
|
||||
color = config.color;
|
||||
isHidden = false;
|
||||
|
||||
bull.isHidden = config.type != 0;
|
||||
antlers.isHidden = config.type != 1;
|
||||
antennasBack.isHidden = config.type != 2;
|
||||
antennasFront.isHidden = config.type != 3;
|
||||
|
||||
if(!config.playerTexture){
|
||||
location = config.getResource();
|
||||
}
|
||||
else
|
||||
location = null;
|
||||
}
|
||||
}
|
||||
@@ -12,6 +12,7 @@ import noppes.npcs.client.ClientProxy;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
import noppes.npcs.client.model.part.legs.ModelDigitigradeLegs;
|
||||
import noppes.npcs.client.model.part.legs.ModelMermaidLegs;
|
||||
import noppes.npcs.client.model.part.legs.ModelMermaidLegs2;
|
||||
import noppes.npcs.client.model.part.legs.ModelNagaLegs;
|
||||
import noppes.npcs.client.model.util.ModelScaleRenderer;
|
||||
import noppes.npcs.constants.EnumAnimation;
|
||||
@@ -27,6 +28,7 @@ public class ModelLegs extends ModelScaleRenderer{
|
||||
private ModelNagaLegs naga;
|
||||
private ModelDigitigradeLegs digitigrade;
|
||||
private ModelMermaidLegs mermaid;
|
||||
private ModelMermaidLegs2 mermaid2;
|
||||
|
||||
private ModelRenderer spiderLeg1;
|
||||
private ModelRenderer spiderLeg2;
|
||||
@@ -200,7 +202,9 @@ public class ModelLegs extends ModelScaleRenderer{
|
||||
this.addChild(naga);
|
||||
|
||||
mermaid = new ModelMermaidLegs(base);
|
||||
this.addChild(mermaid);
|
||||
|
||||
mermaid2 = new ModelMermaidLegs2(base);
|
||||
this.addChild(mermaid2);
|
||||
|
||||
digitigrade = new ModelDigitigradeLegs(base);
|
||||
this.addChild(digitigrade);
|
||||
@@ -297,8 +301,17 @@ public class ModelLegs extends ModelScaleRenderer{
|
||||
naga.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
}
|
||||
else if(part.type == 4){
|
||||
mermaid.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
}
|
||||
mermaid.isRiding = base.isRiding;
|
||||
mermaid.isSleeping = base.isSleeping(entity);
|
||||
mermaid.isCrawling = this.entity.currentAnimation == EnumAnimation.CRAWLING;
|
||||
mermaid.isSneaking = base.isSneak;
|
||||
mermaid2.isRiding = base.isRiding;
|
||||
mermaid2.isSleeping = base.isSleeping(entity);
|
||||
mermaid2.isCrawling = this.entity.currentAnimation == EnumAnimation.CRAWLING;
|
||||
mermaid2.isSneaking = base.isSneak;
|
||||
mermaid.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
mermaid2.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
}
|
||||
else if(part.type == 5){
|
||||
digitigrade.setRotationAngles(par1, par2, par3, par4, par5, par6, entity);
|
||||
}
|
||||
@@ -314,7 +327,7 @@ public class ModelLegs extends ModelScaleRenderer{
|
||||
return;
|
||||
GL11.glPushMatrix();
|
||||
if(part.type == 4)
|
||||
part.playerTexture = !entity.isInWater();
|
||||
part.playerTexture = false;
|
||||
if(!base.isArmor){
|
||||
if(!part.playerTexture){
|
||||
ClientProxy.bindTexture(part.getResource());
|
||||
@@ -325,18 +338,19 @@ public class ModelLegs extends ModelScaleRenderer{
|
||||
base.currentlyPlayerTexture = true;
|
||||
}
|
||||
}
|
||||
if(part.type == 0 || part.type == 4 && !entity.isInWater()){
|
||||
leg1.setConfig(config, x, y, z);
|
||||
leg1.render(par1);
|
||||
leg2.setConfig(config, -x, y, z);
|
||||
leg2.render(par1);
|
||||
}
|
||||
if(part.type == 0){
|
||||
leg1.setConfig(config, x, y, z);
|
||||
leg1.render(par1);
|
||||
leg2.setConfig(config, -x, y, z);
|
||||
leg2.render(par1);
|
||||
}
|
||||
|
||||
if(!base.isArmor){
|
||||
naga.isHidden = part.type != 1;
|
||||
spider.isHidden = part.type != 2;
|
||||
horse.isHidden = part.type != 3;
|
||||
mermaid.isHidden = part.type != 4 || !entity.isInWater();
|
||||
mermaid.isHidden = part.type != 4;
|
||||
mermaid2.isHidden = part.type != 4;
|
||||
digitigrade.isHidden = part.type != 5;
|
||||
|
||||
if(!horse.isHidden){
|
||||
|
||||
@@ -0,0 +1,72 @@
|
||||
package noppes.npcs.client.model.part;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import noppes.npcs.ModelData;
|
||||
import noppes.npcs.ModelPartData;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
import noppes.npcs.client.model.util.ModelPartInterface;
|
||||
import noppes.npcs.client.model.util.ModelPlane;
|
||||
import noppes.npcs.client.model.util.ModelPlaneRenderer;
|
||||
|
||||
public class ModelSkirt extends ModelPartInterface {
|
||||
private ModelPlaneRenderer Shape1;
|
||||
public ModelSkirt(ModelMPM base) {
|
||||
super(base);
|
||||
float pi = (float) (Math.PI / 5);
|
||||
|
||||
Shape1 = new ModelPlaneRenderer(base, 58, 18);
|
||||
Shape1.addSidePlane(0, 0, 0, 9, 2);
|
||||
|
||||
ModelPlaneRenderer part1 = new ModelPlaneRenderer(base, 58, 18);
|
||||
part1.addSidePlane(2, 0, 0, 9, 2);
|
||||
part1.rotateAngleY = -(float) (Math.PI/2);
|
||||
Shape1.addChild(part1);
|
||||
|
||||
Shape1.setRotationPoint(2.4F, 8.8F, 0F);
|
||||
setRotation(Shape1, 0.3F, -0.2f, -0.2F);
|
||||
}
|
||||
public void render(float par1)
|
||||
{
|
||||
if (this.isHidden || !this.showModel)
|
||||
return;
|
||||
GL11.glPushMatrix();
|
||||
GL11.glScalef(1.7f, 1.04f, 1.6f);
|
||||
super.render(par1);
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
public void renderParts(float par1) {
|
||||
for(int i = 0; i < 10; i++){
|
||||
GL11.glRotatef(36, 0, 1, 0);
|
||||
Shape1.render(par1);
|
||||
}
|
||||
}
|
||||
|
||||
public void setRotationAngles(float par1, float par2, float par3,
|
||||
float par4, float par5, float par6, Entity entity) {
|
||||
setRotation(Shape1, 0.3F, -0.2f, -0.2F);
|
||||
Shape1.rotateAngleX += base.bipedLeftArm.rotateAngleX * 0.04f;
|
||||
Shape1.rotateAngleZ += base.bipedLeftArm.rotateAngleX * 0.06f;
|
||||
//this.Shape1.rotateAngleX -= MathHelper.sin(par3 * 0.067F) * 0.05F;
|
||||
this.Shape1.rotateAngleZ -= MathHelper.cos(par3 * 0.09F) * 0.04F - 0.05F;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initData(ModelData data) {
|
||||
ModelPartData config = data.getPartData("skirt");
|
||||
if(config == null)
|
||||
{
|
||||
isHidden = true;
|
||||
return;
|
||||
}
|
||||
color = config.color;
|
||||
isHidden = false;
|
||||
location = (ResourceLocation) config.getResource();
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,7 @@ public class ModelSnout extends ModelPartInterface {
|
||||
private ModelRenderer medium;
|
||||
private ModelRenderer large;
|
||||
private ModelRenderer bunny;
|
||||
private ModelRenderer beak;
|
||||
|
||||
public ModelSnout(ModelMPM base) {
|
||||
super(base);
|
||||
@@ -41,6 +42,10 @@ public class ModelSnout extends ModelPartInterface {
|
||||
tooth.addBox(2F, 3f, 0F, 2, 1, 1);
|
||||
tooth.setRotationPoint(0F, 0F, 0F);
|
||||
bunny.addChild(tooth);
|
||||
|
||||
beak = new ModelDuckBeak(base);
|
||||
beak.setRotationPoint(0, 0, -4F);
|
||||
this.addChild(beak);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -64,6 +69,7 @@ public class ModelSnout extends ModelPartInterface {
|
||||
medium.isHidden = config.type != 1;
|
||||
large.isHidden = config.type != 2;
|
||||
bunny.isHidden = config.type != 3;
|
||||
beak.isHidden = config.type != 4;
|
||||
|
||||
if(!config.playerTexture){
|
||||
location = config.getResource();
|
||||
|
||||
@@ -15,6 +15,8 @@ import noppes.npcs.client.model.part.tails.ModelSquirrelTail;
|
||||
import noppes.npcs.client.model.util.ModelScaleRenderer;
|
||||
import noppes.npcs.constants.EnumAnimation;
|
||||
import noppes.npcs.entity.EntityCustomNpc;
|
||||
import noppes.npcs.client.model.part.tails.ModelRodentTail;
|
||||
import noppes.npcs.client.model.part.tails.ModelTailFin;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
@@ -26,6 +28,8 @@ public class ModelTail extends ModelScaleRenderer {
|
||||
private ModelRenderer dragon;
|
||||
private ModelRenderer squirrel;
|
||||
private ModelRenderer horse;
|
||||
private ModelRenderer fin;
|
||||
private ModelRenderer rodent;
|
||||
|
||||
private int color = 0xFFFFFF;
|
||||
|
||||
@@ -68,6 +72,9 @@ public class ModelTail extends ModelScaleRenderer {
|
||||
this.addChild(dragon = new ModelDragonTail(base));
|
||||
|
||||
this.addChild(squirrel = new ModelSquirrelTail(base));
|
||||
|
||||
this.addChild(fin = new ModelTailFin(base));
|
||||
this.addChild(rodent = new ModelRodentTail(base));
|
||||
}
|
||||
|
||||
public void setData(EntityCustomNpc entity) {
|
||||
@@ -118,6 +125,8 @@ public class ModelTail extends ModelScaleRenderer {
|
||||
dragon.isHidden = config.type != 1;
|
||||
horse.isHidden = config.type != 2;
|
||||
squirrel.isHidden = config.type != 3;
|
||||
fin.isHidden = config.type != 4;
|
||||
rodent.isHidden = config.type != 5;
|
||||
if(!config.playerTexture){
|
||||
location = config.getResource();
|
||||
}
|
||||
|
||||
@@ -17,14 +17,14 @@ public class ModelWings extends ModelPartInterface {
|
||||
public ModelWings(ModelMPM base) {
|
||||
super(base);
|
||||
|
||||
lWing = new Model2DRenderer(base, 56, 16, 8, 16, 64, 32);
|
||||
lWing = new Model2DRenderer(base, 48, 32, 16, 32, 64, 32);
|
||||
lWing.mirror = true;
|
||||
lWing.setRotationPoint(2F, 4, 2F);
|
||||
lWing.setRotationOffset(-16, -12);
|
||||
setRotation(lWing, 0.7141593F, -0.5235988F, -0.5090659F);
|
||||
this.addChild(lWing);
|
||||
|
||||
rWing = new Model2DRenderer(base, 56, 16, 8, 16, 64, 32);
|
||||
rWing = new Model2DRenderer(base, 48, 32, 16, 32, 64, 32);
|
||||
rWing.setRotationPoint(-2F, 4F, 2F);
|
||||
rWing.setRotationOffset(-16, -12);
|
||||
setRotation(rWing, 0.7141593F, 0.5235988F, 0.5090659F);
|
||||
|
||||
@@ -0,0 +1,44 @@
|
||||
package noppes.npcs.client.model.part.horns;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
|
||||
public class ModelAntennasBack extends ModelRenderer {
|
||||
|
||||
public ModelAntennasBack(ModelMPM base) {
|
||||
super(base);
|
||||
ModelRenderer rightantenna1 = new ModelRenderer(base, 36, 0);
|
||||
rightantenna1.addBox(-1F, 0F, 0F, 1, 4, 1);
|
||||
rightantenna1.setRotationPoint(3F, -10.9F, 0F);
|
||||
setRotation(rightantenna1, -0.7504916F, 0.0698132F, 0.0698132F);
|
||||
addChild(rightantenna1);
|
||||
|
||||
ModelRenderer leftantenna1 = new ModelRenderer(base, 32, 0);
|
||||
leftantenna1.mirror = true;
|
||||
leftantenna1.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
leftantenna1.setRotationPoint(-3F, -10.9F, 0F);
|
||||
setRotation(leftantenna1, -0.7504916F, -0.0698132F, -0.0698132F);
|
||||
addChild(leftantenna1);
|
||||
|
||||
ModelRenderer rightantenna2 = new ModelRenderer(base, 36, 0);
|
||||
rightantenna2.addBox(-1F, 0F, 0F, 1, 4, 1);
|
||||
rightantenna2.setRotationPoint(4.6F, -12.2F, 3.4F);
|
||||
setRotation(rightantenna2, -1.22173F, 0.4363323F, 0.0698132F);
|
||||
addChild(rightantenna2);
|
||||
|
||||
ModelRenderer leftantenna2 = new ModelRenderer(base, 32, 0);
|
||||
leftantenna2.mirror = true;
|
||||
leftantenna2.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
leftantenna2.setRotationPoint(-4.6F, -12.2F, 3.4F);
|
||||
setRotation(leftantenna2, -1.22173F, -0.4363323F, -0.0698132F);
|
||||
addChild(leftantenna2);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package noppes.npcs.client.model.part.horns;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
|
||||
public class ModelAntennasFront extends ModelRenderer {
|
||||
|
||||
public ModelAntennasFront(ModelMPM base) {
|
||||
super(base);
|
||||
ModelRenderer rightantenna1 = new ModelRenderer(base, 36, 0);
|
||||
rightantenna1.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
rightantenna1.setRotationPoint(2F, -9.4F, -2F);
|
||||
setRotation(rightantenna1, 0.4014257F, 0.0698132F, 0.0698132F);
|
||||
addChild(rightantenna1);
|
||||
|
||||
ModelRenderer leftantenna1 = new ModelRenderer(base, 32, 0);
|
||||
leftantenna1.mirror = true;
|
||||
leftantenna1.addBox(-1F, 0F, 0F, 1, 4, 1);
|
||||
leftantenna1.setRotationPoint(-2F, -9.4F, -2F);
|
||||
setRotation(leftantenna1, 0.4014257F, -0.0698132F, -0.0698132F);
|
||||
addChild(leftantenna1);
|
||||
|
||||
ModelRenderer rightantenna2 = new ModelRenderer(base, 36, 0);
|
||||
rightantenna2.addBox(0F, 0F, 0F, 1, 4, 1);
|
||||
rightantenna2.setRotationPoint(3F, -10.2F, -5.3F);
|
||||
setRotation(rightantenna2, 1.22173F, -0.2094395F, 0.0698132F);
|
||||
addChild(rightantenna2);
|
||||
|
||||
ModelRenderer leftantenna2 = new ModelRenderer(base, 32, 0);
|
||||
leftantenna2.mirror = true;
|
||||
leftantenna2.addBox(-1F, 0F, 0F, 1, 4, 1);
|
||||
leftantenna2.setRotationPoint(-3F, -10.2F, -5.3F);
|
||||
setRotation(leftantenna2, 1.22173F, 0.2094395F, -0.0698132F);
|
||||
addChild(leftantenna2);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,70 @@
|
||||
package noppes.npcs.client.model.part.horns;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
|
||||
public class ModelAntlerHorns extends ModelRenderer {
|
||||
|
||||
public ModelAntlerHorns(ModelMPM base) {
|
||||
super(base);
|
||||
ModelRenderer right_base_horn = new ModelRenderer(base, 58, 20);
|
||||
right_base_horn.addBox(0F, -5F, 0F, 1, 6, 1);
|
||||
right_base_horn.setRotationPoint(-2.5F, -6F, -1F);
|
||||
setRotation(right_base_horn, 0F, 0F, -0.2F);
|
||||
addChild(right_base_horn);
|
||||
ModelRenderer right_horn1 = new ModelRenderer(base, 58, 20);
|
||||
right_horn1.addBox(0F, -5F, 0F, 1, 5, 1);
|
||||
right_horn1.setRotationPoint(0F, -4F, 0F);
|
||||
setRotation(right_horn1, 1F, 0F, -1F);
|
||||
right_base_horn.addChild(right_horn1);
|
||||
ModelRenderer right_horn2 = new ModelRenderer(base, 58, 20);
|
||||
right_horn2.addBox(0F, -4F, 0F, 1, 5, 1);
|
||||
right_horn2.setRotationPoint(-0F, -6F, -0F);
|
||||
setRotation(right_horn2, -0.5F, -0.5F, 0F);
|
||||
right_base_horn.addChild(right_horn2);
|
||||
ModelRenderer things1 = new ModelRenderer(base, 58, 20);
|
||||
things1.addBox(0F, -5F, 0F, 1, 5, 1);
|
||||
things1.setRotationPoint(0F, -3F, 1F);
|
||||
setRotation(things1, 2F, 0.5f, 0.5f);
|
||||
right_horn2.addChild(things1);
|
||||
ModelRenderer things2 = new ModelRenderer(base, 58, 20);
|
||||
things2.addBox(0F, -5F, 0F, 1, 5, 1);
|
||||
things2.setRotationPoint(0F, -3F, 1F);
|
||||
setRotation(things2, 2F, -0.5f, -0.5f);
|
||||
right_horn2.addChild(things2);
|
||||
|
||||
ModelRenderer left_base_horn = new ModelRenderer(base, 58, 20);
|
||||
left_base_horn.addBox(0F, -5F, 0F, 1, 6, 1);
|
||||
left_base_horn.setRotationPoint(1.5F, -6F, -1F);
|
||||
setRotation(left_base_horn, 0F, 0F, 0.2F);
|
||||
addChild(left_base_horn);
|
||||
ModelRenderer left_horn1 = new ModelRenderer(base, 58, 20);
|
||||
left_horn1.addBox(0F, -5F, 0F, 1, 5, 1);
|
||||
left_horn1.setRotationPoint(0F, -5F, 0F);
|
||||
setRotation(left_horn1, 1F, 0F, 1F);
|
||||
left_base_horn.addChild(left_horn1);
|
||||
ModelRenderer left_horn2 = new ModelRenderer(base, 58, 20);
|
||||
left_horn2.addBox(0F, -4F, 0F, 1, 5, 1);
|
||||
left_horn2.setRotationPoint(0F, -6F, 1F);
|
||||
setRotation(left_horn2, -0.5F, 0.5F, 0F);
|
||||
left_base_horn.addChild(left_horn2);
|
||||
ModelRenderer things8 = new ModelRenderer(base, 58, 20);
|
||||
things8.addBox(0F, -5F, 0F, 1, 5, 1);
|
||||
things8.setRotationPoint(0F, -3F, 1F);
|
||||
setRotation(things8, 2F, -0.5f, -0.5f);
|
||||
left_horn2.addChild(things8);
|
||||
ModelRenderer things4 = new ModelRenderer(base, 58, 20);
|
||||
things4.addBox(0F, -5F, 0F, 1, 5, 1);
|
||||
things4.setRotationPoint(0F, -3F, 1F);
|
||||
setRotation(things4, 2F, 0.5f, 0.5f);
|
||||
left_horn2.addChild(things4);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,55 @@
|
||||
package noppes.npcs.client.model.part.horns;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
|
||||
public class ModelBullHorns extends ModelRenderer {
|
||||
|
||||
public ModelBullHorns(ModelMPM base) {
|
||||
super(base);
|
||||
ModelRenderer Left1 = new ModelRenderer(base, 36, 16);
|
||||
Left1.mirror = true;
|
||||
Left1.addBox(0F, 0F, 0F, 2, 2, 2);
|
||||
Left1.setRotationPoint(4F, -8F, -2F);
|
||||
addChild(Left1);
|
||||
|
||||
ModelRenderer Right1 = new ModelRenderer(base, 36, 16);
|
||||
Right1.addBox(-3F, 0F, 0F, 2, 2, 2);
|
||||
Right1.setRotationPoint(-3F, -8F, -2F);
|
||||
addChild(Right1);
|
||||
|
||||
ModelRenderer Left2 = new ModelRenderer(base, 12, 16);
|
||||
Left2.mirror = true;
|
||||
Left2.addBox(0F, 0F, 0F, 2, 2, 2);
|
||||
Left2.setRotationPoint(5F, -8F, -2F);
|
||||
setRotation(Left2, 0.0371786F, 0.3346075F, -0.2602503F);
|
||||
addChild(Left2);
|
||||
|
||||
ModelRenderer Right2 = new ModelRenderer(base, 12, 16);
|
||||
Right2.addBox(-2F, 0F, 0F, 2, 2, 2);
|
||||
Right2.setRotationPoint(-5F, -8F, -2F);
|
||||
setRotation(Right2, 0.0371786F, -0.3346075F, 0.2602503F);
|
||||
addChild(Right2);
|
||||
|
||||
ModelRenderer Left3 = new ModelRenderer(base, 13, 17);
|
||||
Left3.mirror = true;
|
||||
Left3.addBox(-1F, 0F, 0F, 2, 1, 1);
|
||||
Left3.setRotationPoint(7F, -8F, -2F);
|
||||
setRotation(Left3, 0.2602503F, 0.8551081F, -0.4089647F);
|
||||
addChild(Left3);
|
||||
|
||||
ModelRenderer Right3 = new ModelRenderer(base, 13, 17);
|
||||
Right3.addBox(-1F, 0F, 0F, 2, 1, 1);
|
||||
Right3.setRotationPoint(-7F, -8F, -2F);
|
||||
setRotation(Right3, -0.2602503F, -0.8551081F, 0.4089647F);
|
||||
addChild(Right3);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
}
|
||||
@@ -4,6 +4,11 @@ import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import noppes.npcs.CustomNpcs;
|
||||
import noppes.npcs.ModelData;
|
||||
import noppes.npcs.constants.EnumAnimation;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
import noppes.npcs.entity.EntityCustomNpc;
|
||||
|
||||
public class ModelMermaidLegs extends ModelRenderer {
|
||||
|
||||
@@ -13,42 +18,47 @@ public class ModelMermaidLegs extends ModelRenderer {
|
||||
ModelRenderer fin1;
|
||||
ModelRenderer fin2;
|
||||
|
||||
public boolean isRiding = false;
|
||||
public boolean isSneaking = false;
|
||||
public boolean isSleeping = false;
|
||||
public boolean isCrawling = false;
|
||||
|
||||
public ModelMermaidLegs(ModelBase base) {
|
||||
super(base);
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
super(base);
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
|
||||
top = new ModelRenderer(base, 0, 16);
|
||||
top.addBox(-2F, -2.5F, -2F, 8, 9, 4);
|
||||
top.setRotationPoint(-2F, 14F, 1F);
|
||||
setRotation(top, 0.26F, 0F, 0F);
|
||||
top = new ModelRenderer(base, 0, 16);
|
||||
top.addBox(-2F, -2.5F, -2F, 8, 9, 4);
|
||||
top.setRotationPoint(-2F, 14F, 1F);
|
||||
setRotation(top, 0.26F, 0F, 0F);
|
||||
|
||||
middle = new ModelRenderer(base, 28, 0);
|
||||
middle.addBox(0F, 0F, 0F, 7, 6, 4);
|
||||
middle.setRotationPoint(-1.5F, 6.5F, -1F);
|
||||
setRotation(middle, 0.86f, 0F, 0F);
|
||||
top.addChild(middle);
|
||||
middle = new ModelRenderer(base, 28, 0);
|
||||
middle.addBox(0F, 0F, 0F, 7, 6, 4);
|
||||
middle.setRotationPoint(-1.5F, 6.5F, -1F);
|
||||
setRotation(middle, 0.86f, 0F, 0F);
|
||||
top.addChild(middle);
|
||||
|
||||
bottom = new ModelRenderer(base, 24, 16);
|
||||
bottom.addBox(0F, 0F, 0F, 6, 7, 3);
|
||||
bottom.setRotationPoint(0.5F, 6F, 0.5f);
|
||||
setRotation(bottom, 0.15f, 0F, 0F);
|
||||
middle.addChild(bottom);
|
||||
bottom = new ModelRenderer(base, 24, 16);
|
||||
bottom.addBox(0F, 0F, 0F, 6, 7, 3);
|
||||
bottom.setRotationPoint(0.5F, 6F, 0.5f);
|
||||
setRotation(bottom, 0.15f, 0F, 0F);
|
||||
middle.addChild(bottom);
|
||||
|
||||
fin1 = new ModelRenderer(base, 0, 0);
|
||||
fin1.addBox(0F, 0F, 0F, 5, 9, 1);
|
||||
fin1.setRotationPoint(0F, 4.5F, 1F);
|
||||
setRotation(fin1, 0.05f, 0, 0.5911399F);
|
||||
bottom.addChild(fin1);
|
||||
|
||||
fin2 = new ModelRenderer(base, 0, 0);
|
||||
fin2.mirror = true;
|
||||
fin2.addBox(-5F, 0F, 0F, 5, 9, 1);
|
||||
fin2.setRotationPoint(6F, 4.5F, 1F);
|
||||
setRotation(fin2, 0.05f, 0, -0.591143F);
|
||||
bottom.addChild(fin2);
|
||||
fin1 = new ModelRenderer(base, 0, 0);
|
||||
fin1.addBox(0F, 0F, 0F, 5, 9, 1);
|
||||
fin1.setRotationPoint(0F, 4.5F, 1F);
|
||||
setRotation(fin1, 0.05f, 0, 0.5911399F);
|
||||
bottom.addChild(fin1);
|
||||
|
||||
}
|
||||
fin2 = new ModelRenderer(base, 0, 0);
|
||||
fin2.mirror = true;
|
||||
fin2.addBox(-5F, 0F, 0F, 5, 9, 1);
|
||||
fin2.setRotationPoint(6F, 4.5F, 1F);
|
||||
setRotation(fin2, 0.05f, 0, -0.591143F);
|
||||
bottom.addChild(fin2);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(float f5) {
|
||||
@@ -66,12 +76,21 @@ public class ModelMermaidLegs extends ModelRenderer {
|
||||
public void setRotationAngles(float par1, float par2, float par3,
|
||||
float par4, float par5, float par6, Entity entity) {
|
||||
float ani = MathHelper.sin(par1 * 0.6662F);
|
||||
top.setRotationPoint(-2F, 14F, 1F);
|
||||
if(ani > 0.2)
|
||||
ani /= 3f;
|
||||
top.rotateAngleX = 0.26F - ani * 0.2F * par2;
|
||||
middle.rotateAngleX = 0.86f - ani * 0.24F * par2;
|
||||
bottom.rotateAngleX = 0.15f - ani * 0.28F * par2;
|
||||
fin2.rotateAngleX = fin1.rotateAngleX = 0.05f - ani * 0.35F * par2;
|
||||
|
||||
if(this.isSleeping || this.isCrawling){
|
||||
top.rotateAngleX = middle.rotateAngleX = bottom.rotateAngleX = fin2.rotateAngleX = 0;
|
||||
}
|
||||
else{
|
||||
top.rotateAngleX = 0.26F - ani * 0.2F * par2;
|
||||
middle.rotateAngleX = 0.86f - ani * 0.24F * par2;
|
||||
bottom.rotateAngleX = 0.15f - ani * 0.28F * par2;
|
||||
fin2.rotateAngleX = fin1.rotateAngleX = 0.05f - ani * 0.35F * par2;
|
||||
|
||||
if(entity.isSneaking()){
|
||||
top.setRotationPoint(-2F, 12F, 6F);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,114 @@
|
||||
package noppes.npcs.client.model.part.legs;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import noppes.npcs.ModelData;
|
||||
import noppes.npcs.constants.EnumAnimation;
|
||||
|
||||
public class ModelMermaidLegs2 extends ModelRenderer {
|
||||
|
||||
ModelRenderer Tail1;
|
||||
ModelRenderer Tail2;
|
||||
ModelRenderer Tail3;
|
||||
ModelRenderer Tail4;
|
||||
ModelRenderer Tail5;
|
||||
ModelRenderer Tail6;
|
||||
ModelRenderer Tail7;
|
||||
ModelRenderer Tail8;
|
||||
|
||||
public boolean isRiding = false;
|
||||
public boolean isSneaking = false;
|
||||
public boolean isSleeping = false;
|
||||
public boolean isCrawling = false;
|
||||
|
||||
public ModelMermaidLegs2(ModelBase base) {
|
||||
super(base);
|
||||
textureWidth = 64;
|
||||
textureHeight = 32;
|
||||
|
||||
Tail1 = new ModelRenderer(base, 0, 18);
|
||||
Tail1.addBox(0F, 0F, 0F, 8, 6, 4);
|
||||
Tail1.setRotationPoint(-4F, 12F, -2F);
|
||||
setRotation(Tail1, 0.075F, 0F, 0F);
|
||||
|
||||
Tail2 = new ModelRenderer(base, 0, 18);
|
||||
Tail2.addBox(0F, 0F, 0F, 6, 5, 3);
|
||||
Tail2.setRotationPoint(1F, 5.5F, 0.3F);
|
||||
setRotation(Tail2, 0.56F, 0F, 0F);
|
||||
Tail1.addChild(Tail2);
|
||||
|
||||
Tail3 = new ModelRenderer(base, 0, 18);
|
||||
Tail3.addBox(0F, 0F, 0F, 5, 5, 2);
|
||||
Tail3.setRotationPoint(5.5F, 4F, 2.5F);
|
||||
setRotation(Tail3, -0.37818F, 3.141593F, 0F);
|
||||
Tail2.addChild(Tail3);
|
||||
|
||||
Tail4 = new ModelRenderer(base, 0, 20);
|
||||
Tail4.addBox(0F, 0F, 0F, 4, 3, 1);
|
||||
Tail4.setRotationPoint(0.5F, 4.5F, 0.5F);
|
||||
setRotation(Tail4, -0.1f, 0, 0F);
|
||||
Tail3.addChild(Tail4);
|
||||
|
||||
Tail5 = new ModelRenderer(base, 0, 20);
|
||||
Tail5.addBox(0F, 0F, 0F, 1, 3, 1);
|
||||
Tail5.setRotationPoint(-1F, 1.5F, 0F);
|
||||
setRotation(Tail5, 0, 0, 0F);
|
||||
Tail4.addChild(Tail5);
|
||||
|
||||
Tail6 = new ModelRenderer(base, 0, 20);
|
||||
Tail6.addBox(0F, 0F, 0F, 1, 3, 1);
|
||||
Tail6.setRotationPoint(-2F, 3F, 0F);
|
||||
setRotation(Tail6, 0, 0, 0F);
|
||||
Tail4.addChild(Tail6);
|
||||
|
||||
Tail7 = new ModelRenderer(base, 0, 20);
|
||||
Tail7.addBox(0F, 0F, 0F, 1, 3, 1);
|
||||
Tail7.setRotationPoint(4F, 1.5F, 0F);
|
||||
setRotation(Tail7, 0, 0, 0F);
|
||||
Tail4.addChild(Tail7);
|
||||
|
||||
Tail8 = new ModelRenderer(base, 0, 20);
|
||||
Tail8.addBox(0F, 0F, 0F, 1, 3, 1);
|
||||
Tail8.setRotationPoint(5F, 3F, 0F);
|
||||
setRotation(Tail8, 0, 0, 0F);
|
||||
Tail4.addChild(Tail8);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void render(float f5) {
|
||||
if (isHidden || !showModel)
|
||||
return;
|
||||
Tail1.render(f5);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
public void setRotationAngles(float par1, float par2, float par3, float par4, float par5, float par6,
|
||||
Entity entity) {
|
||||
Tail1.setRotationPoint(-4F, 12F, -2F);
|
||||
float ani = MathHelper.sin(par1 * 0.6662F);
|
||||
if (ani > 0.2)
|
||||
ani /= 3f;
|
||||
if(this.isSleeping || this.isCrawling){
|
||||
Tail1.rotateAngleX = Tail2.rotateAngleX = Tail3.rotateAngleX = Tail4.rotateAngleX = 0;
|
||||
}
|
||||
else{
|
||||
Tail1.rotateAngleX = 0.2F - ani * 0.2F * par2;
|
||||
Tail2.rotateAngleX = 0.56F - ani * 0.24F * par2;
|
||||
Tail3.rotateAngleX = -0.4F + ani * 0.24F * par2;
|
||||
Tail4.rotateAngleX = -0.1f + ani * 0.10F * par2;
|
||||
|
||||
if(entity.isSneaking()){
|
||||
Tail1.setRotationPoint(-4F, 10F, 3F);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package noppes.npcs.client.model.part.tails;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
|
||||
public class ModelRodentTail extends ModelRenderer {
|
||||
ModelRenderer Shape1;
|
||||
ModelRenderer Shape2;
|
||||
|
||||
public ModelRodentTail(ModelMPM base) {
|
||||
super(base);
|
||||
Shape1 = new ModelRenderer(base, 0, 0);
|
||||
Shape1.addBox(-0.5333334F, -0.4666667F, -1F, 1, 1, 6);
|
||||
Shape1.setRotationPoint(0F, 0F, 2F);
|
||||
setRotation(Shape1, -0.9294653F, 0F, 0F);
|
||||
addChild(Shape1);
|
||||
|
||||
Shape2 = new ModelRenderer(base, 1, 1);
|
||||
Shape2.addBox(-0.5F, -0.1666667F, 1F, 1, 1, 5);
|
||||
Shape2.setRotationPoint(0F, 3F, 4F);
|
||||
setRotation(Shape2, -0.4833219F, 0F, 0F);
|
||||
addChild(Shape2);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
package noppes.npcs.client.model.part.tails;
|
||||
|
||||
import net.minecraft.client.model.ModelRenderer;
|
||||
import net.minecraft.entity.Entity;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
|
||||
public class ModelTailFin extends ModelRenderer {
|
||||
|
||||
public ModelTailFin(ModelMPM base) {
|
||||
super(base);
|
||||
ModelRenderer Shape1 = new ModelRenderer(base, 0, 0);
|
||||
Shape1.addBox(-2F, -2F, -2F, 3, 3, 8);
|
||||
Shape1.setRotationPoint(0.5F, 0F, 1F);
|
||||
setRotation(Shape1, -0.669215F, 0F, 0F);
|
||||
addChild(Shape1);
|
||||
|
||||
ModelRenderer Shape2 = new ModelRenderer(base, 2, 2);
|
||||
Shape2.addBox(-1F, -1F, 1F, 3, 2, 6);
|
||||
Shape2.setRotationPoint(-0.5F, 3F, 4.5F);
|
||||
setRotation(Shape2, -0.2602503F, 0F, 0F);
|
||||
addChild(Shape2);
|
||||
|
||||
ModelRenderer Shape3 = new ModelRenderer(base, 0, 11);
|
||||
Shape3.addBox(-1F, -1F, -1F, 3, 1, 6);
|
||||
Shape3.setRotationPoint(0.5F, 5F, 12F);
|
||||
setRotation(Shape3, 0F, 1.07818F, 0F);
|
||||
addChild(Shape3);
|
||||
|
||||
ModelRenderer Shape4 = new ModelRenderer(base, 0, 11);
|
||||
Shape4.mirror = true;
|
||||
Shape4.addBox(-2F, 0F, -1F, 3, 1, 6);
|
||||
Shape4.setRotationPoint(-0.5F, 4F, 12F);
|
||||
setRotation(Shape4, 0F, -1.003822F, 0F);
|
||||
addChild(Shape4);
|
||||
}
|
||||
|
||||
private void setRotation(ModelRenderer model, float x, float y, float z) {
|
||||
model.rotateAngleX = x;
|
||||
model.rotateAngleY = y;
|
||||
model.rotateAngleZ = z;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -10,6 +10,7 @@ import net.minecraft.entity.EntityList;
|
||||
import net.minecraft.entity.EntityLiving;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import noppes.npcs.client.model.ModelMPM;
|
||||
import noppes.npcs.client.model.ModelMPM64;
|
||||
import noppes.npcs.client.model.util.ModelRenderPassHelper;
|
||||
import noppes.npcs.controllers.PixelmonHelper;
|
||||
import noppes.npcs.entity.EntityCustomNpc;
|
||||
@@ -23,11 +24,15 @@ public class RenderCustomNpc extends RenderNPCHumanMale{
|
||||
private EntityLivingBase entity;
|
||||
|
||||
private ModelRenderPassHelper renderpass = new ModelRenderPassHelper();
|
||||
|
||||
|
||||
public RenderCustomNpc() {
|
||||
super(new ModelMPM(0), new ModelMPM(1), new ModelMPM(0.5f));
|
||||
}
|
||||
|
||||
|
||||
public RenderCustomNpc(int i) {
|
||||
super(new ModelMPM64(0), new ModelMPM64(1), new ModelMPM64(0.5f));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderPlayer(EntityNPCInterface npcInterface, double d, double d1, double d2, float f, float f1){
|
||||
EntityCustomNpc npc = (EntityCustomNpc) npcInterface;
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
package noppes.npcs.entity;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
import noppes.npcs.CustomNpcs;
|
||||
import noppes.npcs.ModelData;
|
||||
import noppes.npcs.ModelPartData;
|
||||
import noppes.npcs.client.EntityUtil;
|
||||
|
||||
public class EntityNPC64x64 extends EntityCustomNpc{
|
||||
|
||||
public EntityNPC64x64(World world) {
|
||||
super(world);
|
||||
display.setSkinTexture("customnpcs:textures/entity/humanmale/Steve64x32.png");
|
||||
}
|
||||
}
|
||||
@@ -21,6 +21,7 @@ public class ItemNpcWeaponInterface extends ItemSword implements ItemRenderInter
|
||||
CustomNpcs.proxy.registerItem(this);
|
||||
setCreativeTab(CustomItems.tabWeapon);
|
||||
}
|
||||
|
||||
public void renderSpecial(){
|
||||
GL11.glScalef(0.66f, 0.66f,0.66f);
|
||||
GL11.glTranslatef(0.16f, 0.26f, 0.06f);
|
||||
|
||||
@@ -126,6 +126,9 @@ remote.freeze=Freeze NPCs
|
||||
|
||||
spawner.entities=Entities
|
||||
spawner.clones=Clones
|
||||
spawner.clones2=Clones 2
|
||||
spawner.clones3=Clones 3
|
||||
spawner.clones4=Clones 4
|
||||
spawner.mobspawner=MobSpawner
|
||||
spawner.mount=Mount by
|
||||
spawner.mountplayer=Player mounts
|
||||
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 367 B |
|
After Width: | Height: | Size: 430 B |
|
After Width: | Height: | Size: 333 B |
|
After Width: | Height: | Size: 300 B |
|
After Width: | Height: | Size: 339 B |
|
After Width: | Height: | Size: 308 B |
|
After Width: | Height: | Size: 280 B |
|
After Width: | Height: | Size: 433 B |
|
After Width: | Height: | Size: 412 B |
|
After Width: | Height: | Size: 311 B |
|
After Width: | Height: | Size: 285 B |
|
After Width: | Height: | Size: 306 B |
|
After Width: | Height: | Size: 426 B |
|
After Width: | Height: | Size: 503 B |
|
After Width: | Height: | Size: 257 B |
|
After Width: | Height: | Size: 304 B |
|
After Width: | Height: | Size: 320 B |
|
After Width: | Height: | Size: 281 B |
|
After Width: | Height: | Size: 320 B |
|
After Width: | Height: | Size: 389 B |
|
After Width: | Height: | Size: 694 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 748 B |
|
After Width: | Height: | Size: 364 B |
|
After Width: | Height: | Size: 610 B |
|
After Width: | Height: | Size: 3.9 KiB |
|
After Width: | Height: | Size: 628 B |
|
After Width: | Height: | Size: 691 B |
|
After Width: | Height: | Size: 672 B |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 9.6 KiB |
|
After Width: | Height: | Size: 9.5 KiB |
|
After Width: | Height: | Size: 7.8 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 891 B |
|
After Width: | Height: | Size: 585 B |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 857 B |
|
After Width: | Height: | Size: 957 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 814 B |
|
After Width: | Height: | Size: 918 B |
|
After Width: | Height: | Size: 708 B |
|
After Width: | Height: | Size: 887 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 858 B |
|
After Width: | Height: | Size: 842 B |
|
After Width: | Height: | Size: 641 B |
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1008 B |
|
After Width: | Height: | Size: 610 B |
|
After Width: | Height: | Size: 1.4 KiB |