Updated crate and engineering table textures
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 4.3 KiB |
After Width: | Height: | Size: 2.3 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 2.5 KiB |
After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 2.4 KiB |