New grate texture
|
@ -14,8 +14,7 @@ import cpw.mods.fml.relauncher.SideOnly;
|
|||
|
||||
public class BlockGrate extends BlockRotatable
|
||||
{
|
||||
private Icon drainIcon;
|
||||
private Icon fillIcon;
|
||||
private Icon iconFront;
|
||||
|
||||
public BlockGrate(int id)
|
||||
{
|
||||
|
@ -32,8 +31,7 @@ public class BlockGrate extends BlockRotatable
|
|||
@Override
|
||||
public void registerIcons(IconRegister iconRegister)
|
||||
{
|
||||
this.drainIcon = iconRegister.registerIcon(Reference.PREFIX + "grate_drain");
|
||||
this.fillIcon = iconRegister.registerIcon(Reference.PREFIX + "grate_fill");
|
||||
iconFront = iconRegister.registerIcon(Reference.PREFIX + "grate_front");
|
||||
super.registerIcons(iconRegister);
|
||||
}
|
||||
|
||||
|
@ -55,7 +53,7 @@ public class BlockGrate extends BlockRotatable
|
|||
{
|
||||
if (side == 1)
|
||||
{
|
||||
return drainIcon;
|
||||
return iconFront;
|
||||
}
|
||||
|
||||
return blockIcon;
|
||||
|
@ -71,7 +69,7 @@ public class BlockGrate extends BlockRotatable
|
|||
{
|
||||
if (dir == ((TileGrate) entity).getDirection())
|
||||
{
|
||||
return drainIcon;
|
||||
return iconFront;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Before Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.4 KiB |
After Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 2.3 KiB |