added Blessed Stone with placeholder texture.

This commit is contained in:
Zachary Daltorio
2013-10-02 05:34:54 -04:00
parent b1a69b7073
commit bbf1280be5
5 changed files with 31 additions and 1 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 928 B

View File

@@ -23,6 +23,7 @@ public class Divine_Equipment
{ {
public static final String modid = "divine_equipment"; public static final String modid = "divine_equipment";
public static Block taintedstone; public static Block taintedstone;
public static Block blessedstone;
@@ -61,6 +62,9 @@ public class Divine_Equipment
taintedstone = new TaintedRock(2550, Material.rock).setUnlocalizedName("Tainted Stone").setTextureName("divine_equipment:TaintedStone"); taintedstone = new TaintedRock(2550, Material.rock).setUnlocalizedName("Tainted Stone").setTextureName("divine_equipment:TaintedStone");
GameRegistry.registerBlock(taintedstone, modid+ taintedstone.getUnlocalizedName().substring(5)); GameRegistry.registerBlock(taintedstone, modid+ taintedstone.getUnlocalizedName().substring(5));
LanguageRegistry.addName(taintedstone, "Tainted Stone"); LanguageRegistry.addName(taintedstone, "Tainted Stone");
blessedstone = new BlessedRock(2551, Material.rock).setUnlocalizedName("Blessed Stone").setTextureName("divine_equipment:BlessedStone");
GameRegistry.registerBlock(blessedstone, modid+ blessedstone.getUnlocalizedName().substring(5));
LanguageRegistry.addName(blessedstone, "Blessed Stone");
// Tainted Tool Material Properties (Subject to Change) // Tainted Tool Material Properties (Subject to Change)
// Name, Harvest Level, Uses, Dig Speed, Damage, Enchantablity // Name, Harvest Level, Uses, Dig Speed, Damage, Enchantablity
/* /*

View File

@@ -0,0 +1,26 @@
package blocks;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.client.renderer.texture.IconRegister;
import net.minecraft.creativetab.CreativeTabs;
/**
* User: Orthus
* Date: 10/1/13
*/
public class BlessedRock extends Block {
public BlessedRock (int par1, Material BlessedRock)
{
super(par1, BlessedRock);
setHardness(1.0F);
setStepSound(Block.soundStoneFootstep);
setUnlocalizedName("Blessed Stone");
setCreativeTab(CreativeTabs.tabBlock);
setTextureName("divine_equipment:Blessed_Stone");
}
}

View File

@@ -1,4 +1,4 @@
package divine_equipment.client; package client;
/** /**
* User: Orthus * User: Orthus