OSDN Git Service

(・∀・)
[chemicraft/chemicraft.git] / common / pcc / chemicraft / base / ore / BlockAtomOres.java
index 1a38df1..96bb8bb 100644 (file)
@@ -6,6 +6,7 @@ import net.minecraft.block.Block;
 import net.minecraft.block.material.Material;
 import net.minecraft.creativetab.CreativeTabs;
 import net.minecraft.item.ItemStack;
 import net.minecraft.block.material.Material;
 import net.minecraft.creativetab.CreativeTabs;
 import net.minecraft.item.ItemStack;
+import net.minecraft.util.Icon;
 import pcc.chemicraft.base.ChemiCraftBase;
 import pcc.chemicraft.core.ChemiCraftCore;
 import cpw.mods.fml.relauncher.Side;
 import pcc.chemicraft.base.ChemiCraftBase;
 import pcc.chemicraft.core.ChemiCraftCore;
 import cpw.mods.fml.relauncher.Side;
@@ -22,10 +23,12 @@ public class BlockAtomOres extends Block {
                this.setCreativeTab(ChemiCraftBase.instance.creativeTabAtomsOre);
        }
 
                this.setCreativeTab(ChemiCraftBase.instance.creativeTabAtomsOre);
        }
 
+       /* 一時保留。詳しい事が決まらないと、変更が難しいため。 --WIP--
        @Override
        @Override
-       public int getBlockTextureFromSideAndMetadata(int par1, int par2) {
+       public Icon getBlockTextureFromSideAndMetadata(int par1, int par2) {
                return (this.blockID - ChemiCraftBase.instance.atomOresID[0]) * 16 + par2;
        }
                return (this.blockID - ChemiCraftBase.instance.atomOresID[0]) * 16 + par2;
        }
+       */
 
        @Override
        public int damageDropped(int par1) {
 
        @Override
        public int damageDropped(int par1) {
@@ -48,9 +51,4 @@ public class BlockAtomOres extends Block {
                }
        }
 
                }
        }
 
-       @Override
-       public String getTextureFile() {
-               return ChemiCraftCore.instance.BLOCK_ATOMS_ORE_TEXTURE;
-       }
-
 }
 }