All block textures now work

This commit is contained in:
modmuss50 2015-11-27 19:54:34 +00:00
parent 1475554f8e
commit 94a2229ed7
26 changed files with 568 additions and 59 deletions

View file

@ -9,7 +9,7 @@ import techreborn.Core;
import techreborn.client.GuiHandler;
import techreborn.tiles.TileQuantumTank;
public class BlockQuantumTank extends BlockMachineBase {
public class BlockQuantumTank extends BlockMachineBase implements IAdvancedRotationTexture {
public BlockQuantumTank() {
@ -33,4 +33,26 @@ public class BlockQuantumTank extends BlockMachineBase {
return true;
}
private final String prefix = "techreborn:/blocks/machine/";
@Override
public String getFront(boolean isActive) {
return prefix + "ThermalGenerator_other";
}
@Override
public String getSide(boolean isActive) {
return prefix + "ThermalGenerator_other";
}
@Override
public String getTop(boolean isActive) {
return prefix + "quantum_top";
}
@Override
public String getBottom(boolean isActive) {
return prefix + "ThermalGenerator_other";
}
}