Merge pull request #348 from ProfessorProspector/1.8.9
Fix rubber wood texture names (for real this time) and electronic circuit textures
This commit is contained in:
commit
e6b4a9cb44
6 changed files with 9 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
|
||||
|
|
|
@ -32,12 +32,15 @@ public class ItemTreeTap extends Item implements ITexturedItem {
|
|||
|
||||
@Override
|
||||
public boolean showDurabilityBar(ItemStack stack) {
|
||||
return true;
|
||||
if(stack.getMetadata()!=0){
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTextureName(int damage) {
|
||||
return "techreborn:items/tool/rockcutter";
|
||||
return "techreborn:items/tool/treetap";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -573,6 +573,8 @@ item.techreborn.part.thickNeutronReflector.name=Thick Neutron Reflector
|
|||
item.techreborn.part.rubberSap.name=Sap
|
||||
item.techreborn.part.rubber.name=Rubber
|
||||
item.techreborn.part.scrap.name=Scrap
|
||||
item.techreborn.part.electronicCircuit.name=Electronic Circuit
|
||||
item.techreborn.part.advancedCircuit.name=Advanced Electronic Circuit
|
||||
|
||||
#Tools
|
||||
item.techreborn.rockcutter.name=Rockcutter
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 895 B |
Binary file not shown.
Before Width: | Height: | Size: 838 B After Width: | Height: | Size: 895 B |
Binary file not shown.
After Width: | Height: | Size: 838 B |
Loading…
Add table
Reference in a new issue