Fix solar panel bottom
This commit is contained in:
parent
02ff95c60c
commit
3d06e7b4e1
3 changed files with 39 additions and 10 deletions
|
@ -53,6 +53,8 @@ public class BlockSolarPanel extends BaseTileBlock implements ITexturedBlock {
|
|||
boolean isActive = state.getValue(ACTIVE);
|
||||
if(side == EnumFacing.UP){
|
||||
return prefix + "solar_panel_top_" + (isActive ? "on" : "off");
|
||||
} else if(side==EnumFacing.DOWN){
|
||||
return prefix + "machine_bottom";
|
||||
}
|
||||
return prefix + "solar_panel_side_" + (isActive ? "on" : "off");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue