OSDN Git Service

ファイルパス色々変更。
[chemicraft/chemicraft.git] / common / pcc / chemicraft / ChemiCraft.java
index b7945ba..828960a 100644 (file)
@@ -5,10 +5,12 @@ import pcc.chemicraft.util.Auxiliary;
 import pcc.chemicraft.util.Auxiliary.ArrayAuxiliary;
 import pcc.chemicraft.util.Auxiliary.MathAuxiliary;
 import pcc.chemicraft.util.Auxiliary.NameAuxiliary;
-import cpw.mods.fml.common.event.FMLPostInitializationEvent;
+import cpw.mods.fml.common.event.FMLStateEvent;
 
-public abstract class ChemiCraft implements Runnable
-{
+/**
+ * @author P.C.C
+ */
+public abstract class ChemiCraft implements Runnable {
 
        /**
         * this is Thread on ChemiCraft.
@@ -18,7 +20,7 @@ public abstract class ChemiCraft implements Runnable
        /**
         * the Event Instance.
         */
-       protected FMLPostInitializationEvent event;
+       protected FMLStateEvent event;
 
        /**
         * API Instance and Data Instance.
@@ -37,20 +39,13 @@ public abstract class ChemiCraft implements Runnable
        /**
         * this is Textures Path on ChemiCraft.
         */
-       public static final String ITEM_ATOMS_TEXTURE = "/pcc/chemicraft/items/Atoms.png";
-       public static final String ITEM_COMPOUNDS_TEXTURE = "/pcc/chemicraft/items/Compounds.png";
-       public static final String ITEM_VEGETABLES_TEXTURE = "/pcc/chemicraft/items/Vegetables.png";
-       public static final String ITEM_TEXTURE = "/pcc/chemicraft/items/items.png";
-       public static final String BLOCK_CHEMICAL_CRAFTING_TABLE_TEXTURE = "/pcc/chemicraft/blocks/cctable.png";
-       public static final String BLOCK_ATOMS_ORE_TEXTURE = "/pcc/chemicraft/blocks/AtomsOre.png";
-       public static final String BLOCK_VEGETABLES_TEXTURE = "/pcc/chemicraft/blocks/Vegetables.png";
-       public static final String GUI_PYROLYSIS_TEXTURE = "/pcc/chemicraft/guis/Pyrolysis.png";
-       public static final String GUI_ELECTROLYSIS_TEXTURE = "/pcc/chemicraft/guis/Electrolysis.png";
-       public static final String GUI_CHEMICALCOMBINATION_TEXTURE = "/pcc/chemicraft/guis/ChemicalCombination.png";
-       public static final String GUI_TOOLANDWEAPONCRAFTING_TEXTURE = "/pcc/chemicraft/guis/ToolAndWeaponCrafting.png";
-       public static final String GUI_CHEMICALCRAFTING_TEXTURE = "/pcc/chemicraft/guis/MaterialCrafting.png";
-       public static final String ENTITY_PARTICLE_TEXRURE = "/pcc/chemicraft/entityParticles/dust.png";
-
-       protected abstract void settingProcessing(final FMLPostInitializationEvent event);
+       public static final String ITEM_TEXTURE = "ChemiCraft:";
+       public static final String BASE_PATH = "mods/ChemiCraft/textures";
+       public static final String GUI_PYROLYSIS_TEXTURE = BASE_PATH + "/guis/Pyrolysis.png";
+       public static final String GUI_ELECTROLYSIS_TEXTURE = BASE_PATH + "/guis/Electrolysis.png";
+       public static final String GUI_CHEMICALCOMBINATION_TEXTURE = BASE_PATH + "/guis/ChemicalCombination.png";
+       public static final String GUI_TOOLANDWEAPONCRAFTING_TEXTURE = BASE_PATH + "/guis/ToolAndWeaponCrafting.png";
+       public static final String GUI_CHEMICALCRAFTING_TEXTURE = BASE_PATH + "/guis/MaterialCrafting.png";
+       public static final String ENTITY_PARTICLE_TEXRURE = BASE_PATH + "/entityParticles/dust.png";
 
 }
\ No newline at end of file