Added connected textures to advanced machine casing.
This commit is contained in:
parent
fcec162559
commit
d942e6f52e
3 changed files with 68 additions and 70 deletions
|
@ -1,7 +1,5 @@
|
|||
package techreborn.client.texture;
|
||||
|
||||
import net.minecraft.util.IIcon;
|
||||
|
||||
public class ConnectedTexture {
|
||||
|
||||
private boolean up, down, left, right;
|
||||
|
|
|
@ -44,10 +44,10 @@ public class ConnectedTextureGenerator extends TextureAtlasSprite {
|
|||
if(y >= 14 && connectedTexture.isDown()){
|
||||
new_data[i] = edge_data[i];
|
||||
}
|
||||
if(x <= 1 && connectedTexture.isLeft()){
|
||||
if(x <= 1 && connectedTexture.isRight()){
|
||||
new_data[i] = edge_data[i];
|
||||
}
|
||||
if(x >= 14 && connectedTexture.isRight()){
|
||||
if(x >= 14 && connectedTexture.isLeft()){
|
||||
new_data[i] = edge_data[i];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue