I think everything is working?
This commit is contained in:
118
.classpath
118
.classpath
@@ -4,63 +4,63 @@
|
||||
<classpathentry kind="src" path="src/main/java"/>
|
||||
<classpathentry kind="src" path="src/main/resources"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1448-1.7.10/forgeSrc-1.7.10-10.13.4.1448-1.7.10-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1448-1.7.10/forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/ea64c0bce5e9f465cd56566530133331568d2157/launchwrapper-1.11-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/9c0592c6e1e9ea296a70948081bd4cc84dda1289/launchwrapper-1.11.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/1.3.9/40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf/jsr305-1.3.9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.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" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-debug-all/5.0.3/f9e364ae2a66ce2a543012a4668856e84e5dab74/asm-debug-all-5.0.3.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.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" kind="lib" path="/home/kitsudesktop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/bdacf4f82ce9b29cd474bfde2e91eeb0ca623d28/config-1.2.1-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/f771f71fdae3df231bcd54d5ca2d57f0bf93f467/config-1.2.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.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" kind="lib" path="/home/kitsudesktop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.11.1/b031d401aabbf7f5f725db500575da3dff90065f/scala-compiler-2.11.1-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.11.1/56ea2e6c025e0821f28d73ca271218b8dd04926a/scala-compiler-2.11.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.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" kind="lib" path="/home/kitsudesktop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.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" kind="lib" path="/home/kitsudesktop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.11.1/8355e4b6841f772a287167666bad6e9860ac4d3c/scala-library-2.11.1-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.11.1/e11da23da3eabab9f4777b9220e60d44c1aab6a/scala-library-2.11.1.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.11.1/d4c5628e197a0d6af8e9b93a9be32190c547bc8a/scala-reflect-2.11.1-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.11.1/6580347e61cc7f8e802941e7fde40fa83b8badeb/scala-reflect-2.11.1.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.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" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.5/3cf4c3c1a6f565419bfd53a0e564d6fb128deeea/jopt-simple-4.5-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.5/6065cc95c661255349c1d0756657be17c29a4fd3/jopt-simple-4.5.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/lzma/lzma/0.0.1/521616dc7487b42bef0e803bd2fa3faf668101d7/lzma-0.0.1.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.mojang/realms/1.3.5/807ae355ee63583becd7ea60e76aab1532bb42e/realms-1.3.5.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.8.1/3caea4421428752206c7a94c3e3097f0c47f1bb8/commons-compress-1.8.1-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.8.1/a698750c16740fd5b3871425f4cb3bbaa87f529d/commons-compress-1.8.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/65cba03c4f6207f2885f88206fcf52c53f8d111b/httpclient-4.3.3-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/18f4247ff4572a074444572cee34647c43e7c9c7/httpclient-4.3.3.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/28bb0405fddaf04f15058fbfbe01fe2780d7d3b6/commons-logging-1.1.3-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f/commons-logging-1.1.3.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/4809f38359edeea9487f747e09aa58ec8d3a54c5/httpcore-4.3.2-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/java3d/vecmath/1.3.1/a0ae4f51da409fa0c20fa0ca59e6bbc9413ae71d/vecmath-1.3.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/3.0.3/109c5be93362e6e651e417c51d1863477a22969c/trove4j-3.0.3-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/3.0.3/42ccaf4761f0dfdfa805c9e340d99a755907e2dd/trove4j-3.0.3.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j-core-mojang/51.2/814397ccbafff1132758e551c37396c528d7f2d7/icu4j-core-mojang-51.2-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j-core-mojang/51.2/63d216a9311cca6be337c1e458e587f99d382b84/icu4j-core-mojang-51.2.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/4ca2436396bc14ebd78b7db1d4e11ca607c8705e/codecjorbis-20101023-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/c73b5636faf089d9f00e8732a829577de25237ee/codecjorbis-20101023.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/71ec00b9b9c1a6a2c3a8a25f481a23ddb5b21ddb/codecwav-20101023-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/12f031cfe88fef5c1dd36c563c0a3a69bd7261da/codecwav-20101023.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/945ff5711de27751cf699641d1ea316ba6cf7589/libraryjavasound-20101123-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/5c5e304366f75f9eaa2e8cca546a1fb6109348b3/libraryjavasound-20101123.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/ecfc8dac1d41bef748997e4edf563d486923ee1e/librarylwjglopenal-20100824-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/73e80d0794c39665aec3f62eee88ca91676674ef/librarylwjglopenal-20100824.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/1b9f4eb11ef11fede7fd76a2e5e8203c2a8adcd/soundsystem-20120107-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6/soundsystem-20120107.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/io.netty/netty-all/4.0.10.Final/9a214bc1e6350ead5234e4dd5eb3a2a802d1c658/netty-all-4.0.10.Final-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/io.netty/netty-all/4.0.10.Final/9e50bd52ffe257a0e2cd8d971688d6ce7d174325/netty-all-4.0.10.Final.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/7ca0efbeb87ca845b5d7a0ac9c21a4b7b95f7b28/guava-17.0-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/9c6ef172e8de35fd8d4d8783e4821e57cdef7445/guava-17.0.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/d2a489573c0ed2c4942b3660decad5d65087b406/commons-lang3-3.3.2-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/90a3822c38ec8c996e84c16a3477ef632cbc87a3/commons-lang3-3.3.2.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/f2d8698c46d1167ff24b06a840a87d91a02db891/commons-io-2.4-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/3f15fff45d57656685abfee9e8302bf14580044c/commons-codec-1.9-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/9ce04e34240f674bc72680f8b843b1457383161a/commons-codec-1.9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/82604cfeb87b9ab70ed70aa19a137de8ceb21504/jinput-2.0.5-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/39c7796b469a600f72380316f6b1f11db6c2c7c4/jinput-2.0.5.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/d18678a00b216863206a1bb6190507e02a32971b/jutils-1.0.0-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/e12fe1fda814bd348c1579329c86943d2cd3c6a6/jutils-1.0.0.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.4/a6dc5db8a12928e583bd3f23e72d3ab611ecd58f/gson-2.2.4-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.4/a60a5e993c98c864010053cb901b7eab25306568/gson-2.2.4.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.16/f7d1af1fd1232bb4f2e7898f059b536ad5bc950/authlib-1.5.16-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.16/ef1582b11fd0943d069cdcb72e99008ac209a283/authlib-1.5.16.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.0-beta9/c6682b8a47ddd9f29108838aed0dc8e0ffdedf68/log4j-api-2.0-beta9-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.0-beta9/1dd66e68cccd907880229f9e2de1314bd13ff785/log4j-api-2.0-beta9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.0-beta9/c7da50fd52d6ee6991a0e16e2df1431f7656a7f4/log4j-core-2.0-beta9-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.0-beta9/678861ba1b2e1fccb594bb0ca03114bb05da9695/log4j-core-2.0-beta9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.1/ccedb5b6f96913c6f78bc10249e747ded90baa51/lwjgl-2.9.1-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.1/f58c5aabcef0e41718a564be9f8e412fff8db847/lwjgl-2.9.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.1/9f350d8a760247f2ae88e996b55f8f7121346c79/lwjgl_util-2.9.1-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.1/290d7ba8a1bd9566f5ddf16ad06f09af5ec9b20e/lwjgl_util-2.9.1.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch/5.16/1f55f009c61637c10c0acfb8b5ffc600f30044b4/twitch-5.16.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors/2.11.0/e1dfa274766d5278166b0d660294fe96396693b2/scala-actors-2.11.0-sources.jar" kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors/2.11.0/8ccfb6541de179bb1c4d45cf414acee069b7f78b/scala-actors-2.11.0.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.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" kind="lib" path="/home/kitsudesktop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsudesktop/.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" kind="lib" path="/home/kitsudesktop/.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" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/7ff832a6eb9ab6a767f1ade2b548092d0fa64795/jinput-platform-2.0.5-natives-linux.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/385ee093e01f587f30ee1c8a2ee7d408fd732e16/jinput-platform-2.0.5-natives-windows.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/53f9c919f34d2ca9de8c51fc4e1e8282029a9232/jinput-platform-2.0.5-natives-osx.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/7c6affe439099806a4f552da14c42f9d643d8b23/twitch-platform-5.16-natives-windows-32.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/39d0c3d363735b4785598e0e7fbf8297c706a9f9/twitch-platform-5.16-natives-windows-64.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/62503ee712766cf77f97252e5902786fd834b8c5/twitch-platform-5.16-natives-osx.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/18215140f010c05b9f86ef6f0f8871954d2ccebf/twitch-external-platform-4.5-natives-windows-32.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/c3cde57891b935d41b6680a9c5e1502eeab76d86/twitch-external-platform-4.5-natives-windows-64.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/4c517eca808522457dd95ee8fc1fbcdbb602efbe/lwjgl-platform-2.9.1-natives-windows.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/aa9aae879af8eb378e22cfc64db56ec2ca9a44d1/lwjgl-platform-2.9.1-natives-linux.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/2d12c83fdfbc04ecabf02c7bc8cc54d034f0daac/lwjgl-platform-2.9.1-natives-osx.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsudesktop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1448-1.7.10/start" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1448-1.7.10/forgeSrc-1.7.10-10.13.4.1448-1.7.10-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1448-1.7.10/forgeSrc-1.7.10-10.13.4.1448-1.7.10.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/ea64c0bce5e9f465cd56566530133331568d2157/launchwrapper-1.11-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/9c0592c6e1e9ea296a70948081bd4cc84dda1289/launchwrapper-1.11.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/1.3.9/40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf/jsr305-1.3.9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.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" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.ow2.asm/asm-debug-all/5.0.3/f9e364ae2a66ce2a543012a4668856e84e5dab74/asm-debug-all-5.0.3.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.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" kind="lib" path="/home/kitsufattop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/bdacf4f82ce9b29cd474bfde2e91eeb0ca623d28/config-1.2.1-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/f771f71fdae3df231bcd54d5ca2d57f0bf93f467/config-1.2.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.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" kind="lib" path="/home/kitsufattop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.11.1/b031d401aabbf7f5f725db500575da3dff90065f/scala-compiler-2.11.1-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-compiler/2.11.1/56ea2e6c025e0821f28d73ca271218b8dd04926a/scala-compiler-2.11.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.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" kind="lib" path="/home/kitsufattop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.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" kind="lib" path="/home/kitsufattop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.11.1/8355e4b6841f772a287167666bad6e9860ac4d3c/scala-library-2.11.1-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-library/2.11.1/e11da23da3eabab9f4777b9220e60d44c1aab6a/scala-library-2.11.1.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.11.1/d4c5628e197a0d6af8e9b93a9be32190c547bc8a/scala-reflect-2.11.1-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-reflect/2.11.1/6580347e61cc7f8e802941e7fde40fa83b8badeb/scala-reflect-2.11.1.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.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" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.5/3cf4c3c1a6f565419bfd53a0e564d6fb128deeea/jopt-simple-4.5-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.sf.jopt-simple/jopt-simple/4.5/6065cc95c661255349c1d0756657be17c29a4fd3/jopt-simple-4.5.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/lzma/lzma/0.0.1/521616dc7487b42bef0e803bd2fa3faf668101d7/lzma-0.0.1.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.mojang/realms/1.3.5/807ae355ee63583becd7ea60e76aab1532bb42e/realms-1.3.5.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.8.1/3caea4421428752206c7a94c3e3097f0c47f1bb8/commons-compress-1.8.1-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-compress/1.8.1/a698750c16740fd5b3871425f4cb3bbaa87f529d/commons-compress-1.8.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/65cba03c4f6207f2885f88206fcf52c53f8d111b/httpclient-4.3.3-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpclient/4.3.3/18f4247ff4572a074444572cee34647c43e7c9c7/httpclient-4.3.3.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/28bb0405fddaf04f15058fbfbe01fe2780d7d3b6/commons-logging-1.1.3-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/commons-logging/commons-logging/1.1.3/f6f66e966c70a83ffbdb6f17a0919eaf7c8aca7f/commons-logging-1.1.3.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/4809f38359edeea9487f747e09aa58ec8d3a54c5/httpcore-4.3.2-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.httpcomponents/httpcore/4.3.2/31fbbff1ddbf98f3aa7377c94d33b0447c646b6e/httpcore-4.3.2.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/java3d/vecmath/1.3.1/a0ae4f51da409fa0c20fa0ca59e6bbc9413ae71d/vecmath-1.3.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/3.0.3/109c5be93362e6e651e417c51d1863477a22969c/trove4j-3.0.3-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.sf.trove4j/trove4j/3.0.3/42ccaf4761f0dfdfa805c9e340d99a755907e2dd/trove4j-3.0.3.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j-core-mojang/51.2/814397ccbafff1132758e551c37396c528d7f2d7/icu4j-core-mojang-51.2-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.ibm.icu/icu4j-core-mojang/51.2/63d216a9311cca6be337c1e458e587f99d382b84/icu4j-core-mojang-51.2.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/4ca2436396bc14ebd78b7db1d4e11ca607c8705e/codecjorbis-20101023-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/c73b5636faf089d9f00e8732a829577de25237ee/codecjorbis-20101023.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/71ec00b9b9c1a6a2c3a8a25f481a23ddb5b21ddb/codecwav-20101023-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/12f031cfe88fef5c1dd36c563c0a3a69bd7261da/codecwav-20101023.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/945ff5711de27751cf699641d1ea316ba6cf7589/libraryjavasound-20101123-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/5c5e304366f75f9eaa2e8cca546a1fb6109348b3/libraryjavasound-20101123.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/ecfc8dac1d41bef748997e4edf563d486923ee1e/librarylwjglopenal-20100824-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/73e80d0794c39665aec3f62eee88ca91676674ef/librarylwjglopenal-20100824.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/1b9f4eb11ef11fede7fd76a2e5e8203c2a8adcd/soundsystem-20120107-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6/soundsystem-20120107.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/io.netty/netty-all/4.0.10.Final/9a214bc1e6350ead5234e4dd5eb3a2a802d1c658/netty-all-4.0.10.Final-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/io.netty/netty-all/4.0.10.Final/9e50bd52ffe257a0e2cd8d971688d6ce7d174325/netty-all-4.0.10.Final.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/7ca0efbeb87ca845b5d7a0ac9c21a4b7b95f7b28/guava-17.0-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/9c6ef172e8de35fd8d4d8783e4821e57cdef7445/guava-17.0.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/d2a489573c0ed2c4942b3660decad5d65087b406/commons-lang3-3.3.2-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.3.2/90a3822c38ec8c996e84c16a3477ef632cbc87a3/commons-lang3-3.3.2.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/f2d8698c46d1167ff24b06a840a87d91a02db891/commons-io-2.4-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/3f15fff45d57656685abfee9e8302bf14580044c/commons-codec-1.9-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/9ce04e34240f674bc72680f8b843b1457383161a/commons-codec-1.9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/82604cfeb87b9ab70ed70aa19a137de8ceb21504/jinput-2.0.5-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput/2.0.5/39c7796b469a600f72380316f6b1f11db6c2c7c4/jinput-2.0.5.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/d18678a00b216863206a1bb6190507e02a32971b/jutils-1.0.0-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.java.jutils/jutils/1.0.0/e12fe1fda814bd348c1579329c86943d2cd3c6a6/jutils-1.0.0.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.4/a6dc5db8a12928e583bd3f23e72d3ab611ecd58f/gson-2.2.4-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.2.4/a60a5e993c98c864010053cb901b7eab25306568/gson-2.2.4.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.16/f7d1af1fd1232bb4f2e7898f059b536ad5bc950/authlib-1.5.16-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.16/ef1582b11fd0943d069cdcb72e99008ac209a283/authlib-1.5.16.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.0-beta9/c6682b8a47ddd9f29108838aed0dc8e0ffdedf68/log4j-api-2.0-beta9-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-api/2.0-beta9/1dd66e68cccd907880229f9e2de1314bd13ff785/log4j-api-2.0-beta9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.0-beta9/c7da50fd52d6ee6991a0e16e2df1431f7656a7f4/log4j-core-2.0-beta9-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.apache.logging.log4j/log4j-core/2.0-beta9/678861ba1b2e1fccb594bb0ca03114bb05da9695/log4j-core-2.0-beta9.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.1/ccedb5b6f96913c6f78bc10249e747ded90baa51/lwjgl-2.9.1-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl/2.9.1/f58c5aabcef0e41718a564be9f8e412fff8db847/lwjgl-2.9.1.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.1/9f350d8a760247f2ae88e996b55f8f7121346c79/lwjgl_util-2.9.1-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl_util/2.9.1/290d7ba8a1bd9566f5ddf16ad06f09af5ec9b20e/lwjgl_util-2.9.1.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch/5.16/1f55f009c61637c10c0acfb8b5ffc600f30044b4/twitch-5.16.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors/2.11.0/e1dfa274766d5278166b0d660294fe96396693b2/scala-actors-2.11.0-sources.jar" kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.scala-lang/scala-actors/2.11.0/8ccfb6541de179bb1c4d45cf414acee069b7f78b/scala-actors-2.11.0.jar" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.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" kind="lib" path="/home/kitsufattop/.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" exported="true"/>
|
||||
<classpathentry sourcepath="/home/kitsufattop/.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" kind="lib" path="/home/kitsufattop/.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" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/7ff832a6eb9ab6a767f1ade2b548092d0fa64795/jinput-platform-2.0.5-natives-linux.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/385ee093e01f587f30ee1c8a2ee7d408fd732e16/jinput-platform-2.0.5-natives-windows.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/net.java.jinput/jinput-platform/2.0.5/53f9c919f34d2ca9de8c51fc4e1e8282029a9232/jinput-platform-2.0.5-natives-osx.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/7c6affe439099806a4f552da14c42f9d643d8b23/twitch-platform-5.16-natives-windows-32.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/39d0c3d363735b4785598e0e7fbf8297c706a9f9/twitch-platform-5.16-natives-windows-64.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-platform/5.16/62503ee712766cf77f97252e5902786fd834b8c5/twitch-platform-5.16-natives-osx.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/18215140f010c05b9f86ef6f0f8871954d2ccebf/twitch-external-platform-4.5-natives-windows-32.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch-external-platform/4.5/c3cde57891b935d41b6680a9c5e1502eeab76d86/twitch-external-platform-4.5-natives-windows-64.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/4c517eca808522457dd95ee8fc1fbcdbb602efbe/lwjgl-platform-2.9.1-natives-windows.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/aa9aae879af8eb378e22cfc64db56ec2ca9a44d1/lwjgl-platform-2.9.1-natives-linux.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/modules-2/files-2.1/org.lwjgl.lwjgl/lwjgl-platform/2.9.1/2d12c83fdfbc04ecabf02c7bc8cc54d034f0daac/lwjgl-platform-2.9.1-natives-osx.jar" exported="true"/>
|
||||
<classpathentry kind="lib" path="/home/kitsufattop/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.4.1448-1.7.10/start" exported="true"/>
|
||||
</classpath>
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -12,4 +12,4 @@
|
||||
|
||||
BUILD SUCCESSFUL
|
||||
|
||||
Total time: 7.332 secs
|
||||
Total time: 17.823 secs
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
#Mon Jul 06 13:18:27 EDT 2015
|
||||
#Tue Jul 07 00:22:43 EDT 2015
|
||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -19,18 +19,8 @@ import com.kitsu.medievalcraft.packethandle.curedLeather.MsgHandleCuredLeatherZ;
|
||||
import com.kitsu.medievalcraft.packethandle.curedLeather.MsgPacketCuredLeatherX;
|
||||
import com.kitsu.medievalcraft.packethandle.curedLeather.MsgPacketCuredLeatherY;
|
||||
import com.kitsu.medievalcraft.packethandle.curedLeather.MsgPacketCuredLeatherZ;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgHandleBurning;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgHandleForge;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgHandleForgeX;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgHandleForgeY;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgHandleForgeZ;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgHandleOn;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketBurning;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForge;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForgeX;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForgeY;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForgeZ;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketOn;
|
||||
import com.kitsu.medievalcraft.packethandle.forgeHammerParticles.MsgHandle;
|
||||
import com.kitsu.medievalcraft.packethandle.forgeHammerParticles.MsgHandleLocX;
|
||||
import com.kitsu.medievalcraft.packethandle.forgeHammerParticles.MsgHandleLocY;
|
||||
@@ -95,11 +85,7 @@ public class Main {
|
||||
sNet.registerMessage(MsgHandleCuredLeatherZ.class, MsgPacketCuredLeatherZ.class, 8, Side.SERVER);
|
||||
sNet.registerMessage(MsgHandleShelfCase.class, MsgPacketShelfCase.class, 9, Side.SERVER);
|
||||
sNet.registerMessage(MsgHandleForge.class, MsgPacketForge.class, 10, Side.SERVER);
|
||||
sNet.registerMessage(MsgHandleOn.class, MsgPacketOn.class, 11, Side.CLIENT);
|
||||
sNet.registerMessage(MsgHandleBurning.class, MsgPacketBurning.class, 12, Side.CLIENT);
|
||||
sNet.registerMessage(MsgHandleForgeX.class, MsgPacketForgeX.class, 13, Side.CLIENT);
|
||||
sNet.registerMessage(MsgHandleForgeY.class, MsgPacketForgeY.class, 14, Side.CLIENT);
|
||||
sNet.registerMessage(MsgHandleForgeZ.class, MsgPacketForgeZ.class, 15, Side.CLIENT);
|
||||
|
||||
CustomTab.MedievalTab();
|
||||
ModBlocks.init();
|
||||
ModItems.init();
|
||||
|
||||
@@ -79,7 +79,7 @@ public class Firebox extends BlockContainer{
|
||||
public void randomDisplayTick(World world, int x, int y, int z, Random rand)
|
||||
{
|
||||
super.randomDisplayTick(world, x, y, z, random);
|
||||
if(world.getBlock(x, y+1, z).equals(Blocks.fire)){
|
||||
if(world.getBlockMetadata(x, y, z)==1){
|
||||
int l;
|
||||
float f;
|
||||
float f1;
|
||||
@@ -87,7 +87,7 @@ public class Firebox extends BlockContainer{
|
||||
for (l = 0; l < 3; ++l)
|
||||
{
|
||||
f = (float)(x+0.25) + (rand.nextFloat()/2);
|
||||
f1 = (float)y + rand.nextFloat() * 0.4F + 0.2F;
|
||||
f1 = (float)y+0.3f + rand.nextFloat() * 0.4F;
|
||||
f2 = (float)(z+0.25) + (rand.nextFloat()/2);
|
||||
world.spawnParticle("fire", (double)f, (double)f1, (double)f2, 0.0D, 0.0D, 0.0D);
|
||||
world.spawnParticle("flame", (double)f, (double)f1, (double)f2, 0.0D, 0.0D, 0.0D);
|
||||
@@ -100,21 +100,17 @@ public class Firebox extends BlockContainer{
|
||||
public boolean onBlockActivated (World world, int x, int y, int z, EntityPlayer player, int q, float a, float b, float c) {
|
||||
|
||||
TileEntityFirebox tileEnt = (TileEntityFirebox) world.getTileEntity(x, y, z);
|
||||
|
||||
//System.out.println("");
|
||||
if(!world.isRemote){
|
||||
|
||||
if(player.inventory.getCurrentItem()!=null){
|
||||
if((player.inventory.getCurrentItem().getItem()==Item.getItemFromBlock(Blocks.torch))||
|
||||
(player.inventory.getCurrentItem().getItem()==Items.flint_and_steel)||
|
||||
(player.inventory.getCurrentItem().getItem()==ModItems.fireBow)
|
||||
){
|
||||
tileEnt.isOn=true;
|
||||
world.setBlockMetadataWithNotify(x, y, z, 1, 2);
|
||||
player.inventory.getCurrentItem().damageItem(1, player);
|
||||
if(world.getBlock(x, y, z).equals(Blocks.air)){
|
||||
world.setBlock(x, y+1, z, Blocks.fire, 0, 2);
|
||||
}
|
||||
|
||||
System.out.println(tileEnt.isOn);
|
||||
}
|
||||
}
|
||||
if(player.inventory.getCurrentItem()!=null){
|
||||
@@ -156,30 +152,18 @@ public class Firebox extends BlockContainer{
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
//tileEnt.markDirty();
|
||||
|
||||
}
|
||||
|
||||
tileEnt.markForUpdate();
|
||||
tileEnt.markDirty();
|
||||
//System.out.println(player.inventory.getCurrentItem());
|
||||
return true;
|
||||
}
|
||||
|
||||
/*public void onBlockClicked(World world, int x, int y, int z, EntityPlayer player) {
|
||||
|
||||
if(!world.isRemote){
|
||||
if(player.inventory.getCurrentItem()!= null){
|
||||
if(player.inventory.getCurrentItem().equals(ModItems.fireBow)||player.inventory.getCurrentItem().equals(Items.flint_and_steel)){
|
||||
TileEntityFirebox tileEnt = (TileEntityFirebox) world.getTileEntity(x, y, z);
|
||||
tileEnt.isOn = true;
|
||||
@Override
|
||||
public void onBlockPlacedBy(World world, int x, int y, int z, EntityLivingBase player, ItemStack p_149689_6_) {
|
||||
world.setBlockMetadataWithNotify(x, y, z, 0, 2);
|
||||
|
||||
world.markBlockForUpdate(x, y, z);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}*/
|
||||
|
||||
public void breakBlock(World world, int x, int y, int z, Block block, int meta) {
|
||||
TileEntityFirebox tileEnt = (TileEntityFirebox) world.getTileEntity(x, y, z);
|
||||
|
||||
@@ -27,18 +27,12 @@ import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
import com.kitsu.medievalcraft.Main;
|
||||
import com.kitsu.medievalcraft.item.ModItems;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketBurning;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForge;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForgeX;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForgeY;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForgeZ;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketOn;
|
||||
import com.kitsu.medievalcraft.renderer.RenderId;
|
||||
import com.kitsu.medievalcraft.tileents.machine.TileForge;
|
||||
import com.kitsu.medievalcraft.util.CustomTab;
|
||||
import com.kitsu.medievalcraft.util.TileForgePlaceables;
|
||||
|
||||
import cpw.mods.fml.common.network.NetworkRegistry.TargetPoint;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
@@ -46,8 +40,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
public class Forge extends BlockContainer implements TileForgePlaceables{
|
||||
|
||||
private final Random random = new Random();
|
||||
public static int sideMeta, locX, locY, locZ;
|
||||
public static boolean furnaceParts, coalParts;
|
||||
public static int sideMeta;
|
||||
private int c;
|
||||
|
||||
public Forge(String unlocalizedName, Material material) {
|
||||
@@ -142,7 +135,7 @@ public class Forge extends BlockContainer implements TileForgePlaceables{
|
||||
}
|
||||
l=l-2;
|
||||
world.setBlockMetadataWithNotify(x, y, z, l, 2);
|
||||
System.out.println(l);
|
||||
//System.out.println(l);
|
||||
world.markBlockForUpdate(x, y, z);
|
||||
}
|
||||
|
||||
@@ -162,7 +155,7 @@ public class Forge extends BlockContainer implements TileForgePlaceables{
|
||||
c = (int)mop.sideHit;
|
||||
Main.sNet.sendToServer(new MsgPacketForge((int) c));
|
||||
}
|
||||
System.out.println(sideMeta + " " + world.getBlockMetadata(x, y, z));
|
||||
|
||||
if(!world.isRemote){
|
||||
if(player.inventory.getCurrentItem()!=null){
|
||||
if((player.inventory.getCurrentItem().getItem()==Item.getItemFromBlock(Blocks.torch))||
|
||||
@@ -221,10 +214,9 @@ public class Forge extends BlockContainer implements TileForgePlaceables{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
if(sideMeta-2 == world.getBlockMetadata(x, y, z)||sideMeta == world.getBlockMetadata(x, y, z)-4||sideMeta == world.getBlockMetadata(x, y, z)-8){
|
||||
if(sideMeta!=1){
|
||||
if(player.inventory.getCurrentItem()!=null){
|
||||
if(tileEnt.getStackInSlot(0)==null){
|
||||
System.out.println();
|
||||
if(isItemFuel(player.inventory.getCurrentItem())==true){
|
||||
tileEnt.setInventorySlotContents(0, player.inventory.getCurrentItem());
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, null);
|
||||
|
||||
@@ -23,7 +23,6 @@ import com.kitsu.medievalcraft.renderer.RenderId;
|
||||
import com.kitsu.medievalcraft.tileents.machine.TileEntityAnvilForge;
|
||||
import com.kitsu.medievalcraft.util.CustomTab;
|
||||
|
||||
import cpw.mods.fml.common.network.internal.FMLNetworkHandler;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@@ -69,7 +68,56 @@ public class ForgeAnvil extends BlockContainer {
|
||||
|
||||
@Override
|
||||
public boolean onBlockActivated(World world, int x, int y, int z,EntityPlayer player, int metadata, float what, float these, float are) {
|
||||
FMLNetworkHandler.openGui(player, Main.instance, 2, world, x, y, z);
|
||||
TileEntityAnvilForge tileEnt = (TileEntityAnvilForge) world.getTileEntity(x, y, z);
|
||||
if(!world.isRemote){
|
||||
|
||||
if(player.inventory.getCurrentItem()!=null){
|
||||
if (tileEnt.getStackInSlot(0)==null){
|
||||
tileEnt.setInventorySlotContents(0, player.inventory.getCurrentItem());
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, null);
|
||||
tileEnt.markForUpdate();
|
||||
}
|
||||
if (tileEnt.getStackInSlot(0)!=null){
|
||||
if(player.inventory.getCurrentItem()!=null){
|
||||
ItemStack pStack = player.inventory.getCurrentItem().copy();
|
||||
ItemStack sStack = tileEnt.getStackInSlot(0).copy();
|
||||
ItemStack sStackTemp = tileEnt.getStackInSlot(0).copy();
|
||||
if(tileEnt.getStackInSlot(0).stackSize < 64){
|
||||
sStackTemp.stackSize++;
|
||||
if ((sStack.getItem().equals(pStack.getItem())) && (sStack.getItemDamage() == pStack.getItemDamage()) ){
|
||||
tileEnt.setInventorySlotContents(0, sStackTemp);
|
||||
player.inventory.decrStackSize(player.inventory.currentItem, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
tileEnt.markForUpdate();
|
||||
return true;
|
||||
}
|
||||
if (player.isSneaking() && player.inventory.getCurrentItem()==null) {
|
||||
if(tileEnt.getStackInSlot(0)!=null){
|
||||
player.inventory.setInventorySlotContents(player.inventory.currentItem, tileEnt.getStackInSlot(0));
|
||||
tileEnt.setInventorySlotContents(0, null);
|
||||
}
|
||||
tileEnt.markForUpdate();
|
||||
return true;
|
||||
}
|
||||
if (!player.isSneaking()){
|
||||
if((player.inventory.getCurrentItem()==null)){
|
||||
if(tileEnt.getStackInSlot(0)!=null){
|
||||
ItemStack pStack = tileEnt.getStackInSlot(0).copy();
|
||||
pStack.stackSize = 1;
|
||||
world.spawnEntityInWorld(new EntityItem(world, player.posX, player.posY, player.posZ, pStack));
|
||||
tileEnt.setInventorySlotContents(0, null);
|
||||
tileEnt.markForUpdate();
|
||||
}
|
||||
}
|
||||
tileEnt.markForUpdate();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
tileEnt.markForUpdate();
|
||||
tileEnt.markDirty();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -81,13 +129,6 @@ public class ForgeAnvil extends BlockContainer {
|
||||
return Item.getItemFromBlock(ModBlocks.forgeAnvil);
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public void randomDisplayTick(World world, int x, int y, int z, Random random)
|
||||
{
|
||||
super.randomDisplayTick(world, x, y, z, random);
|
||||
}
|
||||
|
||||
public void breakBlock(World world, int x, int y, int z, Block block, int meta) {
|
||||
TileEntityAnvilForge tileEnt = (TileEntityAnvilForge) world.getTileEntity(x, y, z);
|
||||
|
||||
@@ -122,7 +163,6 @@ public class ForgeAnvil extends BlockContainer {
|
||||
}
|
||||
}
|
||||
}
|
||||
world.func_147453_f(x, y, z, block);
|
||||
}
|
||||
|
||||
super.breakBlock(world, x, y, z, block, meta);
|
||||
@@ -150,6 +190,8 @@ public class ForgeAnvil extends BlockContainer {
|
||||
//System.out.println(dir);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -21,20 +21,9 @@ public class ContainerFirebox extends Container {
|
||||
|
||||
public ContainerFirebox (InventoryPlayer inventoryPlayer, TileEntityFirebox te){
|
||||
tileEnt = te;
|
||||
|
||||
//the Slot constructor takes the IInventory and the slot number in that it binds to
|
||||
//and the x-y coordinates it resides on-screen
|
||||
/* for (int i = 0; i < 2; i++) {
|
||||
for (int j = 0; j < 2; j++) {
|
||||
addSlotToContainer(new Slot(tileEnt, j + i * 3, 62 + j * 18, 17 + i * 18));
|
||||
}
|
||||
}*/
|
||||
addSlotToContainer(new Slot(tileEnt, 0, 80, 34));
|
||||
|
||||
//commonly used vanilla code that adds the player's inventory
|
||||
bindPlayerInventory(inventoryPlayer);
|
||||
}
|
||||
|
||||
protected void bindPlayerInventory(InventoryPlayer inventoryPlayer) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 9; j++) {
|
||||
@@ -42,7 +31,6 @@ public class ContainerFirebox extends Container {
|
||||
8 + j * 18, 84 + i * 18));
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < 9; i++) {
|
||||
addSlotToContainer(new Slot(inventoryPlayer, i, 8 + i * 18, 142));
|
||||
}
|
||||
@@ -52,33 +40,22 @@ public class ContainerFirebox extends Container {
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int slot) {
|
||||
ItemStack stack = null;
|
||||
Slot slotObject = (Slot) inventorySlots.get(slot);
|
||||
|
||||
//null checks and checks if the item can be stacked (maxStackSize > 1)
|
||||
if (slotObject != null && slotObject.getHasStack()) {
|
||||
ItemStack stackInSlot = slotObject.getStack();
|
||||
stack = stackInSlot.copy();
|
||||
|
||||
//merges the item into player inventory since its in the tileEntity
|
||||
if (slot < 9) {
|
||||
if (!this.mergeItemStack(stackInSlot, 9, this.inventorySlots.size(), true)) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
//places it into the tileEntity is possible since its in the player inventory
|
||||
else if (!this.mergeItemStack(stackInSlot, 0, 9, false)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (stackInSlot.stackSize == 0) {
|
||||
slotObject.putStack((ItemStack)null);
|
||||
} else {
|
||||
slotObject.onSlotChanged();
|
||||
}
|
||||
|
||||
/*if (stackInSlot.stackSize == stack.stackSize) {
|
||||
return null;
|
||||
}*/
|
||||
//slotObject.onPickupFromSlot(player, stackInSlot);
|
||||
}
|
||||
return stack;
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import com.kitsu.medievalcraft.tileents.machine.TileEntityAnvilForge;
|
||||
|
||||
import com.kitsu.medievalcraft.tileents.machine.TileEntityFirebox;
|
||||
|
||||
public class ContainerForgeAnvil extends Container {
|
||||
|
||||
@@ -20,20 +20,9 @@ public class ContainerForgeAnvil extends Container {
|
||||
|
||||
public ContainerForgeAnvil (InventoryPlayer inventoryPlayer, TileEntityAnvilForge te){
|
||||
tileEnt = te;
|
||||
|
||||
//the Slot constructor takes the IInventory and the slot number in that it binds to
|
||||
//and the x-y coordinates it resides on-screen
|
||||
/*for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 3; j++) {
|
||||
addSlotToContainer(new Slot(tileEnt, j + i * 3, 62 + j * 18, 17 + i * 18));
|
||||
}
|
||||
}*/
|
||||
addSlotToContainer(new Slot(tileEnt, 0, 80, 34));
|
||||
|
||||
//commonly used vanilla code that adds the player's inventory
|
||||
bindPlayerInventory(inventoryPlayer);
|
||||
}
|
||||
|
||||
protected void bindPlayerInventory(InventoryPlayer inventoryPlayer) {
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int j = 0; j < 9; j++) {
|
||||
@@ -41,7 +30,6 @@ public class ContainerForgeAnvil extends Container {
|
||||
8 + j * 18, 84 + i * 18));
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < 9; i++) {
|
||||
addSlotToContainer(new Slot(inventoryPlayer, i, 8 + i * 18, 142));
|
||||
}
|
||||
@@ -51,45 +39,24 @@ public class ContainerForgeAnvil extends Container {
|
||||
public ItemStack transferStackInSlot(EntityPlayer player, int slot) {
|
||||
ItemStack stack = null;
|
||||
Slot slotObject = (Slot) inventorySlots.get(slot);
|
||||
|
||||
//null checks and checks if the item can be stacked (maxStackSize > 1)
|
||||
if (slotObject != null && slotObject.getHasStack()) {
|
||||
ItemStack stackInSlot = slotObject.getStack();
|
||||
stack = stackInSlot.copy();
|
||||
|
||||
//merges the item into player inventory since its in the tileEntity
|
||||
if (slot < 9) {
|
||||
if (!this.mergeItemStack(stackInSlot, 9, this.inventorySlots.size(), true)) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
//places it into the tileEntity is possible since its in the player inventory
|
||||
else if (!this.mergeItemStack(stackInSlot, 0, 9, false)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (stackInSlot.stackSize == 0) {
|
||||
slotObject.putStack((ItemStack)null);
|
||||
} else {
|
||||
slotObject.onSlotChanged();
|
||||
}
|
||||
|
||||
/*if (stackInSlot.stackSize == stack.stackSize) {
|
||||
return null;
|
||||
}*/
|
||||
//slotObject.onPickupFromSlot(player, stackInSlot);
|
||||
}
|
||||
return stack;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -184,7 +184,6 @@ public final class ModCrafting {
|
||||
'x', ModBlocks.ironPlate,
|
||||
'i', Blocks.iron_bars,
|
||||
'y', ModItems.charcoalFilter});
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.itemSmallBarrelLid), new Object[]
|
||||
{"ixi", "xxx", "ixi",
|
||||
'x', ModItems.halfSplitBoard,
|
||||
@@ -197,7 +196,6 @@ public final class ModCrafting {
|
||||
{"x x", "x x", "xxx",
|
||||
'x', Items.brick});
|
||||
|
||||
|
||||
//-----------------------LEATHER STUFF-----------------------//
|
||||
|
||||
//GameRegistry.addRecipe(new ItemStack(ModItems.rawCuredLeather), new Object[]{"x", "z", 'x', Items.leather, 'z', ModItems.salt});
|
||||
@@ -218,26 +216,42 @@ public final class ModCrafting {
|
||||
GameRegistry.addRecipe(longbow0, new Object[]{"ya", 'y', ModItems.unstrungLongbow, 'a', Items.string});
|
||||
|
||||
//-----------------------CRUCIBLE STUFF-----------------------//
|
||||
/*//GameRegistry.addRecipe(new ItemStack(ModItems.crucibleLid), new Object[]{"x", "y", 'x', Items.clay_ball, 'y', Blocks.stone_slab});
|
||||
//GameRegistry.addRecipe(new ItemStack(ModItems.crucibleLid), new Object[]{"x", "y", 'x', Items.clay_ball, 'y', Blocks.stone_slab});
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.emptySoftCrucible), new Object[]{"y y", "y y", "yyy", 'y', Items.clay_ball});
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.filledCrucibleIron), new Object[]{" x ", "abc", " y ", 'x', Blocks.stone_slab, 'y', ModBlocks.emptyCookedCrucible,
|
||||
'a', Blocks.sand, 'b', Blocks.iron_ore, 'c', new ItemStack(Items.coal,0,1)});
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.filledCrucibleIronIngot), new Object[]{" x ", "abc", " y ", 'x', Blocks.stone_slab, 'y', ModBlocks.emptyCookedCrucible,
|
||||
'a', Blocks.sand, 'b', Items.iron_ingot, 'c', new ItemStack(Items.coal,0,1)});
|
||||
GameRegistry.addRecipe(new ItemStack(ModItems.charcoalLeafPellet), new Object[]{"xxx", "xyx", "xxx", 'x', new ItemStack(Blocks.leaves,0,3), 'y', new ItemStack(Items.coal,0,1)});
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.filledCrucibleDamascus), new Object[]{" x ", "abc", " y ", 'x', Blocks.stone_slab, 'y', ModBlocks.emptyCookedCrucible,
|
||||
'a', Blocks.sand, 'b', ModBlocks.wootzOre, 'c', ModItems.charcoalLeafPellet});
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.filledLapisCrucible),
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.crucibleIronOre),
|
||||
new Object[]{" x ", "abc", " y ",
|
||||
'x', Blocks.stone_slab,
|
||||
'y', ModBlocks.emptyCookedCrucible,
|
||||
'a', Blocks.sand,
|
||||
'b', Blocks.iron_ore,
|
||||
'c', new ItemStack(Items.coal,0,1)});
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.crucibleIronIngot),
|
||||
new Object[]{" x ", "abc"," y ",
|
||||
'x', Blocks.stone_slab,
|
||||
'y', ModBlocks.emptyCookedCrucible,
|
||||
'a', Blocks.sand,
|
||||
'b', Items.iron_ingot,
|
||||
'c', new ItemStack(Items.coal,0,1)});
|
||||
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.crucibleWootz),
|
||||
new Object[]{" x ", "abc", " y ",
|
||||
'x', Blocks.stone_slab,
|
||||
'y', ModBlocks.emptyCookedCrucible,
|
||||
'a', Blocks.sand,
|
||||
'b', ModBlocks.wootzOre,
|
||||
'c', ModItems.charcoalLeafPellet});
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.crucibleLapis),
|
||||
new Object[]{" x ", "abb", " y ",
|
||||
'x', Blocks.stone_slab,
|
||||
'a', Blocks.sand, 'b', Blocks.lapis_block,
|
||||
'y', ModBlocks.emptyCookedCrucible});
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.filledRedstoneCrucible),
|
||||
GameRegistry.addRecipe(new ItemStack(ModBlocks.crucibleRedstone),
|
||||
new Object[]{" x ", "abb", " y ",
|
||||
'x', Blocks.stone_slab,
|
||||
'a', Blocks.sand, 'b', Blocks.redstone_block,
|
||||
'y', ModBlocks.emptyCookedCrucible});
|
||||
*/
|
||||
|
||||
//-----------------------WEAPONS-----------------------//
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe((ModItems.longSword), new Object[]{"b", "a", Character.valueOf('a'), "strapLeather", 'b', ModItems.ironlongswordBlade}));
|
||||
GameRegistry.addRecipe(new ShapedOreRecipe((ModItems.heavyMace), new Object[]{" a ", "aba", " c ", 'a', ModItems.ironsharpTip, 'b', ModItems.ironmaceHead, 'c', ModItems.ironweaponHandle}));
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import com.kitsu.medievalcraft.block.machines.Forge;
|
||||
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
|
||||
import cpw.mods.fml.common.network.simpleimpl.MessageContext;
|
||||
|
||||
public class MsgHandleBurning implements IMessageHandler<MsgPacketBurning, IMessage>{
|
||||
|
||||
@Override
|
||||
public IMessage onMessage(MsgPacketBurning message, MessageContext ctx) {
|
||||
Forge.coalParts = message.packetOn;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import com.kitsu.medievalcraft.block.ingots.IngotBase;
|
||||
import com.kitsu.medievalcraft.block.machines.Forge;
|
||||
import com.kitsu.medievalcraft.packethandle.forgeHammerParticles.MsgPacketLocX;
|
||||
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
|
||||
import cpw.mods.fml.common.network.simpleimpl.MessageContext;
|
||||
|
||||
public class MsgHandleForgeX implements IMessageHandler<MsgPacketForgeX, IMessage>{
|
||||
|
||||
@Override
|
||||
public IMessage onMessage(MsgPacketForgeX message, MessageContext ctx) {
|
||||
|
||||
//IngotBase.locX = message.locx;
|
||||
Forge.locX = message.locx;
|
||||
//ItemRendererLongbow.tick = message.lTick;
|
||||
|
||||
//System.out.println(message.lTick);
|
||||
//ctx.getClientHandler().addToSendQueue(new MsgPacket(message.useme));
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import com.kitsu.medievalcraft.block.machines.Forge;
|
||||
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
|
||||
import cpw.mods.fml.common.network.simpleimpl.MessageContext;
|
||||
|
||||
public class MsgHandleForgeY implements IMessageHandler<MsgPacketForgeY, IMessage>{
|
||||
|
||||
@Override
|
||||
public IMessage onMessage(MsgPacketForgeY message, MessageContext ctx) {
|
||||
|
||||
//IngotBase.locX = message.locx;
|
||||
Forge.locY = message.locy;
|
||||
//ItemRendererLongbow.tick = message.lTick;
|
||||
|
||||
//System.out.println(message.lTick);
|
||||
//ctx.getClientHandler().addToSendQueue(new MsgPacket(message.useme));
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import com.kitsu.medievalcraft.block.machines.Forge;
|
||||
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
|
||||
import cpw.mods.fml.common.network.simpleimpl.MessageContext;
|
||||
|
||||
public class MsgHandleForgeZ implements IMessageHandler<MsgPacketForgeZ, IMessage>{
|
||||
|
||||
@Override
|
||||
public IMessage onMessage(MsgPacketForgeZ message, MessageContext ctx) {
|
||||
|
||||
//IngotBase.locX = message.locx;
|
||||
Forge.locZ = message.locz;
|
||||
//ItemRendererLongbow.tick = message.lTick;
|
||||
|
||||
//System.out.println(message.lTick);
|
||||
//ctx.getClientHandler().addToSendQueue(new MsgPacket(message.useme));
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import com.kitsu.medievalcraft.block.machines.Forge;
|
||||
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessageHandler;
|
||||
import cpw.mods.fml.common.network.simpleimpl.MessageContext;
|
||||
|
||||
public class MsgHandleOn implements IMessageHandler<MsgPacketOn, IMessage>{
|
||||
|
||||
@Override
|
||||
public IMessage onMessage(MsgPacketOn message, MessageContext ctx) {
|
||||
Forge.furnaceParts = message.packetOn;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
|
||||
public class MsgPacketBurning implements IMessage {
|
||||
|
||||
public boolean packetOn;
|
||||
|
||||
public MsgPacketBurning() {}
|
||||
|
||||
public MsgPacketBurning(boolean x){
|
||||
this.packetOn = x;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fromBytes(ByteBuf buf) {
|
||||
this.packetOn = buf.readBoolean();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toBytes(ByteBuf buf) {
|
||||
buf.writeBoolean(this.packetOn);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
|
||||
public class MsgPacketForgeX implements IMessage {
|
||||
|
||||
public int locx;
|
||||
|
||||
public MsgPacketForgeX() {}
|
||||
|
||||
public MsgPacketForgeX(int x){
|
||||
this.locx = x;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void fromBytes(ByteBuf buf) {
|
||||
|
||||
this.locx = buf.readInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toBytes(ByteBuf buf) {
|
||||
buf.writeInt(this.locx);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
|
||||
public class MsgPacketForgeY implements IMessage {
|
||||
|
||||
public int locy;
|
||||
|
||||
public MsgPacketForgeY() {}
|
||||
|
||||
public MsgPacketForgeY(int y){
|
||||
this.locy = y;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void fromBytes(ByteBuf buf) {
|
||||
|
||||
this.locy = buf.readInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toBytes(ByteBuf buf) {
|
||||
buf.writeInt(this.locy);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
|
||||
public class MsgPacketForgeZ implements IMessage {
|
||||
|
||||
public int locz;
|
||||
|
||||
public MsgPacketForgeZ() {}
|
||||
|
||||
public MsgPacketForgeZ(int z){
|
||||
this.locz = z;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void fromBytes(ByteBuf buf) {
|
||||
|
||||
this.locz = buf.readInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toBytes(ByteBuf buf) {
|
||||
buf.writeInt(this.locz);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
package com.kitsu.medievalcraft.packethandle.forge;
|
||||
|
||||
import io.netty.buffer.ByteBuf;
|
||||
import cpw.mods.fml.common.network.simpleimpl.IMessage;
|
||||
|
||||
public class MsgPacketOn implements IMessage {
|
||||
|
||||
public boolean packetOn;
|
||||
|
||||
public MsgPacketOn() {}
|
||||
|
||||
public MsgPacketOn(boolean x){
|
||||
this.packetOn = x;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void fromBytes(ByteBuf buf) {
|
||||
this.packetOn = buf.readBoolean();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toBytes(ByteBuf buf) {
|
||||
buf.writeBoolean(this.packetOn);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -45,8 +45,9 @@ public class FireboxRenderer extends TileEntitySpecialRenderer {
|
||||
this.entItem.hoverStart = 0.0F;
|
||||
RenderItem.renderInFrame = true;
|
||||
GL11.glScalef(1.0f, 1.0f, 1.0f);
|
||||
//GL11.glRotatef(90, 0, 1, 0);
|
||||
RenderManager.instance.renderEntityWithPosYaw(entItem, 0.5D, 0.3D, 0.5D, 0.0F, 0.0F);
|
||||
GL11.glRotatef(90, 0, 1, 0);
|
||||
RenderManager.instance.renderEntityWithPosYaw(entItem, -0.5D, 0.3D, 0.5D, 0.0F, 0.0F);
|
||||
RenderItem.renderInFrame = false;
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
@@ -60,10 +61,6 @@ public class FireboxRenderer extends TileEntitySpecialRenderer {
|
||||
|
||||
@SuppressWarnings({ "cast"})
|
||||
public void renderBlock(TileEntityFirebox tl, World world, int i, int j,int k, Block block) {
|
||||
Tessellator tessellator = Tessellator.instance;
|
||||
// This will make your block brightness dependent from surroundings
|
||||
// lighting.
|
||||
|
||||
int dir = world.getBlockMetadata(i, j, k);
|
||||
|
||||
GL11.glPushMatrix();
|
||||
|
||||
@@ -33,6 +33,11 @@ public class ForgeAnvilRenderer extends TileEntitySpecialRenderer {
|
||||
TileEntityAnvilForge tileEntity = (TileEntityAnvilForge)tile;
|
||||
GL11.glPushMatrix();
|
||||
GL11.glTranslatef((float) x, (float) y, (float) z);
|
||||
|
||||
if(tileEntity.getStackInSlot(0)==null){
|
||||
entItem=null;
|
||||
}
|
||||
|
||||
if(tileEntity.getStackInSlot(0)!=null){
|
||||
entItem = new EntityItem(tileEntity.getWorldObj(), x, y, z, tileEntity.getStackInSlot(0));
|
||||
GL11.glPushMatrix();
|
||||
@@ -43,8 +48,12 @@ public class ForgeAnvilRenderer extends TileEntitySpecialRenderer {
|
||||
RenderItem.renderInFrame = false;
|
||||
GL11.glPopMatrix();
|
||||
tileEntity.markForUpdate();
|
||||
tileEntity.markDirty();
|
||||
}
|
||||
|
||||
renderBlock(tileEntity, tile.getWorldObj(), tile.xCoord,tile.yCoord, tile.zCoord, ModBlocks.forgeAnvil);
|
||||
tileEntity.markForUpdate();
|
||||
tileEntity.markDirty();
|
||||
GL11.glPopMatrix();
|
||||
}
|
||||
|
||||
|
||||
@@ -74,9 +74,11 @@ public class ForgeRenderer extends TileEntitySpecialRenderer {
|
||||
GL11.glPushMatrix();
|
||||
this.entItem.hoverStart = 0.0F;
|
||||
RenderItem.renderInFrame = true;
|
||||
|
||||
GL11.glScalef(1.0f, 1.0f, 1.0f);
|
||||
//GL11.glRotatef(10, 0, 1, 0);
|
||||
RenderManager.instance.renderEntityWithPosYaw(entItem, 0.55D, 0.25D, 0.5D, 0.0F, 0.0F);
|
||||
|
||||
RenderItem.renderInFrame = false;
|
||||
GL11.glPopMatrix();
|
||||
tileEntity.markForUpdate();
|
||||
|
||||
@@ -23,10 +23,8 @@ public class TileEntityBoilingWaterCrucible extends TileEntity {
|
||||
this.boilingWaterCrucibleName = string;
|
||||
}
|
||||
private void heat(World world, int x, int y, int z){
|
||||
Block ironbar = this.worldObj.getBlock(x, y - 1, z);
|
||||
Block fire = this.worldObj.getBlock(x, y-2, z);
|
||||
if(!world.isRemote){
|
||||
if((ironbar == Blocks.iron_bars) && (fire == Blocks.fire)){
|
||||
if(world.getBlock(x, y-1, z).equals(ModBlocks.firebox)&&world.getBlockMetadata(x, y-1, z)==1){
|
||||
cticks = 0;
|
||||
if((dotan==true)){
|
||||
bticks++;
|
||||
@@ -49,16 +47,14 @@ public class TileEntityBoilingWaterCrucible extends TileEntity {
|
||||
Block fire = this.worldObj.getBlock(x, y-2, z);
|
||||
Block ironbar = this.worldObj.getBlock(x, y - 1, z);
|
||||
if(!world.isRemote){
|
||||
if((fire != Blocks.fire)&&(ironbar == Blocks.iron_bars)){
|
||||
if(world.getBlock(x, y-1, z)!=(ModBlocks.firebox)||world.getBlock(x, y-1, z)!=(Blocks.fire)){
|
||||
cticks++;
|
||||
//System.out.println(tagCompound.getInteger("CTICKS"));
|
||||
if(cticks >= 500 + world.rand.nextInt(50)){
|
||||
world.setBlock(x, y, z, ModBlocks.filledWaterCrucible, 0, 2);
|
||||
}
|
||||
}
|
||||
if((fire != Blocks.fire)&&(ironbar != Blocks.iron_bars)){
|
||||
if(world.getBlock(x, y-1, z)==(ModBlocks.firebox)&&world.getBlockMetadata(x, y, z)==0){
|
||||
cticks++;
|
||||
//System.out.println(tagCompound.getInteger("CTICKS"));
|
||||
if(cticks >= 500 + world.rand.nextInt(50)){
|
||||
world.setBlock(x, y, z, ModBlocks.filledWaterCrucible, 0, 2);
|
||||
}
|
||||
|
||||
@@ -14,62 +14,12 @@ import net.minecraft.world.World;
|
||||
public class TileEntityFilledWaterCrucible extends TileEntity {
|
||||
|
||||
private String filledWaterCrucibleName;
|
||||
private int cticks;
|
||||
NBTTagCompound nbt = new NBTTagCompound();
|
||||
public int cookTime = 450;
|
||||
public int coolTime = 500;
|
||||
public Block cookBlock = ModBlocks.boilingWaterCrucible;
|
||||
|
||||
public void forgeName(String string){
|
||||
this.filledWaterCrucibleName = string;
|
||||
}
|
||||
private void heat(World world, int x, int y, int z){
|
||||
Block testBlock = this.worldObj.getBlock(x, y - 1, z);
|
||||
Block fire = this.worldObj.getBlock(x, y-2, z);
|
||||
public TileEntityFilledWaterCrucible() {
|
||||
|
||||
if((!world.isRemote) && (testBlock == Blocks.iron_bars) && (fire == Blocks.fire)){
|
||||
cticks++;
|
||||
if(cticks >= 500 + world.rand.nextInt(50)){
|
||||
world.setBlock(x, y, z, ModBlocks.boilingWaterCrucible, 0, 2);
|
||||
//System.out.println("Boiled");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readFromNBT(NBTTagCompound tagCompound) {
|
||||
super.readFromNBT(tagCompound);
|
||||
this.cticks = tagCompound.getInteger("CTICKS");
|
||||
if (tagCompound.hasKey("CustomName", 8)) {
|
||||
this.filledWaterCrucibleName = tagCompound.getString("CustomName");
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToNBT(NBTTagCompound tagCompound) {
|
||||
super.writeToNBT(tagCompound);
|
||||
tagCompound.setInteger("CTICKS", cticks);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateEntity() {
|
||||
World world = this.getWorldObj();
|
||||
int x = this.xCoord;
|
||||
int y = this.yCoord;
|
||||
int z = this.zCoord;
|
||||
if(!world.isRemote){
|
||||
heat(world, x, y, z);
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public Packet getDescriptionPacket() {
|
||||
NBTTagCompound nbt = new NBTTagCompound();
|
||||
writeToNBT(nbt);
|
||||
return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, -998, nbt);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDataPacket(NetworkManager net, S35PacketUpdateTileEntity pkt) {
|
||||
readFromNBT(pkt.func_148857_g());
|
||||
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,10 +1,15 @@
|
||||
package com.kitsu.medievalcraft.tileents.crucible.empty;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
import com.kitsu.medievalcraft.block.ModBlocks;
|
||||
|
||||
public class TileEntitySoftEmptyCrucible extends TileEntity {
|
||||
|
||||
private String emptyCrucibleName;
|
||||
public int cookTime = 250;
|
||||
public Block cookBlock = ModBlocks.emptyCookedCrucible;
|
||||
|
||||
public void emptyCrucibleName(String string){
|
||||
this.emptyCrucibleName = string;
|
||||
|
||||
@@ -15,8 +15,10 @@ public class TileIngotBase extends TileEntity implements AnvilUtil{
|
||||
|
||||
private String specName;
|
||||
public int hits = 0;
|
||||
protected int heatBase = 300;
|
||||
public int coolTicks = 250;
|
||||
public int heatTicks = 100;
|
||||
public int heatTicks = 300;
|
||||
protected int coolBase = 250;
|
||||
public boolean hot;
|
||||
|
||||
public TileIngotBase(String name){
|
||||
@@ -34,10 +36,11 @@ public class TileIngotBase extends TileEntity implements AnvilUtil{
|
||||
int y = this.yCoord;
|
||||
int z = this.zCoord;
|
||||
if(!world.isRemote){
|
||||
System.out.println(this.heatTicks);
|
||||
if(this.heatTicks<=0){
|
||||
world.setBlockMetadataWithNotify(x, y, z, 1, 2);
|
||||
this.hot=true;
|
||||
this.heatTicks=100;
|
||||
//this.heatTicks=100;
|
||||
}
|
||||
if(this.coolTicks<=0){
|
||||
world.setBlockMetadataWithNotify(x, y, z, 0, 2);
|
||||
@@ -50,18 +53,21 @@ public class TileIngotBase extends TileEntity implements AnvilUtil{
|
||||
|
||||
private void coolDown(World world, int x, int y, int z){
|
||||
if(!world.isRemote){
|
||||
if((world.getBlock(x, y-1, z)!=ModBlocks.forge)&&(this.hot==true)){
|
||||
if(this.hot==true){
|
||||
if(world.getBlockMetadata(x, y-1, z)<8){
|
||||
coolTicks--;
|
||||
if(coolTicks <= 0){
|
||||
world.setBlockMetadataWithNotify(x, y, z, 0, 2);
|
||||
this.hot=false;
|
||||
this.coolTicks=100;
|
||||
this.heatTicks=100;
|
||||
this.coolTicks=coolBase;
|
||||
this.heatTicks=heatBase;
|
||||
this.markForUpdate();
|
||||
this.markDirty();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
private void makeItem(World world, int x, int y, int z){
|
||||
|
||||
@@ -8,8 +8,9 @@ public class TileMyIronIngot extends TileIngotBase{
|
||||
super(nameCustom);
|
||||
this.hits = 0;
|
||||
this.hot = false;
|
||||
|
||||
this.heatTicks = 300;
|
||||
this.heatBase = 50;
|
||||
this.heatTicks = 50;
|
||||
this.coolBase = 50;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,52 +1,104 @@
|
||||
package com.kitsu.medievalcraft.tileents.machine;
|
||||
|
||||
import com.kitsu.medievalcraft.block.ModBlocks;
|
||||
import com.kitsu.medievalcraft.block.crucible.CrucibleBase;
|
||||
import com.kitsu.medievalcraft.tileents.crucible.TileCrucibleBase;
|
||||
import com.kitsu.medievalcraft.tileents.crucible.empty.TileEntityFilledWaterCrucible;
|
||||
import com.kitsu.medievalcraft.tileents.crucible.empty.TileEntitySoftEmptyCrucible;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockFurnace;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.init.Blocks;
|
||||
import net.minecraft.init.Items;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemHoe;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.item.ItemSword;
|
||||
import net.minecraft.item.ItemTool;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
import net.minecraft.network.NetworkManager;
|
||||
import net.minecraft.network.Packet;
|
||||
import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.tileentity.TileEntityFurnace;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class TileEntityAnvilForge extends TileEntity implements IInventory{
|
||||
|
||||
private String forgeAnvilName;
|
||||
public ItemStack[] inv;
|
||||
NBTTagCompound tag = new NBTTagCompound();
|
||||
private String anvilName;
|
||||
private ItemStack[] inv;
|
||||
private NBTTagCompound tag = new NBTTagCompound();
|
||||
private int ticks;
|
||||
public boolean isOn;
|
||||
|
||||
public TileEntityAnvilForge(){
|
||||
inv = new ItemStack[1];
|
||||
}
|
||||
|
||||
public void forgeName(String string){
|
||||
this.forgeAnvilName = string;
|
||||
this.inv = new ItemStack[1];
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getSizeInventory() {
|
||||
return inv.length;
|
||||
return this.inv.length;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getStackInSlot(int slot) {
|
||||
return inv[slot];
|
||||
return this.inv[slot];
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getStackInSlotOnClosing(int p_70304_1_)
|
||||
public ItemStack decrStackSize(int p_70298_1_, int p_70298_2_)
|
||||
{
|
||||
if (this.inv[p_70304_1_] != null)
|
||||
if (this.inv[p_70298_1_] != null)
|
||||
{
|
||||
ItemStack itemstack = this.inv[p_70304_1_];
|
||||
this.inv[p_70304_1_] = null;
|
||||
ItemStack itemstack;
|
||||
|
||||
if (this.inv[p_70298_1_].stackSize <= p_70298_2_)
|
||||
{
|
||||
itemstack = this.inv[p_70298_1_];
|
||||
this.inv[p_70298_1_] = null;
|
||||
this.markForUpdate();
|
||||
this.markDirty();
|
||||
return itemstack;
|
||||
}
|
||||
itemstack = this.inv[p_70298_1_].splitStack(p_70298_2_);
|
||||
|
||||
if (this.inv[p_70298_1_].stackSize == 0)
|
||||
{
|
||||
this.inv[p_70298_1_] = null;
|
||||
}
|
||||
this.markForUpdate();
|
||||
this.markDirty();
|
||||
return itemstack;
|
||||
}
|
||||
this.markForUpdate();
|
||||
this.markDirty();
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public ItemStack getStackInSlotOnClosing(int i)
|
||||
{
|
||||
if (this.inv[i] != null)
|
||||
{
|
||||
ItemStack itemstack = this.inv[i];
|
||||
this.inv[i] = null;
|
||||
this.markForUpdate();
|
||||
this.markDirty();
|
||||
return itemstack;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.markForUpdate();
|
||||
this.markDirty();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setInventorySlotContents(int slot, ItemStack stack)
|
||||
{
|
||||
@@ -62,17 +114,17 @@ public class TileEntityAnvilForge extends TileEntity implements IInventory {
|
||||
|
||||
@Override
|
||||
public String getInventoryName() {
|
||||
return this.hasCustomInventoryName() ? this.forgeAnvilName : "Forge";
|
||||
return this.hasCustomInventoryName() ? this.anvilName : "anvilName";
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasCustomInventoryName() {
|
||||
return this.forgeAnvilName != null && this.forgeAnvilName.length() > 0;
|
||||
return this.anvilName != null && this.anvilName.length() > 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getInventoryStackLimit() {
|
||||
return 1;
|
||||
return 64;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -81,25 +133,35 @@ public class TileEntityAnvilForge extends TileEntity implements IInventory {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isItemValidForSlot(int par1, ItemStack itemstack) {
|
||||
public void openInventory() {}
|
||||
@Override
|
||||
public void closeInventory() {}
|
||||
|
||||
@Override
|
||||
public boolean isItemValidForSlot(int par1, ItemStack itemstack) {
|
||||
return false;
|
||||
}
|
||||
|
||||
public void markForUpdate(){
|
||||
worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void readFromNBT(NBTTagCompound tagCompound) {
|
||||
super.readFromNBT(tagCompound);
|
||||
|
||||
NBTTagList tagList = tagCompound.getTagList("Inventory", 10);
|
||||
this.inv = new ItemStack[this.getSizeInventory()];
|
||||
for (int i = 0; i < tagList.tagCount(); i++) {
|
||||
NBTTagCompound tag = tagList.getCompoundTagAt(i);
|
||||
byte slot = tag.getByte("Slot");
|
||||
if (slot >= 0 && slot < inv.length) {
|
||||
inv[slot] = ItemStack.loadItemStackFromNBT(tag);
|
||||
if (slot >= 0 && slot < this.inv.length) {
|
||||
this.inv[slot] = ItemStack.loadItemStackFromNBT(tag);
|
||||
}
|
||||
}
|
||||
if (tagCompound.hasKey("CustomName", 8)) {
|
||||
this.forgeAnvilName = tagCompound.getString("CustomName");
|
||||
this.anvilName = tagCompound.getString("CustomName");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -108,59 +170,22 @@ public class TileEntityAnvilForge extends TileEntity implements IInventory {
|
||||
|
||||
NBTTagList itemList = new NBTTagList();
|
||||
for (int i = 0; i < inv.length; i++) {
|
||||
ItemStack stack = inv[i];
|
||||
if (stack != null) {
|
||||
//ItemStack stack = inv[i];
|
||||
if (inv[i] != null) {
|
||||
NBTTagCompound tag = new NBTTagCompound();
|
||||
tag.setByte("Slot", (byte) i);
|
||||
stack.writeToNBT(tag);
|
||||
this.inv[i].writeToNBT(tag);
|
||||
itemList.appendTag(tag);
|
||||
}
|
||||
}
|
||||
tagCompound.setTag("Inventory", itemList);
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public void openInventory() {}
|
||||
|
||||
@Override
|
||||
public void closeInventory() {}
|
||||
|
||||
/**
|
||||
* Removes from an inventory slot (first arg) up to a specified number (second arg) of items and returns them in a
|
||||
* new stack.
|
||||
*/
|
||||
|
||||
@Override
|
||||
public ItemStack decrStackSize(int p_70298_1_, int p_70298_2_)
|
||||
{
|
||||
if (this.inv[p_70298_1_] != null)
|
||||
{
|
||||
ItemStack itemstack;
|
||||
|
||||
if (this.inv[p_70298_1_].stackSize <= p_70298_2_)
|
||||
{
|
||||
itemstack = this.inv[p_70298_1_];
|
||||
this.inv[p_70298_1_] = null;
|
||||
return itemstack;
|
||||
}
|
||||
itemstack = this.inv[p_70298_1_].splitStack(p_70298_2_);
|
||||
|
||||
if (this.inv[p_70298_1_].stackSize == 0)
|
||||
{
|
||||
this.inv[p_70298_1_] = null;
|
||||
}
|
||||
this.markForUpdate();
|
||||
return itemstack;
|
||||
}
|
||||
this.markForUpdate();
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Packet getDescriptionPacket() {
|
||||
NBTTagCompound tag = new NBTTagCompound();
|
||||
writeToNBT(tag);
|
||||
return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, -998, tag);
|
||||
this.writeToNBT(tag);
|
||||
return new S35PacketUpdateTileEntity(xCoord, yCoord, zCoord, 998, tag);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -168,12 +193,26 @@ public class TileEntityAnvilForge extends TileEntity implements IInventory {
|
||||
readFromNBT(pkt.func_148857_g());
|
||||
worldObj.markBlockForUpdate(xCoord, yCoord, zCoord);
|
||||
}
|
||||
public void markForUpdate(){
|
||||
worldObj.markBlockForUpdate(this.xCoord, this.yCoord, this.zCoord);
|
||||
|
||||
@Override
|
||||
public void updateEntity() {
|
||||
|
||||
World world = getWorldObj();
|
||||
int x = this.xCoord;
|
||||
int y = this.yCoord;
|
||||
int z = this.zCoord;
|
||||
if(!world.isRemote){
|
||||
|
||||
}
|
||||
if (worldObj.isRemote) return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -24,9 +24,9 @@ import net.minecraft.world.World;
|
||||
|
||||
import com.kitsu.medievalcraft.block.ModBlocks;
|
||||
import com.kitsu.medievalcraft.block.crucible.CrucibleBase;
|
||||
import com.kitsu.medievalcraft.block.ingots.IngotBase;
|
||||
import com.kitsu.medievalcraft.tileents.crucible.TileCrucibleBase;
|
||||
import com.kitsu.medievalcraft.tileents.ingots.TileIngotBase;
|
||||
import com.kitsu.medievalcraft.tileents.crucible.empty.TileEntityFilledWaterCrucible;
|
||||
import com.kitsu.medievalcraft.tileents.crucible.empty.TileEntitySoftEmptyCrucible;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
|
||||
@@ -212,25 +212,24 @@ public class TileEntityFirebox extends TileEntity implements IInventory{
|
||||
fireboxFuelDec(world, x, y, z, this.getStackInSlot(0), this.ticks);
|
||||
isFurnace(world, x, y, z);
|
||||
isCrucible(world, x, y, z);
|
||||
isIngot(world, x, y, z);
|
||||
//isIngot(world, x, y, z);
|
||||
}
|
||||
if (worldObj.isRemote) return;
|
||||
}
|
||||
|
||||
private void fireboxMaint(World world, int x, int y, int z){
|
||||
if(world.getBlock(x, y+1, z).equals(Blocks.air)||this.getStackInSlot(0)==null){
|
||||
this.isOn = false;
|
||||
}
|
||||
if((this.getStackInSlot(0)==null)&&(world.getBlock(x, y+1, z).equals(Blocks.fire))){
|
||||
if(world.getBlockMetadata(x, y, z)==0&&world.getBlock(x, y+1, z).equals(Blocks.fire)){
|
||||
world.setBlock(x, y+1, z, Blocks.air, 0, 2);
|
||||
this.isOn=false;
|
||||
}
|
||||
if(this.isOn==true && world.getBlock(x, y+1, z).equals(Blocks.air)){
|
||||
if((this.getStackInSlot(0)==null)){
|
||||
world.setBlockMetadataWithNotify(x, y, z, 0, 2);
|
||||
}
|
||||
if(world.getBlockMetadata(x, y, z)==1 && world.getBlock(x, y+1, z).equals(Blocks.air)){
|
||||
world.setBlock(x, y+1, z, Blocks.fire, 0, 2);
|
||||
}
|
||||
if(world.getBlock(x, y+1, z).equals(Blocks.fire)){
|
||||
this.isOn = true;
|
||||
}
|
||||
/*if(world.getBlock(x, y+1, z).equals(Blocks.fire)){
|
||||
world.setBlockMetadataWithNotify(x, y, z, 1, 2);
|
||||
}*/
|
||||
}
|
||||
private void fireboxFuelDec(World world, int x, int y, int z, ItemStack stack, int time){
|
||||
if(world.getBlock(x, y+1, z).equals(Blocks.fire)){
|
||||
@@ -332,7 +331,7 @@ public class TileEntityFirebox extends TileEntity implements IInventory{
|
||||
public void isCrucible(World world, int x, int y, int z){
|
||||
if(world.getBlock(x, y+1, z) instanceof CrucibleBase){
|
||||
TileCrucibleBase tile = (TileCrucibleBase) world.getTileEntity(x, y+1, z);
|
||||
if(tile.hot == false && tile.cooked == false && this.isOn == true){
|
||||
if(tile.hot == false && tile.cooked == false && world.getBlockMetadata(x, y, z)==1){
|
||||
tile.heatTicks--;
|
||||
if(tile.heatTicks<=0){
|
||||
tile.hot=true;
|
||||
@@ -341,21 +340,27 @@ public class TileEntityFirebox extends TileEntity implements IInventory{
|
||||
}
|
||||
}
|
||||
}
|
||||
if(world.getBlock(x, y+1, z).equals(ModBlocks.emptySoftCrucible)){
|
||||
TileEntitySoftEmptyCrucible tile = (TileEntitySoftEmptyCrucible) world.getTileEntity(x, y+1, z);
|
||||
if(world.getBlockMetadata(x, y, z)==1){
|
||||
tile.cookTime--;
|
||||
if(tile.cookTime<=0){
|
||||
world.setBlock(x, y+1, z, tile.cookBlock, 0, 2);
|
||||
}
|
||||
public void isIngot(World world, int x, int y, int z){
|
||||
if(world.getBlock(x, y+1, z) instanceof IngotBase){
|
||||
TileIngotBase tile = (TileIngotBase) world.getTileEntity(x, y+1, z);
|
||||
if(tile.hot == false && this.isOn == true){
|
||||
tile.heatTicks--;
|
||||
if(tile.heatTicks<=0){
|
||||
tile.hot=true;
|
||||
tile.markForUpdate();
|
||||
tile.markDirty();
|
||||
}
|
||||
}
|
||||
if(world.getBlock(x, y+1, z).equals(ModBlocks.filledWaterCrucible)){
|
||||
TileEntityFilledWaterCrucible tile = (TileEntityFilledWaterCrucible) world.getTileEntity(x, y+1, z);
|
||||
if(world.getBlockMetadata(x, y, z)==1){
|
||||
tile.cookTime--;
|
||||
if(tile.cookTime<=0){
|
||||
world.setBlock(x, y+1, z, tile.cookBlock, 0, 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -22,13 +22,7 @@ import net.minecraft.network.play.server.S35PacketUpdateTileEntity;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import com.kitsu.medievalcraft.Main;
|
||||
import com.kitsu.medievalcraft.block.ingots.IngotBase;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketBurning;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForgeX;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForgeY;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketForgeZ;
|
||||
import com.kitsu.medievalcraft.packethandle.forge.MsgPacketOn;
|
||||
import com.kitsu.medievalcraft.tileents.ingots.TileIngotBase;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
@@ -221,6 +215,7 @@ public class TileForge extends TileEntity implements IInventory{
|
||||
heatIngot(world, x, y, z);
|
||||
fireboxFuelDec(world, x, y, z,this.getStackInSlot(0), this.ticks);
|
||||
fireboxFuelDec2(world, x, y, z,this.getStackInSlot(1), this.ticks);
|
||||
//System.out.println(world.getBlockMetadata(x, y, z));
|
||||
}
|
||||
|
||||
if (worldObj.isRemote) return;
|
||||
@@ -230,7 +225,7 @@ public class TileForge extends TileEntity implements IInventory{
|
||||
if(!world.isRemote){
|
||||
if(world.getBlock(x, y+1, z) instanceof IngotBase){
|
||||
TileIngotBase tile = (TileIngotBase) world.getTileEntity(x, y+1, z);
|
||||
if(this.isOn==true){
|
||||
if(world.getBlockMetadata(x, y, z)>7){
|
||||
if(tile.hot==false){
|
||||
tile.heatTicks--;
|
||||
}
|
||||
@@ -240,7 +235,7 @@ public class TileForge extends TileEntity implements IInventory{
|
||||
}
|
||||
|
||||
private void fireboxFuelDec(World world, int x, int y, int z, ItemStack stack, int time){
|
||||
if(world.getBlock(x, y+1, z).equals(Blocks.fire)){
|
||||
if(world.getBlockMetadata(x, y, z)>3){
|
||||
if(stack!=null){
|
||||
if(isItemFuel(stack)==true){
|
||||
this.ticks++;
|
||||
@@ -258,7 +253,7 @@ public class TileForge extends TileEntity implements IInventory{
|
||||
|
||||
|
||||
private void fireboxFuelDec2(World world, int x, int y, int z, ItemStack stack, int time){
|
||||
if(world.getBlock(x, y+1, z).equals(Blocks.fire)){
|
||||
if(world.getBlockMetadata(x, y, z)>7){
|
||||
if(stack!=null){
|
||||
if(isItemFuel(stack)==true){
|
||||
this.ticks++;
|
||||
@@ -353,6 +348,11 @@ public class TileForge extends TileEntity implements IInventory{
|
||||
world.setBlockMetadataWithNotify(x, y, z, world.getBlockMetadata(x, y, z)-4, 2);
|
||||
}
|
||||
}
|
||||
if(world.getBlockMetadata(x, y, z)>3&&world.getBlockMetadata(x, y, z)<8){
|
||||
if(this.getStackInSlot(1)!=null){
|
||||
world.setBlockMetadataWithNotify(x, y, z, world.getBlockMetadata(x, y, z)+4, 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user