Updated crate and engineering table textures

This commit is contained in:
Calclavia 2014-01-14 08:19:29 +08:00
parent 4085313f58
commit 961f6a5f05
14 changed files with 8 additions and 9 deletions

View file

@ -38,9 +38,9 @@ public class BlockCrate extends BlockRI
@Override
public void registerIcons(IconRegister iconReg)
{
this.blockIcon = iconReg.registerIcon(Reference.PREFIX + "crate");
this.advanced = iconReg.registerIcon(Reference.PREFIX + "crate_adv");
this.elite = iconReg.registerIcon(Reference.PREFIX + "crate_elt");
this.blockIcon = iconReg.registerIcon(Reference.PREFIX + "crate_wood");
this.advanced = iconReg.registerIcon(Reference.PREFIX + "crate_iron");
this.elite = iconReg.registerIcon(Reference.PREFIX + "crate_steel");
}
@Override

View file

@ -30,14 +30,13 @@ import cpw.mods.fml.relauncher.SideOnly;
public class BlockEngineeringTable extends BlockRI
{
@SideOnly(Side.CLIENT)
private Icon workbenchIconTop;
private Icon iconTop;
@SideOnly(Side.CLIENT)
private Icon workbenchIconFront;
private Icon iconFront;
public BlockEngineeringTable()
{
super("engineeringTable");
setTextureName("crafting_table");
}
@Override
@ -240,7 +239,7 @@ public class BlockEngineeringTable extends BlockRI
@SideOnly(Side.CLIENT)
public Icon getIcon(int par1, int par2)
{
return par1 == 1 ? this.workbenchIconTop : (par1 == 0 ? Block.planks.getBlockTextureFromSide(par1) : (par1 != 2 && par1 != 4 ? this.blockIcon : this.workbenchIconFront));
return par1 == 1 ? this.iconTop : (par1 == 0 ? this.blockIcon : (par1 != 2 && par1 != 4 ? this.blockIcon : this.iconFront));
}
@Override
@ -248,8 +247,8 @@ public class BlockEngineeringTable extends BlockRI
public void registerIcons(IconRegister par1IconRegister)
{
this.blockIcon = par1IconRegister.registerIcon(this.getTextureName() + "_side");
this.workbenchIconTop = par1IconRegister.registerIcon(this.getTextureName() + "_top");
this.workbenchIconFront = par1IconRegister.registerIcon(this.getTextureName() + "_front");
this.iconTop = par1IconRegister.registerIcon(this.getTextureName() + "_top");
this.iconFront = par1IconRegister.registerIcon(this.getTextureName() + "_front");
}
@Override

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB