Added Spawn Egg Crafting Mechanic
This commit is contained in:
0
eclipse/.metadata/.lock
Normal file
0
eclipse/.metadata/.lock
Normal file
305
eclipse/.metadata/.log
Normal file
305
eclipse/.metadata/.log
Normal file
@@ -0,0 +1,305 @@
|
||||
!SESSION 2015-03-19 11:04:20.559 -----------------------------------------------
|
||||
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: -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 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)
|
||||
BIN
eclipse/.metadata/.mylyn/.taskListIndex/segments.gen
Normal file
BIN
eclipse/.metadata/.mylyn/.taskListIndex/segments.gen
Normal file
Binary file not shown.
BIN
eclipse/.metadata/.mylyn/.taskListIndex/segments_1
Normal file
BIN
eclipse/.metadata/.mylyn/.taskListIndex/segments_1
Normal file
Binary file not shown.
BIN
eclipse/.metadata/.mylyn/.tasks.xml.zip
Normal file
BIN
eclipse/.metadata/.mylyn/.tasks.xml.zip
Normal file
Binary file not shown.
BIN
eclipse/.metadata/.mylyn/repositories.xml.zip
Normal file
BIN
eclipse/.metadata/.mylyn/repositories.xml.zip
Normal file
Binary file not shown.
BIN
eclipse/.metadata/.mylyn/tasks.xml.zip
Normal file
BIN
eclipse/.metadata/.mylyn/tasks.xml.zip
Normal file
Binary file not shown.
@@ -0,0 +1,131 @@
|
||||
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);
|
||||
|
||||
//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,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,29 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
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;
|
||||
|
||||
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||
public class SupernaturalFlora {
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
//Items and Blocks; Furnace Recipes
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event) {
|
||||
//Recipes
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event) {
|
||||
//Creative Tab
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,129 @@
|
||||
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);
|
||||
|
||||
//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,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 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
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;
|
||||
|
||||
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||
public class SupernaturalFlora {
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
//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));
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,73 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence();
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||
|
||||
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,94 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
public static Block blockDeadSoilCreeper;
|
||||
public static Block blockDeadSoilZombie;
|
||||
public static Block blockDeadSoilSkeleton;
|
||||
public static Block blockDeadSoilBlaze;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper");
|
||||
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie");
|
||||
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton");
|
||||
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze");
|
||||
|
||||
//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));
|
||||
|
||||
//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));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
public static Block blockDeadSoilCreeper;
|
||||
public static Block blockDeadSoilZombie;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper");
|
||||
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie");
|
||||
|
||||
//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));
|
||||
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
item.ItemEndSight.name=Sight Of End
|
||||
item.ItemTearVial.name=Tear Vial
|
||||
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||
@@ -0,0 +1,96 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//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;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper");
|
||||
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie");
|
||||
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton");
|
||||
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze");
|
||||
blockDeadSoilEnderman = new BlockDeadSoilEnderman();
|
||||
//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));
|
||||
|
||||
//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));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
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);
|
||||
|
||||
//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,4 @@
|
||||
item.ItemEndSight.name=Sight Of End
|
||||
item.ItemTearVial.name=Tear Vial
|
||||
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||
item.ItemPureGunpowder=Pure Gunpowder
|
||||
@@ -0,0 +1,100 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//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");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper");
|
||||
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie");
|
||||
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton");
|
||||
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze");
|
||||
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman");
|
||||
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast");
|
||||
|
||||
//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));
|
||||
|
||||
//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
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,114 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
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;
|
||||
|
||||
|
||||
//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);
|
||||
|
||||
//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));
|
||||
|
||||
//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
|
||||
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||
}
|
||||
|
||||
@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=Graveyard Soil
|
||||
@@ -0,0 +1,125 @@
|
||||
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;
|
||||
|
||||
|
||||
//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);
|
||||
|
||||
//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));
|
||||
|
||||
//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);
|
||||
|
||||
//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,58 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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));
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,16 @@
|
||||
[
|
||||
{
|
||||
"modid": "examplemod",
|
||||
"name": "Example Mod",
|
||||
"description": "Example placeholder mod.",
|
||||
"version": "${version}",
|
||||
"mcversion": "${mcversion}",
|
||||
"url": "",
|
||||
"updateUrl": "",
|
||||
"authorList": ["ExampleDude"],
|
||||
"credits": "The Forge and FML guys, for making this example",
|
||||
"logoFile": "",
|
||||
"screenshots": [],
|
||||
"dependencies": []
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,35 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
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 {
|
||||
|
||||
public static Item itemEndSight;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
//item registry
|
||||
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,82 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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));
|
||||
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,60 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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 itemAwakeningCreeper;
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper();
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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));
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,77 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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));
|
||||
|
||||
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,130 @@
|
||||
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);
|
||||
|
||||
//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,5 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
public class SupernaturalFlora {
|
||||
|
||||
}
|
||||
@@ -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,102 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//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");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening");
|
||||
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper");
|
||||
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie");
|
||||
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton");
|
||||
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze");
|
||||
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman");
|
||||
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast");
|
||||
|
||||
//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));
|
||||
//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
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import cpw.mods.fml.common.Mod;
|
||||
|
||||
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||
public class SupernaturalFlora {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
public class BlockDeadSoilCreeper {
|
||||
|
||||
}
|
||||
@@ -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,86 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
public static Block blockDeadSoilCreeper;
|
||||
public static Block blockDeadSoilZombie;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper");
|
||||
blockDeadSoilZombie = new BlockDeadSoilZombie();
|
||||
//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));
|
||||
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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 itemAwakeningCreeper;
|
||||
public static Item itemAwakeningZombie;
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie();
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,33 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
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;
|
||||
|
||||
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||
public class SupernaturalFlora {
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
//Items and Blocks; Furnace Recipes
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event) {
|
||||
//Recipes
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event) {
|
||||
//Creative Tab
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
@Mod(modid = "snf", name = "Tutorial Mod", version = "1.1")
|
||||
public class SupernaturalFlora {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
//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));
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
//item registry
|
||||
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
public class ItemTearVial {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||
public class SupernaturalFlora {
|
||||
|
||||
public static Item itemEndSight;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight();
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
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;
|
||||
|
||||
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||
public class SupernaturalFlora {
|
||||
//Item Variables
|
||||
public static Item itemEndSight;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event) {
|
||||
//Items and Blocks; Furnace Recipes
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event) {
|
||||
//Recipes
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event) {
|
||||
//Creative Tab
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package com.example.examplemod;
|
||||
|
||||
import net.minecraft.init.Blocks;
|
||||
import cpw.mods.fml.common.Mod;
|
||||
import cpw.mods.fml.common.Mod.EventHandler;
|
||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
|
||||
@Mod(modid = ExampleMod.MODID, version = ExampleMod.VERSION)
|
||||
public class ExampleMod
|
||||
{
|
||||
public static final String MODID = "examplemod";
|
||||
public static final String VERSION = "1.0";
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event)
|
||||
{
|
||||
// some example code
|
||||
System.out.println("DIRT BLOCK >> "+Blocks.dirt.getUnlocalizedName());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,67 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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 itemAwakeningCreeper;
|
||||
public static Item itemAwakeningZombie;
|
||||
public static Item itemAwakeningSkeleton;
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZomibe").setTextureName("snf:awakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton();
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,98 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//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;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper");
|
||||
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie");
|
||||
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton");
|
||||
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze");
|
||||
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman");
|
||||
|
||||
//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));
|
||||
|
||||
//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));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,95 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
public static Block blockDeadSoilCreeper;
|
||||
public static Block blockDeadSoilZombie;
|
||||
public static Block blockDeadSoilSkeleton;
|
||||
public static Block blockDeadSoilBlaze;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper");
|
||||
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie");
|
||||
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton");
|
||||
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze");
|
||||
|
||||
//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));
|
||||
|
||||
//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));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
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 {
|
||||
|
||||
public static Item itemEndSight;
|
||||
public static Item itemTearVial;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial();
|
||||
//item registry
|
||||
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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));
|
||||
|
||||
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
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;
|
||||
|
||||
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||
public class SupernaturalFlora {
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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,47 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile();
|
||||
//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));
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -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 @@
|
||||
item.ItemEndSight.name=Sight Of End
|
||||
@@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
|
||||
public class BlockDeadSoilSkeleton extends Block {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,61 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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 itemAwakeningCreeper;
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
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
|
||||
@@ -0,0 +1,128 @@
|
||||
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);
|
||||
//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,56 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil();
|
||||
//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));
|
||||
//block registry
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
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);
|
||||
|
||||
//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,80 @@
|
||||
package gq.cestaberous.supernaturalflora;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.item.Item;
|
||||
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;
|
||||
|
||||
|
||||
//block vars
|
||||
public static Block blockGraveyardSoil;
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent event){
|
||||
//block and item registry and init; Furnace recipes
|
||||
//item init
|
||||
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight");
|
||||
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial");
|
||||
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh");
|
||||
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder");
|
||||
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile");
|
||||
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence");
|
||||
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening");
|
||||
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening");
|
||||
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening");
|
||||
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening");
|
||||
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening");
|
||||
itemAwakeningEnderman = new ItemAwakeningEnderman();
|
||||
//block init
|
||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil");
|
||||
//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));
|
||||
|
||||
//block registry
|
||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent event){
|
||||
//proxy, tile entity, entity, GUI, packet init and handling
|
||||
//recipes
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void postInit(FMLPostInitializationEvent event){
|
||||
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user