All block textures now work
This commit is contained in:
parent
1475554f8e
commit
94a2229ed7
26 changed files with 568 additions and 59 deletions
|
@ -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";
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue