added Ignis essence, implemented OP only gandalf99Sword, one shot enderDragon
This commit is contained in:
parent
b2a919ca2d
commit
59250cbbb7
@ -28,4 +28,9 @@ item.ItemObsidianIngot.name=Obsidian Ingot
|
|||||||
item.ItemOrb.name=Empty Orb
|
item.ItemOrb.name=Empty Orb
|
||||||
item.ItemEtherOrb.name=Orb of Ether
|
item.ItemEtherOrb.name=Orb of Ether
|
||||||
item.ItemEtherRaw.name=Raw Ether
|
item.ItemEtherRaw.name=Raw Ether
|
||||||
item.ItemACatalyst.name=Alchemical Catalyst
|
item.ItemACatalyst.name=Alchemical Catalyst
|
||||||
|
item.Gandalf99Sword.name=Sword of gandalf99 [WIP]
|
||||||
|
item.ItemIgnisRaw.name=Raw Ignis
|
||||||
|
item.ItemIgnisOrb.name=Orb of Ignis
|
||||||
|
item.ItemAquisRaw.name=Raw Aquis
|
||||||
|
item.ItemAquisOrb.name=Orb of Aquis
|
BIN
bin/assets/snf/textures/items/gandalf99sword.png
Normal file
BIN
bin/assets/snf/textures/items/gandalf99sword.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 280 B |
Binary file not shown.
Before Width: | Height: | Size: 297 B |
BIN
bin/assets/snf/textures/items/itemignisorb.png
Normal file
BIN
bin/assets/snf/textures/items/itemignisorb.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 408 B |
BIN
bin/assets/snf/textures/items/itemignisraw.png
Normal file
BIN
bin/assets/snf/textures/items/itemignisraw.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 352 B |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/gq/cestaberous/supernaturalflora/ItemIgnisOrb.class
Normal file
BIN
bin/gq/cestaberous/supernaturalflora/ItemIgnisOrb.class
Normal file
Binary file not shown.
BIN
bin/gq/cestaberous/supernaturalflora/ItemIgnisRaw.class
Normal file
BIN
bin/gq/cestaberous/supernaturalflora/ItemIgnisRaw.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
bin/gq/cestaberous/supernaturalflora/item/Gandalf99Sword.class
Normal file
BIN
bin/gq/cestaberous/supernaturalflora/item/Gandalf99Sword.class
Normal file
Binary file not shown.
@ -460,3 +460,63 @@ org.eclipse.recommenders.utils.Logs$LogTraceException
|
|||||||
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
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.run(Main.java:1465)
|
||||||
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
!SESSION 2015-03-20 22:38:30.442 -----------------------------------------------
|
||||||
|
eclipse.buildId=4.4.2.M20150204-1700
|
||||||
|
java.version=1.8.0_31
|
||||||
|
java.vendor=Oracle Corporation
|
||||||
|
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
|
||||||
|
Framework arguments: -product org.eclipse.epp.package.java.product
|
||||||
|
Command-line arguments: -data /home/krios/Desktop/projects/supernaturalflora/eclipse -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.java.product
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.core.resources 2 10035 2015-03-20 22:38:46.622
|
||||||
|
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
|
||||||
|
|
||||||
|
!ENTRY org.eclipse.recommenders.calls.rcp 2 1 2015-03-20 22:51:56.561
|
||||||
|
!MESSAGE Cannot obtain JDT’s lookup environment (debug only).
|
||||||
|
!STACK 0
|
||||||
|
org.eclipse.recommenders.utils.Logs$LogTraceException
|
||||||
|
at org.eclipse.recommenders.utils.Logs$LogTraceException.newTrace(Logs.java:377)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:130)
|
||||||
|
at org.eclipse.recommenders.utils.Logs.log(Logs.java:122)
|
||||||
|
at org.eclipse.recommenders.internal.calls.rcp.CallCompletionSessionProcessor.startSession(CallCompletionSessionProcessor.java:102)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.fireStartSession(IntelligentCompletionProposalComputer.java:229)
|
||||||
|
at org.eclipse.recommenders.completion.rcp.processable.IntelligentCompletionProposalComputer.computeCompletionProposals(IntelligentCompletionProposalComputer.java:131)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalComputerDescriptor.computeCompletionProposals(CompletionProposalComputerDescriptor.java:333)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.CompletionProposalCategory.computeCompletionProposals(CompletionProposalCategory.java:337)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.collectProposals(ContentAssistProcessor.java:325)
|
||||||
|
at org.eclipse.jdt.internal.ui.text.java.ContentAssistProcessor.computeCompletionProposals(ContentAssistProcessor.java:282)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$5.run(ContentAssistant.java:1904)
|
||||||
|
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1902)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:573)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:570)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:505)
|
||||||
|
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
|
||||||
|
at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:499)
|
||||||
|
at org.eclipse.jface.text.contentassist.ContentAssistant$2.run(ContentAssistant.java:384)
|
||||||
|
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
|
||||||
|
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
|
||||||
|
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3774)
|
||||||
|
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3412)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
|
||||||
|
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
|
||||||
|
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
|
||||||
|
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
|
||||||
|
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
|
||||||
|
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
|
||||||
|
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
|
||||||
|
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
|
||||||
|
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
|
||||||
|
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:483)
|
||||||
|
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
|
||||||
|
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
|
||||||
|
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
|
||||||
|
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,6 @@
|
|||||||
package gq.cestaberous.supernaturalflora;
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.creativetab.CreativeTabs;
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
@ -32,6 +33,18 @@ public class SupernaturalFlora {
|
|||||||
public static Item itemAwakeningEnderman;
|
public static Item itemAwakeningEnderman;
|
||||||
public static Item itemSiftingNet;
|
public static Item itemSiftingNet;
|
||||||
public static Item itemSoulMedium;
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
|
||||||
|
|
||||||
//block vars
|
//block vars
|
||||||
@ -43,6 +56,8 @@ public class SupernaturalFlora {
|
|||||||
public static Block blockDeadSoilEnderman;
|
public static Block blockDeadSoilEnderman;
|
||||||
public static Block blockDeadSoilGhast;
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void preInit(FMLPreInitializationEvent event){
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
//block and item registry and init; Furnace recipes
|
//block and item registry and init; Furnace recipes
|
||||||
@ -61,7 +76,18 @@ public class SupernaturalFlora {
|
|||||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").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);
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
//block init
|
//block init
|
||||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
@ -86,7 +112,17 @@ public class SupernaturalFlora {
|
|||||||
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
//block registry
|
//block registry
|
||||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
@ -110,8 +146,38 @@ public class SupernaturalFlora {
|
|||||||
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
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(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(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
//blocks
|
//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);
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
}
|
}
|
@ -1,128 +0,0 @@
|
|||||||
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();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,114 +0,0 @@
|
|||||||
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();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,125 +0,0 @@
|
|||||||
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,13 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockDeadSoilSkeleton extends Block {
|
||||||
|
|
||||||
|
protected BlockDeadSoilSkeleton(Material material) {
|
||||||
|
super(material);
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,206 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
public static Item itemIgnisRaw;
|
||||||
|
public static Item itemIgnisOrb;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisRaw = new ItemIgnisRaw().setUnlocalizedName("ItemIgnisRaw").setTextureName("snf:itemignisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisOrb = new ItemIgnisOrb().setUnlocalizedName("ItemIgnisOrb").setTextureName("snf:itemignisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIgnisRaw, itemIgnisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIgnisOrb, itemIgnisOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIgnisRaw, 16), "BDS", 'B', Items.blaze_rod, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,12 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockGraveyardSoil extends Block {
|
||||||
|
|
||||||
|
protected BlockGraveyardSoil(Material material) {
|
||||||
|
super(material);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,5 +1,6 @@
|
|||||||
package gq.cestaberous.supernaturalflora;
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.creativetab.CreativeTabs;
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
@ -7,6 +8,7 @@ import net.minecraft.init.Blocks;
|
|||||||
import net.minecraft.init.Items;
|
import net.minecraft.init.Items;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
import cpw.mods.fml.common.Mod;
|
import cpw.mods.fml.common.Mod;
|
||||||
import cpw.mods.fml.common.Mod.EventHandler;
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
@ -32,6 +34,18 @@ public class SupernaturalFlora {
|
|||||||
public static Item itemAwakeningEnderman;
|
public static Item itemAwakeningEnderman;
|
||||||
public static Item itemSiftingNet;
|
public static Item itemSiftingNet;
|
||||||
public static Item itemSoulMedium;
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
|
||||||
|
|
||||||
//block vars
|
//block vars
|
||||||
@ -43,6 +57,8 @@ public class SupernaturalFlora {
|
|||||||
public static Block blockDeadSoilEnderman;
|
public static Block blockDeadSoilEnderman;
|
||||||
public static Block blockDeadSoilGhast;
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40.0F);
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void preInit(FMLPreInitializationEvent event){
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
//block and item registry and init; Furnace recipes
|
//block and item registry and init; Furnace recipes
|
||||||
@ -61,7 +77,18 @@ public class SupernaturalFlora {
|
|||||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").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);
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
//block init
|
//block init
|
||||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
@ -86,7 +113,17 @@ public class SupernaturalFlora {
|
|||||||
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
//block registry
|
//block registry
|
||||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
@ -109,8 +146,39 @@ public class SupernaturalFlora {
|
|||||||
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
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(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(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
//blocks
|
//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);
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
}
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
||||||
|
item.ItemObsidianIngot.name=Obsidian Ingot
|
||||||
|
item.ItemOrb.name=Empty Orb
|
||||||
|
item.ItemEtherOrb.name=Orb of Ether
|
||||||
|
item.ItemEtherRaw.name=Raw Ether
|
||||||
|
item.ItemACatalyst.name=Alchemical Catalyst
|
||||||
|
item.Gandalf99Sword.name=Sword of gandalf99 [WIP]
|
||||||
|
item.ItemIgnisRaw.name=Raw Ignis
|
||||||
|
item.ItemIgnisOrb.name=Orb of Ignis
|
@ -0,0 +1,13 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockDeadSoilZombie extends Block {
|
||||||
|
|
||||||
|
protected BlockDeadSoilZombie(Material material) {
|
||||||
|
super(material);
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora.item;
|
||||||
|
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
|
||||||
|
public class Gandalf99Sword extends Item {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockDeadSoilBlaze extends Block {
|
||||||
|
|
||||||
|
protected BlockDeadSoilBlaze(Material material) {
|
||||||
|
super(material);
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,31 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
||||||
|
item.ItemObsidianIngot.name=Obsidian Ingot
|
||||||
|
item.ItemOrb.name=Empty Orb
|
||||||
|
item.ItemEtherOrb.name=Orb of Ether
|
||||||
|
item.ItemEtherRaw.name=Raw Ether
|
||||||
|
item.ItemACatalyst.name=Alchemical Catalyst
|
@ -0,0 +1,200 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
public static Item itemIgnisRaw;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisRaw = new ItemIgnisRaw();
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,203 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
public static Item itemIgnisRaw;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisRaw = new ItemIgnisRaw().setUnlocalizedName("ItemIgnisRaw").setTextureName("snf:itemignisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIgnisRaw, itemIgnisRaw.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIgnisRaw, 16), "BDS", 'B', Items.blaze_rod, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,198 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40.0F);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,34 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
||||||
|
item.ItemObsidianIngot.name=Obsidian Ingot
|
||||||
|
item.ItemOrb.name=Empty Orb
|
||||||
|
item.ItemEtherOrb.name=Orb of Ether
|
||||||
|
item.ItemEtherRaw.name=Raw Ether
|
||||||
|
item.ItemACatalyst.name=Alchemical Catalyst
|
||||||
|
item.Gandalf99Sword.name=Sword of gandalf99 [WIP]
|
||||||
|
item.ItemIgnisRaw.name=Raw Ignis
|
||||||
|
item.ItemIgnisOrb.name-Orb of Ignis
|
@ -1,127 +0,0 @@
|
|||||||
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,13 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockDeadSoilEnderman extends Block {
|
||||||
|
|
||||||
|
protected BlockDeadSoilEnderman(Material material) {
|
||||||
|
super(material);
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,32 @@
|
|||||||
|
item.ItemEndSight.name=Sight Of End
|
||||||
|
item.ItemTearVial.name=Tear Vial
|
||||||
|
item.ItemCondensedFlesh.name=Condensed Flesh
|
||||||
|
item.ItemPureGunpowder.name=Pure Gunpowder
|
||||||
|
item.ItemBonePile.name=Bone Pile
|
||||||
|
tile.BlockGraveyardSoil.name=Graveyard Soil
|
||||||
|
item.ItemAwakeningCreeper.name=Serum of Volatility
|
||||||
|
item.ItemAwakeningZombie.name=Serum of the Undead
|
||||||
|
item.ItemAwakeningSkeleton.name=Serum of the Projectile
|
||||||
|
item.ItemFireEssence.name=Essence of Fire
|
||||||
|
item.ItemAwakeningBlaze.name=Serum of the Flame
|
||||||
|
item.ItemAwakeningGhast.name=Serum of Eternal Tears
|
||||||
|
item.ItemAwakeningEnderman.name=Serum of Dimensionality
|
||||||
|
tile.BlockDeadSoilCreeper.name=Soil of the Dead - Creeper
|
||||||
|
tile.BlockDeadSoilZombie.name=Soil of the Dead - Zombie
|
||||||
|
tile.BlockDeadSoilSkeleton.name=Soil of the Dead - Skeleton
|
||||||
|
tile.BlockDeadSoilBlaze.name=Soil of the Dead - Blaze
|
||||||
|
tile.BlockDeadSoilEnderman.name=Soil of the Dead - Enderman
|
||||||
|
tile.BlockDeadSoilGhast.name=Soil of the Dead - Ghast
|
||||||
|
item.ItemSiftingNet.name=Sifting Net
|
||||||
|
itemGroup.tabSupernaturalFlora=Supernatural Flora
|
||||||
|
item.ItemSoulMedium.name=Soul Medium
|
||||||
|
item.ItemLifePotion.name=Essence of the Spark
|
||||||
|
item.ItemGandalf99.name=gandalf99 [WIP]
|
||||||
|
item.ItemEtherealDivisor.name=Ethereal Divisor
|
||||||
|
item.ItemIronShard.name=Iron Shard
|
||||||
|
item.ItemObsidianIngot.name=Obsidian Ingot
|
||||||
|
item.ItemOrb.name=Empty Orb
|
||||||
|
item.ItemEtherOrb.name=Orb of Ether
|
||||||
|
item.ItemEtherRaw.name=Raw Ether
|
||||||
|
item.ItemACatalyst.name=Alchemical Catalyst
|
||||||
|
item.Gandalf99Sword.name=Sword of gandalf99 [WIP]
|
@ -1,112 +0,0 @@
|
|||||||
package gq.cestaberous.supernaturalflora;
|
|
||||||
|
|
||||||
import net.minecraft.block.Block;
|
|
||||||
import net.minecraft.block.material.Material;
|
|
||||||
import net.minecraft.creativetab.CreativeTabs;
|
|
||||||
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
|
|
||||||
}
|
|
||||||
|
|
||||||
@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,202 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
public static Item itemIgnisRaw;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisRaw = new ItemIgnisRaw().setUnlocalizedName("ItemIgnisRaw").setTextureName("snf:itemignisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIgnisRaw, itemIgnisRaw.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockDeadSoilCreeper extends Block {
|
||||||
|
|
||||||
|
protected BlockDeadSoilCreeper(Material material) {
|
||||||
|
super(material);
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,204 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
|
import net.minecraft.init.Blocks;
|
||||||
|
import net.minecraft.init.Items;
|
||||||
|
import net.minecraft.item.Item;
|
||||||
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
|
import cpw.mods.fml.common.Mod;
|
||||||
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPostInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||||
|
import cpw.mods.fml.common.registry.GameRegistry;
|
||||||
|
|
||||||
|
@Mod(modid = "snf", name = "Supernatural Flora", version = "1.0")
|
||||||
|
public class SupernaturalFlora {
|
||||||
|
|
||||||
|
//item vars
|
||||||
|
public static Item itemEndSight;
|
||||||
|
public static Item itemTearVial;
|
||||||
|
public static Item itemCondensedFlesh;
|
||||||
|
public static Item itemPureGunpowder;
|
||||||
|
public static Item itemBonePile;
|
||||||
|
public static Item itemFireEssence;
|
||||||
|
public static Item itemAwakeningCreeper;
|
||||||
|
public static Item itemAwakeningZombie;
|
||||||
|
public static Item itemAwakeningSkeleton;
|
||||||
|
public static Item itemAwakeningBlaze;
|
||||||
|
public static Item itemAwakeningGhast;
|
||||||
|
public static Item itemAwakeningEnderman;
|
||||||
|
public static Item itemSiftingNet;
|
||||||
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
public static Item itemIgnisRaw;
|
||||||
|
public static Item itemIgnisOrb;
|
||||||
|
|
||||||
|
|
||||||
|
//block vars
|
||||||
|
public static Block blockGraveyardSoil;
|
||||||
|
public static Block blockDeadSoilCreeper;
|
||||||
|
public static Block blockDeadSoilZombie;
|
||||||
|
public static Block blockDeadSoilSkeleton;
|
||||||
|
public static Block blockDeadSoilBlaze;
|
||||||
|
public static Block blockDeadSoilEnderman;
|
||||||
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40);
|
||||||
|
@EventHandler
|
||||||
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
|
//block and item registry and init; Furnace recipes
|
||||||
|
//item init
|
||||||
|
itemEndSight = new ItemEndSight().setUnlocalizedName("ItemEndSight").setTextureName("snf:itemendsight").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTearVial = new ItemTearVial().setUnlocalizedName("ItemTearVial").setTextureName("snf:itemtearvial").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemCondensedFlesh = new ItemCondensedFlesh().setUnlocalizedName("ItemCondensedFlesh").setTextureName("snf:itemcondensedflesh").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemPureGunpowder = new ItemPureGunpowder().setUnlocalizedName("ItemPureGunpowder").setTextureName("snf:itempuregunpowder").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemBonePile = new ItemBonePile().setUnlocalizedName("ItemBonePile").setTextureName("snf:itembonepile").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemFireEssence = new ItemFireEssence().setUnlocalizedName("ItemFireEssence").setTextureName("snf:itemfireessence").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningCreeper = new ItemAwakeningCreeper().setUnlocalizedName("ItemAwakeningCreeper").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningZombie = new ItemAwakeningZombie().setUnlocalizedName("ItemAwakeningZombie").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningSkeleton = new ItemAwakeningSkeleton().setUnlocalizedName("ItemAwakeningSkeleton").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningBlaze = new ItemAwakeningBlaze().setUnlocalizedName("ItemAwakeningBlaze").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningGhast = new ItemAwakeningGhast().setUnlocalizedName("ItemAwakeningGhast").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").setTextureName("snf:itemawakening").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisRaw = new ItemIgnisRaw().setUnlocalizedName("ItemIgnisRaw").setTextureName("snf:itemignisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIgnisOrb = new ItemIgnisOrb();
|
||||||
|
//block init
|
||||||
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilZombie = new BlockDeadSoilZombie(Material.grass).setBlockName("BlockDeadSoilZombie").setBlockTextureName("snf:blockdeadsoilzombie").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilSkeleton = new BlockDeadSoilSkeleton(Material.grass).setBlockName("BlockDeadSoilSkeleton").setBlockTextureName("snf:blockdeadsoilskeleton").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilBlaze = new BlockDeadSoilBlaze(Material.grass).setBlockName("BlockDeadSoilBlaze").setBlockTextureName("snf:blockdeadsoilblaze").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilEnderman = new BlockDeadSoilEnderman(Material.grass).setBlockName("BlockDeadSoilEnderman").setBlockTextureName("snf:blockdeadsoilenderman").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
blockDeadSoilGhast = new BlockDeadSoilGhast(Material.grass).setBlockName("BlockDeadSoilGhast").setBlockTextureName("snf:blockdeadsoilghast").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
|
||||||
|
//item registry
|
||||||
|
GameRegistry.registerItem(itemEndSight, itemEndSight.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemTearVial, itemTearVial.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemCondensedFlesh, itemCondensedFlesh.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemPureGunpowder, itemPureGunpowder.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemBonePile, itemBonePile.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemFireEssence, itemFireEssence.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningCreeper, itemAwakeningCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningZombie, itemAwakeningZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningSkeleton, itemAwakeningSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningBlaze, itemAwakeningBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningGhast, itemAwakeningGhast.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIgnisRaw, itemIgnisRaw.getUnlocalizedName().substring(5));
|
||||||
|
//block registry
|
||||||
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilZombie, blockDeadSoilZombie.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilSkeleton, blockDeadSoilSkeleton.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilBlaze, blockDeadSoilBlaze.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilEnderman, blockDeadSoilEnderman.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerBlock(blockDeadSoilGhast, blockDeadSoilGhast.getUnlocalizedName().substring(5));
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void init(FMLInitializationEvent event){
|
||||||
|
//proxy, tile entity, entity, GUI, packet init and handling
|
||||||
|
//recipes
|
||||||
|
//items
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemFireEssence, 9), "PRP","RPR","PRP", 'P', Items.blaze_powder, 'R', Items.blaze_rod);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEndSight, 6), "GGG","GEG","EGE", 'G', Blocks.glass, 'E', Items.ender_eye);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemTearVial, 9), "TTT", "TBT", "BWB", 'T', Items.ghast_tear, 'B', Items.glass_bottle, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemCondensedFlesh, 8), "FFF", "FIF", "FFF", 'F', Items.rotten_flesh, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemBonePile, 9), "BBB", "BDB", "BBB", 'B', Items.bone, 'D', Blocks.dirt);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIgnisRaw, 16), "BDS", 'B', Items.blaze_rod, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
//blocks
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilEnderman, 5), "EGS", " M ", " ", 'E', itemEndSight, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilGhast, 5), "EGS", " M ", " ", 'E', itemTearVial, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilZombie, 5), "EGS", " M ", " ", 'E', itemCondensedFlesh, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilCreeper, 5), "EGS", " M ", " ", 'E', itemPureGunpowder, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilSkeleton, 5), "EGS", " M ", " ", 'E', itemBonePile, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockDeadSoilBlaze, 5), "EGS", " M ", " ", 'E', itemFireEssence, 'G', blockGraveyardSoil, 'S', itemLifePotion, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@EventHandler
|
||||||
|
public void postInit(FMLPostInitializationEvent event){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public static CreativeTabs tabSupernaturalFlora = new CreativeTabs("tabSupernaturalFlora"){
|
||||||
|
@Override
|
||||||
|
public Item getTabIconItem(){
|
||||||
|
return new ItemStack(itemEndSight).getItem();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import net.minecraft.block.Block;
|
||||||
|
import net.minecraft.block.material.Material;
|
||||||
|
|
||||||
|
public class BlockDeadSoilGhast extends Block {
|
||||||
|
|
||||||
|
protected BlockDeadSoilGhast(Material material) {
|
||||||
|
super(material);
|
||||||
|
// TODO Auto-generated constructor stub
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -1,5 +1,6 @@
|
|||||||
package gq.cestaberous.supernaturalflora;
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.creativetab.CreativeTabs;
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
@ -32,6 +33,18 @@ public class SupernaturalFlora {
|
|||||||
public static Item itemAwakeningEnderman;
|
public static Item itemAwakeningEnderman;
|
||||||
public static Item itemSiftingNet;
|
public static Item itemSiftingNet;
|
||||||
public static Item itemSoulMedium;
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemgandalf99;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
|
||||||
|
|
||||||
//block vars
|
//block vars
|
||||||
@ -61,7 +74,18 @@ public class SupernaturalFlora {
|
|||||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").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);
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemgandalf99 = new ItemGandalf99().setUnlocalizedName("ItemGandalf99").setTextureName("snf:itemgandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
//block init
|
//block init
|
||||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
@ -86,7 +110,17 @@ public class SupernaturalFlora {
|
|||||||
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemgandalf99, itemgandalf99.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
//block registry
|
//block registry
|
||||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
@ -111,8 +145,37 @@ public class SupernaturalFlora {
|
|||||||
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(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(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(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
//blocks
|
//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);
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
}
|
}
|
@ -1,126 +0,0 @@
|
|||||||
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();
|
|
||||||
//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();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
@ -1,5 +1,7 @@
|
|||||||
package gq.cestaberous.supernaturalflora;
|
package gq.cestaberous.supernaturalflora;
|
||||||
|
|
||||||
|
import gq.cestaberous.supernaturalflora.item.Gandalf99Sword;
|
||||||
|
import gq.cestaberous.supernaturalflora.test.ItemTest;
|
||||||
import net.minecraft.block.Block;
|
import net.minecraft.block.Block;
|
||||||
import net.minecraft.block.material.Material;
|
import net.minecraft.block.material.Material;
|
||||||
import net.minecraft.creativetab.CreativeTabs;
|
import net.minecraft.creativetab.CreativeTabs;
|
||||||
@ -7,6 +9,7 @@ import net.minecraft.init.Blocks;
|
|||||||
import net.minecraft.init.Items;
|
import net.minecraft.init.Items;
|
||||||
import net.minecraft.item.Item;
|
import net.minecraft.item.Item;
|
||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
|
import net.minecraftforge.common.util.EnumHelper;
|
||||||
import cpw.mods.fml.common.Mod;
|
import cpw.mods.fml.common.Mod;
|
||||||
import cpw.mods.fml.common.Mod.EventHandler;
|
import cpw.mods.fml.common.Mod.EventHandler;
|
||||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||||
@ -32,6 +35,18 @@ public class SupernaturalFlora {
|
|||||||
public static Item itemAwakeningEnderman;
|
public static Item itemAwakeningEnderman;
|
||||||
public static Item itemSiftingNet;
|
public static Item itemSiftingNet;
|
||||||
public static Item itemSoulMedium;
|
public static Item itemSoulMedium;
|
||||||
|
public static Item itemLifePotion;
|
||||||
|
public static Item itemEtherealDivisor;
|
||||||
|
public static Item itemIronShard;
|
||||||
|
public static Item itemObsidianIngot;
|
||||||
|
public static Item itemEtherOrb;
|
||||||
|
public static Item itemOrb;
|
||||||
|
public static Item itemEtherRaw;
|
||||||
|
public static Item itemACatalyst;
|
||||||
|
public static Item itemTest;
|
||||||
|
public static Item itemAquisRaw;
|
||||||
|
public static Item itemAquisOrb;
|
||||||
|
public static Item gandalf99Sword;
|
||||||
|
|
||||||
|
|
||||||
//block vars
|
//block vars
|
||||||
@ -43,6 +58,8 @@ public class SupernaturalFlora {
|
|||||||
public static Block blockDeadSoilEnderman;
|
public static Block blockDeadSoilEnderman;
|
||||||
public static Block blockDeadSoilGhast;
|
public static Block blockDeadSoilGhast;
|
||||||
|
|
||||||
|
//toolmat
|
||||||
|
public static final Item.ToolMaterial gandalf99Tool = EnumHelper.addToolMaterial("gandalf99Tool", 20, 500000, 100.0F, 18500000.0F, 40);
|
||||||
@EventHandler
|
@EventHandler
|
||||||
public void preInit(FMLPreInitializationEvent event){
|
public void preInit(FMLPreInitializationEvent event){
|
||||||
//block and item registry and init; Furnace recipes
|
//block and item registry and init; Furnace recipes
|
||||||
@ -61,7 +78,18 @@ public class SupernaturalFlora {
|
|||||||
itemAwakeningEnderman = new ItemAwakeningEnderman().setUnlocalizedName("ItemAwakeningEnderman").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);
|
itemSiftingNet = new ItemSiftingNet().setUnlocalizedName("ItemSiftingNet").setTextureName("snf:itemsiftingnet").setCreativeTab(tabSupernaturalFlora);
|
||||||
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
itemSoulMedium = new ItemSoulMedium().setUnlocalizedName("ItemSoulMedium").setTextureName("snf:itemsoulmedium").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemLifePotion = new ItemLifePotion().setUnlocalizedName("ItemLifePotion").setTextureName("snf:itemlifepotion").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
gandalf99Sword = new Gandalf99Sword(gandalf99Tool).setUnlocalizedName("Gandalf99Sword").setTextureName("snf:gandalf99sword").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherealDivisor = new ItemEtherealDivisor().setUnlocalizedName("ItemEtherealDivisor").setTextureName("snf:itemetherealdivisor").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemIronShard = new ItemIronShard().setUnlocalizedName("ItemIronShard").setTextureName("snf:itemironshard").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemObsidianIngot = new ItemObsidianIngot().setUnlocalizedName("ItemObsidianIngot").setTextureName("snf:itemobsidianingot").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemOrb = new ItemOrb().setUnlocalizedName("ItemOrb").setTextureName("snf:itemorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherOrb = new ItemEtherOrb().setUnlocalizedName("ItemEtherOrb").setTextureName("snf:itemetherorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemEtherRaw = new ItemEtherRaw().setUnlocalizedName("ItemEtherRaw").setTextureName("snf:itemetherraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemACatalyst = new ItemACatalyst().setUnlocalizedName("ItemACatalyst").setTextureName("snf:itemacatalyst").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemTest = new ItemTest().setUnlocalizedName("ItemTest").setTextureName("snf:gandalf99").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisRaw = new ItemAquisRaw().setUnlocalizedName("ItemAquisRaw").setTextureName("snf:itemaquisraw").setCreativeTab(tabSupernaturalFlora);
|
||||||
|
itemAquisOrb = new ItemAquisOrb().setUnlocalizedName("ItemAquisOrb").setTextureName("snf:itemaquisorb").setCreativeTab(tabSupernaturalFlora);
|
||||||
//block init
|
//block init
|
||||||
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
blockGraveyardSoil = new BlockGraveyardSoil(Material.grass).setBlockName("BlockGraveyardSoil").setBlockTextureName("snf:blockgraveyardsoil").setCreativeTab(tabSupernaturalFlora);
|
||||||
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
blockDeadSoilCreeper = new BlockDeadSoilCreeper(Material.grass).setBlockName("BlockDeadSoilCreeper").setBlockTextureName("snf:blockdeadsoilcreeper").setCreativeTab(tabSupernaturalFlora);
|
||||||
@ -86,7 +114,17 @@ public class SupernaturalFlora {
|
|||||||
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemAwakeningEnderman, itemAwakeningEnderman.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemSiftingNet, itemSiftingNet.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
GameRegistry.registerItem(itemSoulMedium, itemSoulMedium.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemLifePotion, itemLifePotion.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(gandalf99Sword, gandalf99Sword.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherealDivisor, itemEtherealDivisor.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemIronShard, itemIronShard.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemObsidianIngot, itemObsidianIngot.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemOrb, itemOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherRaw, itemEtherRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemACatalyst, itemACatalyst.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemEtherOrb, itemEtherOrb.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisRaw, itemAquisRaw.getUnlocalizedName().substring(5));
|
||||||
|
GameRegistry.registerItem(itemAquisOrb, itemAquisOrb.getUnlocalizedName().substring(5));
|
||||||
//block registry
|
//block registry
|
||||||
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
GameRegistry.registerBlock(blockGraveyardSoil, blockGraveyardSoil.getUnlocalizedName().substring(5));
|
||||||
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
GameRegistry.registerBlock(blockDeadSoilCreeper, blockDeadSoilCreeper.getUnlocalizedName().substring(5));
|
||||||
@ -109,7 +147,39 @@ public class SupernaturalFlora {
|
|||||||
GameRegistry.addRecipe(new ItemStack(itemPureGunpowder, 4), "GG ", "GG ", "W ", 'G', Items.gunpowder, 'W', Items.water_bucket);
|
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(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(itemSoulMedium, 9), "E ", "B ", "G ", 'E', Items.ender_pearl, 'B', Items.blaze_powder, 'G', Items.ghast_tear);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningEnderman, 3), "EPE", " M ", " ", 'E', itemEndSight, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningGhast, 3), "GPG", " M ", " ", 'G', itemTearVial, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningZombie, 3), "FPF", " M ", " ", 'F', itemCondensedFlesh, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningCreeper, 3), "GPG", " M ", " ", 'G', itemPureGunpowder, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningSkeleton, 3), "BPB", " M ", " ", 'B', itemBonePile, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAwakeningBlaze, 3), "FPF", " M ", " ", 'F', itemFireEssence, 'P', Items.potionitem, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemLifePotion, 3), "EPS", " ", " ", 'E', Items.egg, 'P', Items.potionitem, 'S', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 58), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilEnderman);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 56), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilGhast);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 54), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilZombie);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 50), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilCreeper);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 51), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilSkeleton);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Items.spawn_egg, 3, 61), "GMG", " M ", " S ", 'S', itemSiftingNet, 'M', itemSoulMedium, 'G', blockDeadSoilBlaze);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemSiftingNet, 6), "SSS", "SSS", 'S', Items.string);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemIronShard, 9), "I", "D", 'D', itemEtherealDivisor, 'I', Items.iron_ingot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "IM", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherealDivisor, 2), "I", "M", 'I', itemIronShard, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "D", "O", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemObsidianIngot, 9), "DO", 'D', itemEtherealDivisor, 'O', Blocks.obsidian);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(Blocks.obsidian, 1), "III", "III", "III", 'I', itemObsidianIngot);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemOrb, 16), "EDM", 'E', Items.ender_pearl, 'D', Items.diamond, 'M', itemSoulMedium);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherRaw, 16), "LDS", 'L', Blocks.lapis_block, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemACatalyst, 8), "DDM", " S ", 'D', Items.diamond, 'M', itemSoulMedium, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemEtherOrb, 6), "OEE", " C ", 'O', itemOrb, 'E', itemEtherRaw, 'C', itemACatalyst);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisRaw, 16), "WDS", 'W', Items.water_bucket, 'D', Items.diamond, 'S', itemEtherealDivisor);
|
||||||
|
GameRegistry.addRecipe(new ItemStack(itemAquisOrb, 6), "OAA", " C ", 'O', itemOrb, 'A', itemAquisRaw, 'C', itemACatalyst);
|
||||||
//blocks
|
//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);
|
GameRegistry.addRecipe(new ItemStack(blockGraveyardSoil, 9), "DDD","SBS","BDB", 'D', Blocks.dirt, 'S', Blocks.stone, 'B', Items.bone);
|
||||||
|
|
||||||
}
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
@ -9,17 +9,17 @@ INDEX VERSION 1.127+/home/krios/Desktop/projects/supernaturalflora/eclipse/.meta
|
|||||||
3745517402.index
|
3745517402.index
|
||||||
1775415917.index
|
1775415917.index
|
||||||
2467266397.index
|
2467266397.index
|
||||||
|
208370467.index
|
||||||
3554707798.index
|
3554707798.index
|
||||||
71623226.index
|
71623226.index
|
||||||
208370467.index
|
|
||||||
3661825026.index
|
3661825026.index
|
||||||
3262707793.index
|
3262707793.index
|
||||||
4220674402.index
|
4220674402.index
|
||||||
766025020.index
|
766025020.index
|
||||||
1899753920.index
|
1899753920.index
|
||||||
2267875876.index
|
|
||||||
2632658620.index
|
|
||||||
865339224.index
|
865339224.index
|
||||||
|
2632658620.index
|
||||||
|
2267875876.index
|
||||||
2244090326.index
|
2244090326.index
|
||||||
2255390674.index
|
2255390674.index
|
||||||
1518178317.index
|
1518178317.index
|
||||||
@ -27,8 +27,8 @@ INDEX VERSION 1.127+/home/krios/Desktop/projects/supernaturalflora/eclipse/.meta
|
|||||||
2390675225.index
|
2390675225.index
|
||||||
595688795.index
|
595688795.index
|
||||||
836196333.index
|
836196333.index
|
||||||
1059944036.index
|
|
||||||
556511541.index
|
556511541.index
|
||||||
|
1059944036.index
|
||||||
3125266268.index
|
3125266268.index
|
||||||
4288915528.index
|
4288915528.index
|
||||||
3162587372.index
|
3162587372.index
|
||||||
|
@ -14,4 +14,6 @@
|
|||||||
<fullyQualifiedTypeName name="net.minecraft.init.Items"/>
|
<fullyQualifiedTypeName name="net.minecraft.init.Items"/>
|
||||||
<fullyQualifiedTypeName name="cpw.mods.fml.common.registry.GameRegistry"/>
|
<fullyQualifiedTypeName name="cpw.mods.fml.common.registry.GameRegistry"/>
|
||||||
<fullyQualifiedTypeName name="net.minecraft.item.Item.ToolMaterial"/>
|
<fullyQualifiedTypeName name="net.minecraft.item.Item.ToolMaterial"/>
|
||||||
|
<fullyQualifiedTypeName name="net.minecraftforge.common.util.EnumHelper"/>
|
||||||
|
<fullyQualifiedTypeName name="net.minecraft.item.ItemSword"/>
|
||||||
</qualifiedTypeNameHistroy>
|
</qualifiedTypeNameHistroy>
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#Thu Mar 19 17:49:37 EDT 2015
|
#Fri Mar 20 22:38:45 EDT 2015
|
||||||
org.eclipse.core.runtime=2
|
org.eclipse.core.runtime=2
|
||||||
org.eclipse.platform=4.4.2.v20150204-1700
|
org.eclipse.platform=4.4.2.v20150204-1700
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
#NOTE: This is an Aether internal implementation file, its format can be changed without prior notice.
|
#NOTE: This is an Aether internal implementation file, its format can be changed without prior notice.
|
||||||
#Thu Mar 19 20:53:46 EDT 2015
|
#Fri Mar 20 23:27:34 EDT 2015
|
||||||
maven-metadata-models.xml.lastUpdated=1426812826721
|
maven-metadata-models.xml.lastUpdated=1426908454654
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#NOTE: This is an Aether internal implementation file, its format can be changed without prior notice.
|
#NOTE: This is an Aether internal implementation file, its format can be changed without prior notice.
|
||||||
#Thu Mar 19 17:58:15 EDT 2015
|
#Fri Mar 20 22:41:39 EDT 2015
|
||||||
maven-metadata-models.xml.lastUpdated=1426802295107
|
maven-metadata-models.xml.lastUpdated=1426905699617
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
eclipse/logs/2015-03-20-1.log.gz
Normal file
BIN
eclipse/logs/2015-03-20-1.log.gz
Normal file
Binary file not shown.
BIN
eclipse/logs/2015-03-20-2.log.gz
Normal file
BIN
eclipse/logs/2015-03-20-2.log.gz
Normal file
Binary file not shown.
BIN
eclipse/logs/2015-03-20-3.log.gz
Normal file
BIN
eclipse/logs/2015-03-20-3.log.gz
Normal file
Binary file not shown.
BIN
eclipse/logs/2015-03-20-4.log.gz
Normal file
BIN
eclipse/logs/2015-03-20-4.log.gz
Normal file
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -232,3 +232,45 @@
|
|||||||
[20:59:42] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
[20:59:42] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
[20:59:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
|
[20:59:42] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
|
||||||
[20:59:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
|
[20:59:42] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[22:44:24] [main/INFO] [GradleStart]: Extra: []
|
||||||
|
[22:44:25] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/krios/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
|
||||||
|
[22:44:25] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[22:44:25] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[22:44:25] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
|
||||||
|
[22:44:25] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:01:16] [main/INFO] [GradleStart]: Extra: []
|
||||||
|
[23:01:16] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/krios/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
|
||||||
|
[23:01:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:01:16] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:01:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
|
||||||
|
[23:01:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:02:06] [main/INFO] [GradleStart]: Extra: []
|
||||||
|
[23:02:07] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/krios/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
|
||||||
|
[23:02:07] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:02:07] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:02:07] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
|
||||||
|
[23:02:07] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:05:15] [main/INFO] [GradleStart]: Extra: []
|
||||||
|
[23:05:15] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/krios/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
|
||||||
|
[23:05:16] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:05:16] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:05:16] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
|
||||||
|
[23:05:16] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:06:10] [main/INFO] [GradleStart]: Extra: []
|
||||||
|
[23:06:10] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/krios/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
|
||||||
|
[23:06:11] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:06:11] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:06:11] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
|
||||||
|
[23:06:11] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:07:52] [main/INFO] [GradleStart]: Extra: []
|
||||||
|
[23:07:53] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/krios/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
|
||||||
|
[23:07:53] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:07:53] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:07:53] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
|
||||||
|
[23:07:53] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:31:04] [main/INFO] [GradleStart]: Extra: []
|
||||||
|
[23:31:04] [main/INFO] [GradleStart]: Running with arguments: [--userProperties, {}, --assetsDir, /home/krios/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker]
|
||||||
|
[23:31:04] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:31:04] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
[23:31:04] [main/INFO] [LaunchWrapper]: Loading tweak class name net.minecraftforge.gradle.GradleStartCommon$GradleStartTweaker
|
||||||
|
[23:31:04] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user