public BlockCore(Material material, String blockName, boolean isMeta) { super(material); this.setBlockName(blockName); // name this.setBlockTextureName(References.MOD_ID +":" + blockName); // texture if (isMeta) GameRegistry.registerBlock(this, ItemBlockWithMetadata.class, blockName); else GameRegistry.registerBlock(this, blockName); }