Use the striped pipe as the breaked block texture, for now
This commit is contained in:
parent
50030fd815
commit
dbc76521a2
3 changed files with 11 additions and 2 deletions
Before Width: | Height: | Size: 877 B After Width: | Height: | Size: 877 B |
|
@ -902,4 +902,10 @@ public class BlockGenericPipe extends BlockContainer {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Icon getBlockTextureFromSideAndMetadata(int par1, int par2) {
|
||||
return BuildCraftTransport.instance.pipeIconProvider.getIcon(PipeIconProvider.Stripes);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,7 +43,9 @@ public class PipeIconProvider implements IIconProvider {
|
|||
public static final int Power_Normal = 31;
|
||||
public static final int Power_Overload = 32;
|
||||
|
||||
public static final int MAX = 33;
|
||||
public static final int Stripes = 33;
|
||||
|
||||
public static final int MAX = 34;
|
||||
|
||||
private boolean registered = false;
|
||||
|
||||
|
@ -107,6 +109,7 @@ public class PipeIconProvider implements IIconProvider {
|
|||
|
||||
_icons[PipeIconProvider.Power_Normal] = iconRegister.registerIcon("buildcraft:texture_cyan");
|
||||
_icons[PipeIconProvider.Power_Overload] = iconRegister.registerIcon("buildcraft:texture_red_dark");
|
||||
_icons[PipeIconProvider.Stripes] = iconRegister.registerIcon("buildcraft:pipeStripes");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue