Fix rubber log texture names and fix treetap texture
This commit is contained in:
parent
c8d43d9c69
commit
b643162dad
5 changed files with 7 additions and 4 deletions
|
@ -87,14 +87,14 @@ public class BlockRubberLog extends Block implements ITexturedBlock {
|
|||
@Override
|
||||
public String getTextureNameFromState(IBlockState iBlockState, EnumFacing enumFacing) {
|
||||
if(enumFacing == EnumFacing.DOWN || enumFacing == EnumFacing.UP){
|
||||
return "techreborn:blocks/rubber_log_side";
|
||||
return "techreborn:blocks/rubber_log_top";
|
||||
}
|
||||
if(iBlockState.getValue(HAS_SAP)){
|
||||
if(iBlockState.getValue(SAP_SIDE) == enumFacing){
|
||||
return "techreborn:blocks/rubber_log_sap";
|
||||
}
|
||||
}
|
||||
return "techreborn:blocks/rubber_log";
|
||||
return "techreborn:blocks/rubber_log_side";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue