added Blessed Stone with placeholder texture.
This commit is contained in:
Binary file not shown.
BIN
src/assets/divine_equipment/textures/blocks/BlessedStone.png
Normal file
BIN
src/assets/divine_equipment/textures/blocks/BlessedStone.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 928 B |
@@ -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
|
||||||
/*
|
/*
|
||||||
|
|||||||
26
src/divine_equipment/blocks/BlessedRock.java
Normal file
26
src/divine_equipment/blocks/BlessedRock.java
Normal 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");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
package divine_equipment.client;
|
package client;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* User: Orthus
|
* User: Orthus
|
||||||
|
|||||||
Reference in New Issue
Block a user