updates
This commit is contained in:
commit
0811f05eb3
62
.classpath
62
.classpath
@ -4,6 +4,7 @@
|
|||||||
<classpathentry kind="src" path="src/main/java"/>
|
<classpathentry kind="src" path="src/main/java"/>
|
||||||
<classpathentry kind="src" path="src/main/resources"/>
|
<classpathentry kind="src" path="src/main/resources"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER" exported="true"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER" exported="true"/>
|
||||||
|
<<<<<<< HEAD
|
||||||
<classpathentry sourcepath="/home/garrett/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.3.1428-1.7.10/forgeSrc-1.7.10-10.13.3.1428-1.7.10-sources.jar" kind="lib" path="/home/garrett/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.3.1428-1.7.10/forgeSrc-1.7.10-10.13.3.1428-1.7.10.jar" exported="true"/>
|
<classpathentry sourcepath="/home/garrett/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.3.1428-1.7.10/forgeSrc-1.7.10-10.13.3.1428-1.7.10-sources.jar" kind="lib" path="/home/garrett/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.3.1428-1.7.10/forgeSrc-1.7.10-10.13.3.1428-1.7.10.jar" exported="true"/>
|
||||||
<classpathentry sourcepath="/home/garrett/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/ea64c0bce5e9f465cd56566530133331568d2157/launchwrapper-1.11-sources.jar" kind="lib" path="/home/garrett/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/9c0592c6e1e9ea296a70948081bd4cc84dda1289/launchwrapper-1.11.jar" exported="true"/>
|
<classpathentry sourcepath="/home/garrett/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/ea64c0bce5e9f465cd56566530133331568d2157/launchwrapper-1.11-sources.jar" kind="lib" path="/home/garrett/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/9c0592c6e1e9ea296a70948081bd4cc84dda1289/launchwrapper-1.11.jar" exported="true"/>
|
||||||
<classpathentry kind="lib" path="/home/garrett/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/1.3.9/40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf/jsr305-1.3.9.jar" exported="true"/>
|
<classpathentry kind="lib" path="/home/garrett/.gradle/caches/modules-2/files-2.1/com.google.code.findbugs/jsr305/1.3.9/40719ea6961c0cb6afaeb6a921eaa1f6afd4cfdf/jsr305-1.3.9.jar" exported="true"/>
|
||||||
@ -63,4 +64,65 @@
|
|||||||
<classpathentry kind="lib" path="/home/garrett/.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/garrett/.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/garrett/.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/garrett/.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/garrett/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.3.1428-1.7.10/start" exported="true"/>
|
<classpathentry kind="lib" path="/home/garrett/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.3.1428-1.7.10/start" exported="true"/>
|
||||||
|
=======
|
||||||
|
<classpathentry sourcepath="/home/krios/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.2.1291/forgeSrc-1.7.10-10.13.2.1291-sources.jar" kind="lib" path="/home/krios/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.2.1291/forgeSrc-1.7.10-10.13.2.1291.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/ea64c0bce5e9f465cd56566530133331568d2157/launchwrapper-1.11-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/net.minecraft/launchwrapper/1.11/9c0592c6e1e9ea296a70948081bd4cc84dda1289/launchwrapper-1.11.jar" exported="true"/>
|
||||||
|
<classpathentry kind="lib" path="/home/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/bdacf4f82ce9b29cd474bfde2e91eeb0ca623d28/config-1.2.1-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/com.typesafe/config/1.2.1/f771f71fdae3df231bcd54d5ca2d57f0bf93f467/config-1.2.1.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.gradle/caches/modules-2/files-2.1/com.mojang/realms/1.3.5/807ae355ee63583becd7ea60e76aab1532bb42e/realms-1.3.5.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.gradle/caches/modules-2/files-2.1/java3d/vecmath/1.3.1/a0ae4f51da409fa0c20fa0ca59e6bbc9413ae71d/vecmath-1.3.1.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.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/krios/.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/krios/.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/krios/.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/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/4ca2436396bc14ebd78b7db1d4e11ca607c8705e/codecjorbis-20101023-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/codecjorbis/20101023/c73b5636faf089d9f00e8732a829577de25237ee/codecjorbis-20101023.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/71ec00b9b9c1a6a2c3a8a25f481a23ddb5b21ddb/codecwav-20101023-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/codecwav/20101023/12f031cfe88fef5c1dd36c563c0a3a69bd7261da/codecwav-20101023.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/945ff5711de27751cf699641d1ea316ba6cf7589/libraryjavasound-20101123-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/libraryjavasound/20101123/5c5e304366f75f9eaa2e8cca546a1fb6109348b3/libraryjavasound-20101123.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/ecfc8dac1d41bef748997e4edf563d486923ee1e/librarylwjglopenal-20100824-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/librarylwjglopenal/20100824/73e80d0794c39665aec3f62eee88ca91676674ef/librarylwjglopenal-20100824.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/1b9f4eb11ef11fede7fd76a2e5e8203c2a8adcd/soundsystem-20120107-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/com.paulscode/soundsystem/20120107/419c05fe9be71f792b2d76cfc9b67f1ed0fec7f6/soundsystem-20120107.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.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/krios/.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/krios/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/f2d8698c46d1167ff24b06a840a87d91a02db891/commons-io-2.4-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/2.4/b1b6ea3b7e4aa4f492509a4952029cd8e48019ad/commons-io-2.4.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/3f15fff45d57656685abfee9e8302bf14580044c/commons-codec-1.9-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/commons-codec/commons-codec/1.9/9ce04e34240f674bc72680f8b843b1457383161a/commons-codec-1.9.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.16/f7d1af1fd1232bb4f2e7898f059b536ad5bc950/authlib-1.5.16-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/com.mojang/authlib/1.5.16/ef1582b11fd0943d069cdcb72e99008ac209a283/authlib-1.5.16.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.gradle/caches/modules-2/files-2.1/tv.twitch/twitch/5.16/1f55f009c61637c10c0acfb8b5ffc600f30044b4/twitch-5.16.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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/krios/.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 sourcepath="/home/krios/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/7ca0efbeb87ca845b5d7a0ac9c21a4b7b95f7b28/guava-17.0-sources.jar" kind="lib" path="/home/krios/.gradle/caches/modules-2/files-2.1/com.google.guava/guava/17.0/9c6ef172e8de35fd8d4d8783e4821e57cdef7445/guava-17.0.jar" exported="true"/>
|
||||||
|
<classpathentry sourcepath="/home/krios/.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/krios/.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 kind="lib" path="/home/krios/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.10-10.13.2.1291/start" exported="true"/>
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
</classpath>
|
</classpath>
|
||||||
|
@ -1 +1,5 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
#Thu Jun 04 23:54:39 CDT 2015
|
#Thu Jun 04 23:54:39 CDT 2015
|
||||||
|
=======
|
||||||
|
#Thu Mar 19 10:59:27 EDT 2015
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
R4wk, ZeuX, IngisKahn, bspkrs
|
R4wk, ZeuX, IngisKahn, bspkrs
|
||||||
MCP Data version : unknown
|
MCP Data version : unknown
|
||||||
****************************
|
****************************
|
||||||
|
<<<<<<< HEAD
|
||||||
:eclipseClasspath
|
:eclipseClasspath
|
||||||
:eclipseJdt
|
:eclipseJdt
|
||||||
:eclipseProject
|
:eclipseProject
|
||||||
@ -13,3 +14,31 @@
|
|||||||
BUILD SUCCESSFUL
|
BUILD SUCCESSFUL
|
||||||
|
|
||||||
Total time: 1 mins 37.222 secs
|
Total time: 1 mins 37.222 secs
|
||||||
|
=======
|
||||||
|
:compileApiJava UP-TO-DATE
|
||||||
|
:processApiResources UP-TO-DATE
|
||||||
|
:apiClasses UP-TO-DATE
|
||||||
|
:sourceMainJava
|
||||||
|
:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
|
||||||
|
1 warning
|
||||||
|
|
||||||
|
:processResources
|
||||||
|
:classes
|
||||||
|
:jar
|
||||||
|
:compileTestJava UP-TO-DATE
|
||||||
|
:processTestResources UP-TO-DATE
|
||||||
|
:testClasses UP-TO-DATE
|
||||||
|
:test UP-TO-DATE
|
||||||
|
:extractMcpData UP-TO-DATE
|
||||||
|
:getVersionJson
|
||||||
|
:extractUserDev UP-TO-DATE
|
||||||
|
:genSrgs SKIPPED
|
||||||
|
:reobf
|
||||||
|
:assemble
|
||||||
|
:check UP-TO-DATE
|
||||||
|
:build
|
||||||
|
|
||||||
|
BUILD SUCCESSFUL
|
||||||
|
|
||||||
|
Total time: 1 mins 28.486 secs
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
|
4
.project
4
.project
@ -1,6 +1,10 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<projectDescription>
|
<projectDescription>
|
||||||
|
<<<<<<< HEAD
|
||||||
<name>snf</name>
|
<name>snf</name>
|
||||||
|
=======
|
||||||
|
<name>supernaturalflora</name>
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
<comment/>
|
<comment/>
|
||||||
<projects/>
|
<projects/>
|
||||||
<natures>
|
<natures>
|
||||||
|
@ -1,5 +1,9 @@
|
|||||||
#
|
#
|
||||||
|
<<<<<<< HEAD
|
||||||
#Fri Jun 05 00:29:26 CDT 2015
|
#Fri Jun 05 00:29:26 CDT 2015
|
||||||
|
=======
|
||||||
|
#Thu Mar 19 11:03:18 EDT 2015
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.6
|
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||||
|
@ -11,24 +11,33 @@ item.ItemFireEssence.name=Essence of Fire
|
|||||||
item.ItemAwakeningBlaze.name=Serum of the Flame
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
|
=======
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
item.ItemSiftingNet.name=Sifting Net
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
|
||||||
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
|
||||||
|
=======
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
item.ItemSoulMedium.name=Soul Medium
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
item.ItemLifePotion.name=Essence of the Spark
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
item.ItemGandalf99.name=gandalf99 [WIP]
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
item.ItemEtherealDivisor.name=Ethereal Divisor
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
item.ItemIronShard.name=Iron Shard
|
item.ItemIronShard.name=Iron Shard
|
||||||
item.ItemObsidianIngot.name=Obsidian Ingot
|
item.ItemObsidianIngot.name=Obsidian Ingot
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
item.ItemOrb.name=Empty Orb
|
item.ItemOrb.name=Empty Orb
|
||||||
|
|
||||||
@ -41,5 +50,14 @@ item.Gandalf99Sword.name=Sword of gandalf99 [WIP]
|
|||||||
item.ItemIgnisRaw.name=Raw Ignis
|
item.ItemIgnisRaw.name=Raw Ignis
|
||||||
item.ItemIgnisOrb.name=Orb of Ignis
|
item.ItemIgnisOrb.name=Orb of Ignis
|
||||||
|
|
||||||
|
=======
|
||||||
|
item.ItemOrb.name=Empty Orb
|
||||||
|
item.ItemEtherOrb.name=Orb of Ether
|
||||||
|
item.ItemEtherRaw.name=Raw Ether
|
||||||
|
item.ItemACatalyst.name=Alchemical Catalyst
|
||||||
|
item.Gandalf99Sword.name=Sword of gandalf99 [WIP]
|
||||||
|
item.ItemIgnisRaw.name=Raw Ignis
|
||||||
|
item.ItemIgnisOrb.name=Orb of Ignis
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
item.ItemAquisRaw.name=Raw Aquis
|
item.ItemAquisRaw.name=Raw Aquis
|
||||||
item.ItemAquisOrb.name=Orb of Aquis
|
item.ItemAquisOrb.name=Orb of Aquis
|
@ -6,9 +6,15 @@
|
|||||||
"version": "1.2",
|
"version": "1.2",
|
||||||
"mcversion": "1.7.10",
|
"mcversion": "1.7.10",
|
||||||
"url": "http://github.com/cestaberous/supernaturalflora",
|
"url": "http://github.com/cestaberous/supernaturalflora",
|
||||||
|
<<<<<<< HEAD
|
||||||
"updateUrl": "http://cestaberous.gq/mods/snf/downloads/",
|
"updateUrl": "http://cestaberous.gq/mods/snf/downloads/",
|
||||||
"authorList": ["Cestaberous"],
|
"authorList": ["Cestaberous"],
|
||||||
"credits": "Cestaberous; Help from gandalf99",
|
"credits": "Cestaberous; Help from gandalf99",
|
||||||
|
=======
|
||||||
|
"updateUrl": "",
|
||||||
|
"authorList": ["Cestaberous"],
|
||||||
|
"credits": "Thanks to MrCrayfish for the amazing tutorial.",
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
"logoFile": "",
|
"logoFile": "",
|
||||||
"screenshots": [],
|
"screenshots": [],
|
||||||
"dependencies": []
|
"dependencies": []
|
||||||
|
@ -22,7 +22,11 @@ group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-
|
|||||||
archivesBaseName = "modid"
|
archivesBaseName = "modid"
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
|
<<<<<<< HEAD
|
||||||
version = "1.7.10-10.13.3.1428-1.7.10"
|
version = "1.7.10-10.13.3.1428-1.7.10"
|
||||||
|
=======
|
||||||
|
version = "1.7.10-10.13.2.1291"
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
runDir = "eclipse"
|
runDir = "eclipse"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,10 +1,533 @@
|
|||||||
|
<<<<<<< HEAD
|
||||||
!SESSION 2015-06-05 10:03:52.507 -----------------------------------------------
|
!SESSION 2015-06-05 10:03:52.507 -----------------------------------------------
|
||||||
eclipse.buildId=4.4.2.M20150204-1700
|
eclipse.buildId=4.4.2.M20150204-1700
|
||||||
java.version=1.7.0_79
|
java.version=1.7.0_79
|
||||||
|
=======
|
||||||
|
!SESSION 2015-03-19 11:04:20.559 -----------------------------------------------
|
||||||
|
eclipse.buildId=4.4.2.M20150204-1700
|
||||||
|
java.version=1.8.0_31
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
java.vendor=Oracle Corporation
|
java.vendor=Oracle Corporation
|
||||||
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
|
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
|
||||||
Framework arguments: -product org.eclipse.epp.package.java.product
|
Framework arguments: -product org.eclipse.epp.package.java.product
|
||||||
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product
|
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
!ENTRY org.eclipse.core.resources 2 10035 2015-06-05 10:04:12.490
|
!ENTRY org.eclipse.core.resources 2 10035 2015-06-05 10:04:12.490
|
||||||
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
|
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
|
||||||
|
=======
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-19 12:57:42.421
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-19 13:13:26.165
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-19 13:13:44.052
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-19 14:49:58.243
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-19 14:51:12.131
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeFilteredProposals(CompletionProposalPopup.java:1495)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$4(CompletionProposalPopup.java:1484)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$1.run(CompletionProposalPopup.java:382)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-19 15:06:20.363
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
!SESSION 2015-03-19 17:49:25.013 -----------------------------------------------
|
||||||
|
eclipse.buildId=4.4.2.M20150204-1700
|
||||||
|
java.version=1.8.0_31
|
||||||
|
java.vendor=Oracle Corporation
|
||||||
|
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
|
||||||
|
Framework arguments: -product org.eclipse.epp.package.java.product
|
||||||
|
Command-line arguments: -data /home/krios/Desktop/projects/supernaturalflora/eclipse -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-19 17:59:55.101
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-19 18:00:10.926
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-19 18:33:28.763
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
!SESSION 2015-03-20 22:38:30.442 -----------------------------------------------
|
||||||
|
eclipse.buildId=4.4.2.M20150204-1700
|
||||||
|
java.version=1.8.0_31
|
||||||
|
java.vendor=Oracle Corporation
|
||||||
|
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
|
||||||
|
Framework arguments: -product org.eclipse.epp.package.java.product
|
||||||
|
Command-line arguments: -data /home/krios/Desktop/projects/supernaturalflora/eclipse -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.core.resources 2 10035 2015-03-20 22:38:46.622
|
||||||
|
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-20 22:51:56.561
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
>>>>>>> e3b5f5f77f61b7a685fc1fc9109f8de395ab933d
|
||||||
|
@ -0,0 +1,154 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor();
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,142 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,22 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
@ -0,0 +1,27 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
||||||
|
item.ItemObsidianIngot=ObsidianIngot
|
@ -0,0 +1,143 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
Game
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Potion of Awakening - Creeper
|
||||||
|
item.ItemAwakeningZombie.name=Potion of Awakening - Zombie
|
||||||
|
item.ItemAwakeningSkeleton.name=Potion of Awakening - Skeleton
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Potion of Awakening - Blaze
|
||||||
|
item.ItemAwakeningGhast.name=Potion of Awakening - Ghast
|
||||||
|
item.ItemAwakeningEnderman.name=Potion of Awakening - Enderman
|
@ -0,0 +1,153 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
|
||||||
|
public class BlockDeadSoilEnderman extends Block {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,137 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
@ -0,0 +1,153 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,186 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,159 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
|
||||||
|
public class BlockDeadSoilZombie extends Block {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
|
||||||
|
public class BlockDeadSoilCreeper extends Block {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,135 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion();
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,196 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,172 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:etherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
@ -0,0 +1,30 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
||||||
|
item.ItemObsidianIngot.name=Obsidian Ingot
|
||||||
|
item.ItemOrb.name=Empty Orb
|
||||||
|
item.ItemEtherOrb.name=Orb of Ether
|
||||||
|
item.ItemEtherRaw.name=Raw Ether
|
@ -0,0 +1,4 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder=Pure Gunpowder
|
@ -0,0 +1,22 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Potion of Awakening - Creeper
|
||||||
|
item.ItemAwakeningZombie.name=Potion of Awakening - Zombie
|
||||||
|
item.ItemAwakeningSkeleton.name=Potion of Awakening - Skeleton
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Potion of Awakening - Blaze
|
||||||
|
item.ItemAwakeningGhast.name=Potion of Awakening - Ghast
|
||||||
|
item.ItemAwakeningEnderman.name=Potion of Awakening - Enderman
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
@ -0,0 +1,28 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
||||||
|
item.ItemObsidianIngot.name=Obsidian Ingot
|
||||||
|
item.ItemOrb.name=Empty Orb
|
@ -0,0 +1,6 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil=Graveyard Soil
|
@ -0,0 +1,13 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockDeadSoilSkeleton extends Block {
|
||||||
|
|
||||||
|
protected BlockDeadSoilSkeleton(Material material) {
|
||||||
|
super(material);
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,134 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,206 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
public static Item itemIgnisRaw;
|
||||||
|
public static Item itemIgnisOrb;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisRaw = new ItemIgnisRaw().setUnlocalizedName("ItemIgnisRaw").setTextureName("snf:itemignisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisOrb = new ItemIgnisOrb().setUnlocalizedName("ItemIgnisOrb").setTextureName("snf:itemignisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIgnisRaw, itemIgnisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIgnisOrb, itemIgnisOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIgnisRaw, 16), "BDS", 'B', Items.blaze_rod, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockGraveyardSoil extends Block {
|
||||||
|
|
||||||
|
protected BlockGraveyardSoil(Material material) {
|
||||||
|
super(material);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,165 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion=Essence of the Spark
|
@ -0,0 +1,197 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40.0F);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,152 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,175 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:etherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:etherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst();
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
||||||
|
item.ItemObsidianIngot.name=Obsidian Ingot
|
||||||
|
item.ItemOrb.name=Empty Orb
|
||||||
|
item.ItemEtherOrb.name=Orb of Ether
|
||||||
|
item.ItemEtherRaw.name=Raw Ether
|
||||||
|
item.ItemACatalyst.name=Alchemical Catalyst
|
||||||
|
item.Gandalf99Sword.name=Sword of gandalf99 [WIP]
|
||||||
|
item.ItemIgnisRaw.name=Raw Ignis
|
||||||
|
item.ItemIgnisOrb.name=Orb of Ignis
|
@ -0,0 +1,190 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,6 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
@ -0,0 +1,176 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:etherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:etherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockDeadSoilZombie extends Block {
|
||||||
|
|
||||||
|
protected BlockDeadSoilZombie(Material material) {
|
||||||
|
super(material);
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
public class BlockDeadSoilCreeper {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,188 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Potion of Awakening - Creeper
|
||||||
|
item.ItemAwakeningZombie.name=Potion of Awakening - Zombie
|
||||||
|
item.ItemAwakeningSkeleton.name=Potion of Awakening - Skeleton
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Potion of Awakening - Blaze
|
||||||
|
item.ItemAwakeningGhast.name=Potion of Awakening - Ghast
|
||||||
|
item.ItemAwakeningEnderman.name=Potion of Awakening - Enderman
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
@ -0,0 +1,186 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,157 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard();
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora.item;
|
||||||
|
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
|
||||||
|
public class Gandalf99Sword extends Item {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
@ -0,0 +1,162 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', Items.iron_ingot, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', Items.iron_ingot, 'M', itemSoulMedium);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,155 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,173 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:etherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw();
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,25 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
@ -0,0 +1,5 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
public class ItemTearVial {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockDeadSoilBlaze extends Block {
|
||||||
|
|
||||||
|
protected BlockDeadSoilBlaze(Material material) {
|
||||||
|
super(material);
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,168 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,173 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:etherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:etherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,15 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Potion of Awakening - Creeper
|
||||||
|
item.ItemAwakeningZombie.name=Potion of Awakening - Zombie
|
||||||
|
item.ItemAwakeningSkeleton.name=Potion of Awakening - Skeleton
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Potion of Awakening - Blaze
|
||||||
|
item.ItemAwakeningGhast.name=Potion of Awakening - Ghast
|
||||||
|
item.ItemAwakeningEnderman.name=Potion of Awakening - Enderman
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
@ -0,0 +1,31 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
||||||
|
item.ItemObsidianIngot.name=Obsidian Ingot
|
||||||
|
item.ItemOrb.name=Empty Orb
|
||||||
|
item.ItemEtherOrb.name=Orb of Ether
|
||||||
|
item.ItemEtherRaw.name=Raw Ether
|
||||||
|
item.ItemACatalyst.name=Alchemical Catalyst
|
@ -0,0 +1,7 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
|
||||||
|
public class BlockGraveyardSoil extends Block {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Potion of Awakening - Creeper
|
||||||
|
item.ItemAwakeningZombie.name=Potion of Awakening - Zombie
|
||||||
|
item.ItemAwakeningSkeleton.name=Potion of Awakening - Skeleton
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Potion of Awakening - Blaze
|
||||||
|
item.ItemAwakeningGhast.name=Potion of Awakening - Ghast
|
||||||
|
item.ItemAwakeningEnderman.name=Potion of Awakening - Enderman
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
@ -0,0 +1,24 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
@ -0,0 +1,21 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Potion of Awakening - Creeper
|
||||||
|
item.ItemAwakeningZombie.name=Potion of Awakening - Zombie
|
||||||
|
item.ItemAwakeningSkeleton.name=Potion of Awakening - Skeleton
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Potion of Awakening - Blaze
|
||||||
|
item.ItemAwakeningGhast.name=Potion of Awakening - Ghast
|
||||||
|
item.ItemAwakeningEnderman.name=Potion of Awakening - Enderman
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
@ -0,0 +1,150 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,200 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
public static Item itemIgnisRaw;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisRaw = new ItemIgnisRaw();
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
@ -0,0 +1,203 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
public static Item itemIgnisRaw;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisRaw = new ItemIgnisRaw().setUnlocalizedName("ItemIgnisRaw").setTextureName("snf:itemignisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIgnisRaw, itemIgnisRaw.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIgnisRaw, 16), "BDS", 'B', Items.blaze_rod, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,153 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,154 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,144 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 1, 58), " M ", 'M', itemSoulMedium);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user