Fixed ItemIcons on machines
This commit is contained in:
parent
2163092237
commit
9bc9da2fad
7 changed files with 60 additions and 2 deletions
|
@ -101,7 +101,5 @@ public class BlockMachineBase extends BlockContainer{
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,5 +85,15 @@ public class BlockAlloySmelter extends BlockMachineBase {
|
||||||
: (side == metadata ? this.iconFront : this.blockIcon));
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public IIcon getIcon(int side, int metadata)
|
||||||
|
{
|
||||||
|
return metadata == 0 && side == 3 ? this.iconFront
|
||||||
|
: side == 1 ? this.iconTop :
|
||||||
|
side == 0 ? this.iconBottom: (side == 0 ? this.iconTop
|
||||||
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,5 +84,15 @@ public class BlockAssemblingMachine extends BlockMachineBase {
|
||||||
: (side == metadata ? this.iconFront : this.blockIcon));
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public IIcon getIcon(int side, int metadata)
|
||||||
|
{
|
||||||
|
return metadata == 0 && side == 3 ? this.iconFront
|
||||||
|
: side == 1 ? this.iconTop :
|
||||||
|
side == 0 ? this.iconBottom: (side == 0 ? this.iconTop
|
||||||
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,5 +86,15 @@ public class BlockChemicalReactor extends BlockMachineBase {
|
||||||
: (side == metadata ? this.iconFront : this.blockIcon));
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public IIcon getIcon(int side, int metadata)
|
||||||
|
{
|
||||||
|
return metadata == 0 && side == 3 ? this.iconFront
|
||||||
|
: side == 1 ? this.iconTop :
|
||||||
|
side == 0 ? this.iconBottom: (side == 0 ? this.iconTop
|
||||||
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -81,4 +81,14 @@ public class BlockImplosionCompressor extends BlockMachineBase{
|
||||||
side == 0 ? this.iconBottom: (side == 0 ? this.iconTop
|
side == 0 ? this.iconBottom: (side == 0 ? this.iconTop
|
||||||
: (side == metadata ? this.iconFront : this.blockIcon));
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public IIcon getIcon(int side, int metadata)
|
||||||
|
{
|
||||||
|
return metadata == 0 && side == 3 ? this.iconFront
|
||||||
|
: side == 1 ? this.iconTop :
|
||||||
|
side == 0 ? this.iconBottom: (side == 0 ? this.iconTop
|
||||||
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,5 +86,15 @@ public class BlockLathe extends BlockMachineBase {
|
||||||
: (side == metadata ? this.iconFront : this.blockIcon));
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public IIcon getIcon(int side, int metadata)
|
||||||
|
{
|
||||||
|
return metadata == 0 && side == 3 ? this.iconFront
|
||||||
|
: side == 1 ? this.iconTop :
|
||||||
|
side == 0 ? this.iconBottom: (side == 0 ? this.iconTop
|
||||||
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,5 +85,15 @@ public class BlockPlateCuttingMachine extends BlockMachineBase {
|
||||||
: (side == metadata ? this.iconFront : this.blockIcon));
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SideOnly(Side.CLIENT)
|
||||||
|
public IIcon getIcon(int side, int metadata)
|
||||||
|
{
|
||||||
|
return metadata == 0 && side == 3 ? this.iconFront
|
||||||
|
: side == 1 ? this.iconTop :
|
||||||
|
side == 0 ? this.iconBottom: (side == 0 ? this.iconTop
|
||||||
|
: (side == metadata ? this.iconFront : this.blockIcon));
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue