Reinforced Block and Brittle Charcoal fixes

Added fixes for #503 and #436
This commit is contained in:
MauveCloud 2016-05-26 07:43:02 -07:00
parent b2e564412f
commit f5bb397009
2 changed files with 18 additions and 1 deletions

View file

@ -40,7 +40,7 @@ import java.util.Random;
public class GT_Block_Reinforced extends GT_Generic_Block {
public GT_Block_Reinforced(String aName) {
super(GT_Item_Storage.class, aName, new Material(net.minecraft.block.material.MapColor.stoneColor));
super(GT_Item_Storage.class, aName, new GT_Material_Reinforced());
setStepSound(soundTypeStone);
setCreativeTab(GregTech_API.TAB_GREGTECH);
GT_LanguageManager.addStringLocalization(getUnlocalizedName() + ".0.name", "Bronzeplate Reinforced Block");

View file

@ -0,0 +1,17 @@
package gregtech.common.blocks;
import net.minecraft.block.material.MapColor;
import net.minecraft.block.material.Material;
public class GT_Material_Reinforced
extends Material {
public GT_Material_Machines() {
super(MapColor.stoneColor);
setRequiresTool();
setAdventureModeExempt();
}
public boolean isOpaque() {
return false;
}
}